Dear all, using STM32F030C8 embedded system memory bootl-oader, why the micro-controller immediately reset after jumping to the system memory boot-loader then enters the application again ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-21 1:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-21 5:48 AM
Probably because VTOR is still pointing to the program. Before jumping to system memory boot-loader , a lot of things need to be unset. It is easier to set some mark e.g. in uninitialized RAM, do a real reset and check at the beginning of the startup code if that mark is set. If set, unset mark and jump to bootloader.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-21 6:31 AM
Detailed description of this principle in my post there:
The described custom bootloader code can instead be added to application for jumping from application to system memory bootloader.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-21 9:08 AM
Pretty sure the F0 doesn't have a VTOR to change, you have to remap the ROM properly and turn off all you interrupting sources.
#MillionWaysToFail
Up vote any posts that you find helpful, it shows what's working..
