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.

CC2541: How to compile an image including SBL without a physical device?

Part Number: CC2541


Hi,

I've followed the instructions on how to setup SBL using a target device. (http://processors.wiki.ti.com/index.php/SerialBootLoader) It works great. 

The challenge is to build the code on a server and the instructions above is no longer applicable. 

Is there a way to combine SBL with target image within IAR workbench or via command line? 

Thanks!

  • Hi,

    I sent it to a concerned engineer. We will get back to you ASAP. Please bear with us.

    Thanks,

    PM

  • Hi Lin,

    Any reason why you're not able to use SmartRF Flash Programmer to program the two images as one? This can then be programmed using the Flash Programmer command line interface.

    BR,

    Seong

  • Hi,

    I have not seen any activity on this thread for sometime so I will go ahead and close it. If you are still seeing an issue, feel free to re-open the thread or create a new one referencing this one if it is locked.

    Thanks,

    Riz

  • How could you program two images as one? the flash programmer i'm using only allows me to program one image. 

    Could you shed more light on this? 

    Current config: We are running IAR workbench on a server to build SBL and Upgrade image separately, via command line.

    As the developer, I can load SBL on the chip and then load the upgrade image on it, then extract the hex to have the SBL+target combined image. Since the server is hosted somewhere else, I won't have access to the server to plug in a physical device. This is where I need some more directions on how to generate the SBL+Target combined image. 

  • Hi,

    Combining multiple images is only available on later devices (CC2640R2, CC2642 etc.) where flash programmer 2 can be used.

    We do not have any official guidelines on the process you mention, it would have to be defined and architected by yourself. (Hint: hex merge)

  • Thanks for the clarification! so I can stop trying to turn over every single piece of rock. 

    Also, I tried to merge the two hex files. there are three difference I can't really make sense of:

    :100890003B8C3B8C414D4F2041706F6C6C6F2052F4

    :102AD0000A73DBFF02120A733EC802FF31B1E1FF45

    :10E8000000001000000000008000040041F81730F4
    :10E81000060C33431CD7364A6C97ED6E020010008D
    :10E82000627ADD28AA99F1BE80048BE3AB65A17DF5
    :10E8300003001000FFFFFFFFFFFFFFFFFFFFFFFFD1

    Could you comment on these if you know what's going on? 

    Thanks!