IAP for STM32F0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-10-08 12:10 AM
Dear Friends,
I read document AN4065 of ST. it told that use must configure 2 conditions for application code, I understand condition setting linker 0x08003000 for KEIL compiler.Does anyone help me explain condition 2 about Relocate vector table? How can we do that? Do we need modify in Compiler KEIL? User program conditionsThe user application to be loaded into the Flash memory using IAP should be built with the following configuration settings:1. Set the program load address at 0x08003000, using the toolchain linker file.2.Relocate the vector table at address 0x20000000 (reserve 48 word starting in RAM @
0x20000000 ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-10-08 1:33 AM
Hi toan,
This means create an array of 48 words that is mapped at adress 0x20000000 (initial RAM address) and then copy the vector table starting from 0x08003000 to the already created arrayMCU Lüfter- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-10-08 2:01 AM
Dear friends,
You can make examples of this code. I'm not clear so much.Create one array 48 words, I can do like this in my application code:How about map to address 0x20000000 and ''copy the vector table starting from 0x08003000 to the already created array''. You can type some C code in reply that help me a lot.Thanks and Best Regards,Toan Thieu- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-10-08 4:03 AM
Dear Lüfter
Could you kindly give me more explanation? I'm really confused right now how to do your mention.Thanks and Best regards,- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-10-08 4:26 AM
Review the source related to the application note.
STM32F0xx_AN4065_FW_V1.0.0\Project\STM32F0xx_IAP\binary_templateUp 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
2012-10-08 10:29 PM
Dear Clive1
Excellent, thank you so much for supports.Best Regards,Toan Thieu- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-21 10:01 PM
Dear Clive1,
The below link seems to be disabled now. Can you please send the new link for this firmware.Thank youRohit- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-22 5:28 AM
A quick Google pull this up
http://www.st.com/web/en/catalog/tools/PF258152
Up vote any posts that you find helpful, it shows what's working..
