Hi,
I'm a newbie currently programming my first firmware ever on the TI chipcon CC1110F32 using KEIL uVision3 compiler.
I need to write a firmware update routine so I have some questions about the way things work:
If you have answers to any of these questions I will be grateful.
1)Does the compiler I mentioned build RELATIVE code so that if I'll
make it run from one base location or another it will work properly?
2)How come that the .HEX file that is created by the compiler is larger
than the sum of sizes of data,xdata and code sizes mentioned by the
compiler?
3)How come that when I do a "Read flash into hex file" using TI SmartRF
Flash programmer I get a 90KB hex file which is larger than the 32+4 KB
the chip has?
4)How do I create an even byte alignment to a function with the compiler mentioned?
5)When I burn the hex file to the chip how do I know from what base address the code starts to run from?
6) Is the code burnt to the flash fragmented or in one chunck?
7) When I write/erase to flash memory from the program FROM FLASH using the DMA what happens to the pages my program is written on,how does it continue working if I erase it(strange question)?
thanks