Olimex STM32-E407 code example and use of JTag ARM-USB-OCD-H

Started by lim, October 29, 2020, 03:51:55 am

Previous topic - Next topic


Does anyone know where I can get or share a sample of code for Olimex STM32-E407, please?

I am a bit confused by using code generated by STM32CubeMX, where I am lost how do I compile it? and then Flash it through Tag ARM-USB-OCD-H for debugging. I think I am lost.

Any help will be appreciated.


I've recently added a section for STM32CubeMX in the user's manual of ARM-USB-OCD-H. Refer to chapter "3.8 STM32CubeIDE" on pages 28 and 29 here:


Basically you need to first start OpenOCD GDB server and then make STM32CubeIDE connect to the OpenOCD GDB server.

About examples - we don't provide examples for STM32CubeMX ourselves, but there seems to be several customer-made projects available online. Make sure to google for "STM32-E407 STM32CubeMX" and check what is out there.
Technical support and documentation manager at Olimex


You are absolutely right. Can you or do you know the way to set up that, please?