Skip to content

Process to create OTA file doesn't work #412

Closed
@yann-l

Description

@yann-l

The mentioned process to create OTA file doesn't work:

  1. Get the generated bin file.
  2. Run the following command:
    lzss.py : ./lzss.py --encode Blink.ino.bin Blink.ino.lzss
    
  3. 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')
    
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions