AnsweredAssumed Answered

Different jump address for STM32F429?

Question asked by deschambault.robert on Mar 10, 2015
Latest reply on Mar 10, 2015 by Clive One
Hi,

I have a legacy boot loader that was developed on an STM32F407.  There is a line of code that computes the JumpAddress before it jumps to the main application.  The line is:

    JumpAddress = *(__IO uint32_t *)(vectorAddress + 4);

I am running the code on an STM32F429, but the boot loader project is set to a 407.  My main application is running at 0x8020000.  When I compile the code for a 407, the jump is calculated correctly (0x8020559), but when I compile the main application code to use a 429, the jump address is totally out to lunch, something like 0xF6Cxxxxxx.  How would the boot loader know that the main application has been compiled for a 429?  My best guess is that I should be compiling my boot loader to use a 429.  Any words of wisdom?

Thanks,
Bob

Outcomes