How many times did you wonder: "Oh, my sketch is hanged, but in which part of the code ? ". So, I wrote a small software that combines the ST-Link + OpenOCD in a graphical enviroment for using a computer mouse instead of writing a lot of commands in a terminal window.
How to use
- Select the ELF file of your compiled sketch. Click on that button and select the folder that is named "arduino_build_XXXXXX" where XXXXXX is a number that is generated by the Arduino IDE. If your sketch name is "blink_STM32.ino" then the elf file is named as "Blink_stm32.ino.elf"
- Select the folder where your project is saved (the folder that your .ino file is saved).
- Select the file arm-none-eabi-gdb.exe. Normally, that file is in that folder:
Code: Select all
- Reboot the MCU
- Pause the program execution
- Continue the program execution
- Informs us to where the program execution is paused. The picture above show us that the program is paused at the "start.S" file, at the line 51.
- Click on that link to open that file. I prefer the notepad++
- The link to my web site
The software is tested only in Windows 10. I would like to see any feedback from you.
-= EDIT =-
New cross platform version is available on Windows and Linux