cancel
Showing results for 
Search instead for 
Did you mean: 

IMPORTANT: Working on the STM32G0 nucleo with STM32CubeIDE

Romain DIELEMAN
ST Employee

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

1 REPLY 1
TJM
Senior

This did the trick to make the example code for the X-NUCLEO-GFX01M1 board work just fine. Slightly different for v1.4.0 of the CubeIDE, though. In the Debugger panel, ST-LINK (ST-LINK GDB Server) needs to be chosen. That opens a panel at the bottom of the options to choose the external G071 loader that was copied into the plugins folder from the example code directory. I'm using the Linux version of the IDE and that may account for the minor differences.

Thanks,

tjm