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 ).
2012-10-08 01: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üfter2012-10-08 02: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 Thieu2012-10-08 04: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,2012-10-08 04:26 AM
Review the source related to the application note.
STM32F0xx_AN4065_FW_V1.0.0\Project\STM32F0xx_IAP\binary_template2012-10-08 10:29 PM
Dear Clive1
Excellent, thank you so much for supports.Best Regards,Toan Thieu2015-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 youRohit2015-12-22 05:28 AM
A quick Google pull this up
http://www.st.com/web/en/catalog/tools/PF258152