IMPORTANT: Working on the STM32G0 nucleo with STM32CubeIDE
- October 15, 2020
- 1 reply
- 1048 views
Hi everybody,
This message is to inform users who wish to work with the new STM32G0 nucleo application template (or online application demos) available in TouchGFX Designer.
If you wish to debug or run on target with STM32CubeIDE, you will need to manually add the external loader to the STM32CubeIDE installation folder. This step is necessary to have CubeIDE aware of its existence.
Here are the steps:
- create a project from TouchGFX Designer with the STM32G0 application template (or an online application template with a G0 demo)
- generate code in TouchGFX Designer
- open the project folder and go the gcc folder
- copy the external loader: MX25L6433F_STM32G071B_NUCLEO.stdlr (can be a different stdlr but the MX25 is preferred)
- go to this folder: C:\ST\STM32CubeIDE_1.4.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.4.0.202007081208\tools\bin\ExternalLoader
- paste the external loader in this folder
- open the CubeIDE project
- select the "Run" tab, go in the "Debug Configurations" option
- in the new window, select the "Debugger" tab, scroll down
- in the "Misc" section, click on scan and look for the MX25 external loader
- apply, and now you can debug and run on target
I have attached pictures in a zip file to help you with the steps.
/Romain
