Olimex Support Forum

ARM => JTAG => Topic started by: sailorXY on June 29, 2021, 11:29:38 am

Title: OpenOCD Settings in CubeMXIDE Debugger Launch settings
Post by: sailorXY on June 29, 2021, 11:29:38 am
Dear Olimex-Team or experienced Users,

I'm new in the JTAG enabled Programming/Debugging of the Olimex boards (STM32-H405). Up to now I only used it with MicroPython - but now I need native C-Programming for better performance.

I made my program in CubeMX/CubeMXIDE and wanted to program/debug it with the OLIMEX-USB-TINY-H JTAG dongle. I was able to install the win32-USB drivers (in WIN10) and also the openocd program. Unfortunately the provided Board config script:

C:\OlimexODS\openocd-0.6.1\scripts\board\olimex_stm32_h407.cfg

is not readable by CubeMXIDE?

What else I need to configure for the openocd program in the options box?
Is there any special settings in CubeMX - e.g. "Debug: Serial Wire" in the SYS configuration?

Thanks for your help.

Mario
Title: Re: OpenOCD Settings in CubeMXIDE Debugger Launch settings
Post by: LubOlimex on July 06, 2021, 10:48:25 am
Did you refer to chapter "3.8 STM32CubeIDE" from the manual? Page 25.