March 3, 2025

STM32F429 Discovery Kit - Try a bare metal F411 demo

My examination of addresses and such on the F429 documents leads me to believe that I have a good chance of just being able to run one of my F411 bare metal demos "as-is". So I decide to try it.

I have dumped the contents of flash as shipped to me, so I am ready to take the frightening step of writing over the top of it.
I do this:

cd Projects
cd STM32/Black_pill/Archive/serial1
make
make flash
Info : STLINK V2J36M26 (API v2) VID:PID 0483:374B
Info : [stm32f4x.cpu] Cortex-M4 r0p1 processor detected
Info : [stm32f4x.cpu] target has 6 breakpoints, 4 watchpoints
[stm32f4x.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x080b2ab4 psp: 0x200212e0
[stm32f4x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080f8bc4 msp: 0x2002f080
** Programming Started **
Info : device id = 0x20036419
Info : flash size = 2048 KiB
Info : Dual Bank 2048 kiB STM32F42x/43x/469/479 found
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
The display goes blank. The Green LED is no longer flashing.

Serial traffic -- it works!!

I open another window and run:
picocom -b 115200 /dev/ttyACM0
....
Testing 282
Testing 283
Testing 284
And there it goes, running as it did on the F411
Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org