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.

urgent! about CC2640 off chip OAD hex file handling in downloading app

Hi there,


I have been ask to interpret the OAD Guide for the developer of an Android App to perform OAD.


I need to answer the question if the merged hex file has to be converted into binary following the Intel Hex file format definitions before sending over the air.

I tried to find this answer in the SimplelinkBLEPeripheral for OAD project provided, which I have successfully implemented and tested with BLE device monitor.

But all I see is that the image is copied to the flash byte wise. So on the Android side it needs to be converted.

Correct ?

Thank you very much

  • Hello Ralph,

    Yes, ultimately the OAD file must be sent in binary form over the air since the peripheral expects to receive a binary image. It would be most efficient to convert the file to binary off line, that is before delivering to your Android app, but you could convert the hex file 'on the fly' in your App. The file can be converted by standard hex2bin tools that understand the Intel hex format.

    Best wishes