cancel
Showing results for 
Search instead for 
Did you mean: 

Is the bin file created by the STM32CubeIDE compatible with the STMicro IAP coding example?

Rstua.1
Senior

I want to be able to copy the STM32CubeIDE bin file to an SDCard and have the IAP read that bin file directly to reprogram the STMicro processor's flash memory.

1 REPLY 1

Make sure the address basis you create the project/binary for in CubeIDE (ie linker script, SCB->VTOR setting) matches those expected by the IAP loader for the MCU you are using.

For example if the IAP takes 32KB, and it expects the firmware binary to start at 0x08008000, make sure you build using those expectations.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..