Custom OTA

I’ve reviewed the document peripheral_with_ota example description and SDK DFU integration - SiFli SDK Programming Guide, but it only covers BLE OTA.

I want to implement a custom OTA solution with product encryption (my firmware should not be able to be flashed onto other products):

  1. Implement firmware transfer via USB (using the UART demo’s transfer protocol)
  2. Can I simply copy the data to a fixed location? Is there any relevant documentation available?
  3. There is an ota_uart demo, but no PC-side transfer protocol or PC tool is provided.
  4. I don’t seem to find any information about key generation. Does this mean any generated OTA firmware can be flashed onto any chip?

Do you want to implement OTA via serial port or USB?

Yes, it would be best to document the OTA process. I’ve seen others asking about it, but there hasn’t been a reply or any action taken yet.

Yes. Are there corresponding documentation and a demo?