This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Locating numerous copies of the code in the memory?

Hi,
I will really appreciate your help with the following problem.

I wrote a program and I need to locate 2 copies of it in the memory of a CC1110 chip at 2 absolute,predefined addresses.Each of this copies need to have some kind of header before them containing data about the copy such as the version. Then I need to write a small function that will be the startup code that will check which of the copies is more recent and do an absolute jump to the beginning of the more recent copy.

So:
1)How do I locate the code to begin at an absolute address? is the code generated relative to this point?I understand it has to do with the BL51..I just don't understand how to use it...
2)How can I add the header data before that image?
3)How do I create the bootloader/startup code? Do I need to change the automatically generated startup code generated by the compiler?

I'll be grateful for your assistance.