2021-03-22 10:22 AM
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.
2021-03-22 11:11 AM
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.