cancel
Showing results for 
Search instead for 
Did you mean: 

How status of boot0 pin to jump application from bootloader

samir oulahrir
Associate II

Hi everybody,

I'm trying to implement IAP to jump from bootloader to my application on stm32h743 target.

I m trying to use example code STM32H743-EVAL from ST without success.

I think, i set correctly both linker file, remmaping of VECT_TAB_OFFSET etc.

My question is, what should be the status of boot0 pin ? In my case, it is connected to ground.

Do you have any idea or suggest ?

Thank you

Samir

10 REPLIES 10
Uwe Bonnes
Principal III

Jump to bootloader has been discussed many time before. Best way is to do it is in the start up code. Search the archive.

It's no jump to bootlooder what i want but jump from bootloader (0x08000000) to user app (@adress defined) !

samir oulahrir
Associate II

any idea about what i can't satisfied this condition :

if (( (*(__IO uint32_t*)0x08060000) & 0x2FFE0000 ) == 0x20000000)

Regards

Where is your stack situated? This is a crude test for a stack in RAM 0x20000000..0x2001FFFC

Clearly that won't work for RAM at 0x24000000 or 0x30000000

Adjust the test based of what's actually valid in your situation

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

My RAM start @0x200000000 and end @0x20020000 !

And my flash start @0x08060000

0x20020000 will fail the test, 0x2001FFFC will not.

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

Do you mean i should change value un linker script ?

I will try...

Well that, or broaden the test so the value is accepted.

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