cancel
Showing results for 
Search instead for 
Did you mean: 

Problem downloading to last byte of flash with STMCubeIDE/STM32CubeProgrammer

TKlaf.1
Associate

Hi,

I am experiencing problems downloading an application to flash.

The app is the standard sample app generated by CubeIDE (1.1.0) when selecting a nucleo 429ZI.

I added a 4 byte checksum in the "flash" linker script to be placed at end the of pysical flash (0x800fffc) which shows up correctly in the elf.

Trying to start the app in the debugger...

1)Using the default gdb setup, the download fails after an apparent timeout (the gdb logfile can be found in the attached zip.

The error in the gdb log somehow indicates a problem with STM32CubeProgrammer.

2) Using the OpenOCD driver the download succeeds.

3) Placing the checksum at a different location the download succeeds with STM32CubeProgrammer.

I would be gratefull if somebody could have a look at this issue and verify if this is a problem of the programmer or suggest a workaround.

Thanks

Tobi

0 REPLIES 0