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.

CC2650: How to generate Merged .bin files of BIM + Application + Stack for off-chip build configuration

Part Number: CC2650


Tool/software:

Hi,

I am working CC2650 PFB the other details,

CCS Version - 7.4

Stack Compiler Version - 16.9.6.LTS

Bim Compiler Version - 16.9.6.LTS

Application Compiler Version - 5.2.6

BLE SDK Version - ble_sdk-2_02_07_06

i am facing the problem in OAD update,

for example - if i flash the firmware from my PC's CCS and later if i want to update the firmware using .bin file over OAD (*Note - .bin file is generate from another PC's CCS) then OAD update is not completed successfully, if i do the same with .bin file generated in my PC's CCS then OAD update is completed successfully.

so, i need help in how to generate merge bin file of BIM+Application+Stack,

kindly, guide me what is step to generate merge .bin file and what should be post build steps, where to add and how to add.

Regards,

Rajnish Singh

  • Hi Rajnish,

    Thank you for reaching out. We will take a look at your question and get back to you as soon as possible.

    Best Regards,

    Jan

  • Hello Rajnish,

    Thanks for reaching out.

    Are you using a OAD example from the SDK? Could you please confirm the same tools (CCS, compilers) and SDK are being used on the "other" PC? When you use the "other" PC, you use it to build the bin file that will be transferred through OAD or to build the BIM and Application to flash the device again? How did you setup your distributor (device that sends the updated bin file through OAD)?

    Could you please explain a bit more what you want to accomplish here? Is this merged bin file the one you will use to flash your device for the first time?

    generate merge bin file of BIM+Application+Stack

    BR,

    David.

  • Hi David,

    Thanks for your response.

    1st i want to revise my problem, i just want to generate merged/combined bin file for "Stack + Application" only.

    • i am not using OAD example from SDK, i am working on a project (ESL) and our project supports OAD update feature. 
    • Yes, In both the PC same SDK and same compiler version were used.
    • I don't want to use merged bin file for flash my device again, merged bin file is just for push the updated changes to the device.

    Now, i got success in generation of combined bin file of Stack + Application by invoking "hexmerge" python script and then merged hex file converting to bin.

    But i am facing the same problem i.e. if I flash the firmware from PC1 and trying to do OAD update with combined bin file which is generated from PC2 then OAD is unsuccessful.

    The reason of generation of merge bin file, because i was facing the same problem mentioned above during OAD update. So, i assumed it will solve by using merged bin file (stack+application) but after generating merged bin file getting the same problem.

    If anyone have any solution or suggestion regarding this why i am getting the problem, let me know.

    Regards,

    Rajnish Singh

  • Hello Rajnish Singh,

    Understood. Could you please point out how are you testing this?

    How did you setup your distributor (device that sends the updated bin file through OAD)?

    In addition, what error do you get when the OAD process is unsuccessful?

    BR,

    David.