Closed
Description
The mentioned process to create OTA file doesn't work:
- Get the generated bin file.
- Run the following command:
lzss.py : ./lzss.py --encode Blink.ino.bin Blink.ino.lzss
- Modify the bin2ota that still doesn't support C33 by adding its magic number:
elif board == "PORTENTA_C33": magic_number = 0x23410068.to_bytes(4,byteorder='little')
- Run the following command to generate the OTA file:
./bin2ota.py PORTENTA_C33 Blink.ino.lzss Blink.ino.ota
But the OTA file doesn't work.
The one that is in the "UpdateFromFile" example sketch (update.h
converted to an OTA file) works correctly. How was it generated?
Additional context
When I test the Blink example it works.
I am using Arduino IDE 2.3.4 and Arduino Renesas Portenta Boards 1.3.1.