2 years, 6 months ago.

uploading/flashing demonstration software to STM32F429I-DISC1

I am trying to flash/load the demonstration software for the STM32F429I-DISC1 back on the board. @Maxime TEISSIER, thank you for your post explaining where to find the demonstrations. link here

In the folder mentioned ( \Projects\STM32F429I-Discovery\Demonstrations\ ) I find STM32CubeDemo_STM32F429I-Discovery_1.4.7.hex In addition I have also downloaded en.stsw-stm32138.zip which contains \en.stsw-stm32138\STM32F429I-Discovery_FW_V1.0.1\Projects\Demonstration\Binary a demonstration STM32F429I-DISCOVERY_Demo_V1.0.1.hex

However, in both cases when I try to upload/flash the compiled binary to the F429I-DISC1 I get an error: There is not enough space on DIS_F429ZI. You need an additional 776 KB to copy these files.

Is it not possible to load these hex files in the same way as the mbed online compiled .bin binaries? What is the proper method here? In case I need to generate a .bin, how do I get this source code into mbed online?

Many thanks in advance Jesse

1 Answer

2 years ago.

I've got it using openocd tool under platformio (but you can use openocd as usual):

~/.platformio/packages/tool-openocd/bin/openocd \
-s ~/.platformio/packages/tool-openocd \
-f scripts/board/stm32f429discovery.cfg \
-c "program {/tmp/STM32F429I-DISCOVERY_Demo_V1.0.1.hex} verify reset ; shutdown;"

Previously, I had to upgrade the on-board ST-LINK programmer of my STM32F429I-DISC1: Look for STSW-LINK007 utility (ST > discovery kits > your board > Tools & Software). You also could be interested in download the binary demonstration from your board > Resources > Compiled demos.