cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding IAP internal flash switching

ramasubbu
Associate II
Posted on November 15, 2017 at 12:37

Hello all,

I am using stm32f407 microcontroller for my application.

For IAP

I have chosen 1 Megabyte flash memory chip, i will separate this into two 512 kb regions.One region will be having my running application,another region will be used to write the the downloaded application from uart ( IAP).

first region address range will be (0x08000000 - 0x0807FFFF)

second region address range will be (0x08080000 - 0x080F FFFF)

how to to switch the booting address from one region to another region

What are the things i have consider to do this

For this is it necessary to relocate the vector table 

3 REPLIES 3
Posted on November 15, 2017 at 15:32

Code and vector table need to reflect the address code is placed for execution.

You would need to transfer control to the 0x08080000 image from your earlier code.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 16, 2017 at 06:07

Hi,

Ok once i have changed that address and execute the downloaded application

if power reboot happens then what will be the starting address is it(0x00000000) or (

0x08080000)

Posted on November 16, 2017 at 09:28

The base of FLASH 

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