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.

OTA converter header string parameters

Other Parts Discussed in Thread: CC2538

Hello,

I´m using the OTA functionality on CC2538 and actually i'm tring to identify the image zone (Image A or Image B) on .zigbee file created by OtaConverter.exe. Actually and using the Zigbee alliance ZCL OTA libray protocol, that is not possible, although, i Thought, to use the Image Header string to identify the image Zone of a specific image. The  question is, OTAConverter don't support that input parameter! TI people? Can edit the software to integrate that input, or exist any other way to do that?

Best regards !

Nuno Alves1

  • Do you need to tell if an OTA binary is image A or B?

    In our example we use the -v (version parameter) to indicate the image A or image B. In a real application you could use the MSB in the version numbering i.e. version 0x00000000, 0x80000001, 0x0000002, 0x8000003. So MSB clear = image A, MSB set = Image B.

    You can then read this in the image from byte 0x10 of the .zigbee image file.

    Regards, TC. 

  • Hi TopCat,

    Nice idea! by the way, i test the OTA functionality on CC2538 device, and if we have the next scenario:

    1- The Client device is running a code on image area A and if the Server sends the next version of the same area, after the upload and restart the client device never more works until by programmed again.

    It is possible to prevent this scenario automatically, our the server must have the attention of the image that must upload to client?

    Regards.

    Nuno Alves1