Solved
Download verification failure when using .elf generated from STMCubeIDE
- January 17, 2024
- 4 replies
- 3453 views
Hello, everytime I try to download a file (in STM32CubeProgrammer) that was generated using STM32CubeIDE I get a data mismatch error at address 0x08000004.
Interestingly, if I write a simple blink sketch using the arduino IDE and upload that it works fine (And arduino is set to use STM32CubeProgrammer to upload - when in boot mode of course). So I can take either the .elf or .bin that the Arduino IDE generates and upload just fine with STM32CubeProgrammer but NOT a .elf file that I create using STM32CubeIDE.
I'm completely new to STM32 so any ideas on where I should look would be appreciated.
