Regarding IAP internal flash switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-15 03:37 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-15 06:32 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-15 10:07 PM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-16 01:28 AM
The base of FLASH
Up vote any posts that you find helpful, it shows what's working..
