DFU example for Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-28 12:32 PM
I want to test out the DFU on STM32F429ZI-Nucleo
I have located the Boot loader project.
STM32F429ZI-Nucleo\Applications\USB_Device\DFU_Standalone
In order to have this Bootloader Jump into the App. Do I simply change the
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 2048K
of any STM example ?
or there is more to it ?
Solved! Go to Solution.
- Labels:
-
Bootloader
-
Flash
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-28 2:33 PM
Thanks. Found it "VECT_TAB_OFFSET", change this to match FLASH, it works now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-28 1:07 PM
Well you'd want to shrink the size of the loader, and advance the origin on the application, so there is a suitable split between them.
On the app side you'd need to fix up the vector table address set into SCB->VTOR to match the new origin.
The new origin should be on a flash sector boundary, which will also be on a 512-byte boundary in this case, which is what the VTOR register needs.
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
‎2020-07-28 2:07 PM
I updated the ld file for memory
FLASH (rx) : ORIGIN = 0x8008000, LENGTH = 2016K
But I could not find where to change the "vector table address set into SCB->VTOR"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-28 2:10 PM
Usually SystemInit() in system_stm32f4xx.c, or grep
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
‎2020-07-28 2:33 PM
Thanks. Found it "VECT_TAB_OFFSET", change this to match FLASH, it works now.
