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.

Smart RF flash programmer

Other Parts Discussed in Thread: CC2530

I have a custom designed hardware with CC2530. There are 2 images to be loaded, OADBoot and an modified RouterApp. When I use IAR 8051 to rebuild and download these images to chip it works fine. But in field where I try to download these images with SmartRF flash programmer I face following error when trying to download the RouterApp. I don't know If I have chosen the right Action from the list:

For generating HEX files, I used IAR 8051 with following settings in Linker section:

  

   

But Generated output hex files have conflicting memory locations, the OADBoot.hex starts from memory location 0x0000 to 7F00:

:1007F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF09
:040000050000075F91
:00000001FF

The RouterApp hex file starts from memory location 0x8000 to 0x7F00.

:10C7F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF49
:04000005000014B62D
:00000001FF

What's the right settings to have both these OADBoot.hex and RouterApp.HEX download being succesful with smartRF flash programmer?

  • 1. You have to fix memory conflict by modifying linker scripts of your OATBoot and RouterApp.
    2. After generate new hex file of both, you have to merge them together. You can use hex editor such as UltraEditor to copy hex of RouterApp into OADBoot to get a merged hex.
    3. Use merged hex to download by Flash Programmer.