can any one help me with a solution for the query in th above thread
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
can any one help me with a solution for the query in th above thread
Hi Praneet,
My Application has already exceeded the RAM size, to avoid that we moved some of our functions to bootloader, which can be handled there .(because of this bootloader size exceeds 16K) Currently the same is working in CCS. But I want to port it to IAR there I dnt know how to change the entry point ??
Thanga Raj, I'm not sure how you did it in CCS - The only way I could think of doing it is by:
- not having the application bootloader @ 0x20000000 - 0x20004000, and having it @ 0x20004000 - 0x2000C000 assuming your bootloader is of 32K. On IAR, you should change the SRAM section of the application bootloader's *.icf file
define region SRAM = mem:[from 0x20004000 to 0x2000C000];
If you are setting the image offset in your bootloader, make sure you set it to 0x2000C000 (Assumption: bootloader is of 32K)
- having your application code @ 0x2000C000 - 0x2003FFFF. On IAR, this can be done by defining the SRAM region in *.icf file of your application.
define region SRAM = mem:[from 0x2000C000 to 0x200#FFFF];
Note that the initial16KB that's shared b/w application & bootloader and the 32K (assumption) where the secondary bootloader is hosted, can be used for application's data after the program is loaded.
-/Praneet
((void(*)(void))(0x2000E001))();
Like this we are calling to start our secondary bootloader ?
Do the same we need to do in IAR