Skip to main content
NH_it
Associate II
June 10, 2020
Question

How to jump Application Address

  • June 10, 2020
  • 1 reply
  • 836 views

I use STM32F205 series

Flash Area is as follow

: 0x80000000 ~ : Boot Area

: 0x8000C000 ~ : Application Area.

I need to solution how to jump Application area in Boot area source.

Example,

Now, state is Boot Area ( DFU )

, Enter for jump application ( ex. push button or check special memory) status

, How to make jumping Application ?

Please give advice or example source.

Thanks for your support.

This topic has been closed for replies.

1 reply

berendi
Principal
June 10, 2020

> Flash Area is as follow

> : 0x80000000 ~ : Boot Area

> : 0x8000C000 ~ : Application Area.

No. Check your memory map. It's more likely

: 0x08000000 ~ : Boot Area

: 0x0800C000 ~ : Application Area.

Then cast the reset vector address to a pointer to a pointer to a function, and dereference it.

(*((void (**)(void))0x0800C004))();