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.

UCD90320: Using .bin file to update firmware

Part Number: UCD90320

Hello Team,

Please advise how to use .bin file as included in PCN for UCD90320 to update firmware.

  • I have the "UCD90320 Firmware Upgrading Guide" .pdf document, but the document only mentions .file extensions, can a .bin file be used here?
  • Looking at byte[] data = File.ReadAllBytes(File_Open_Control.File); line in section 5.

  • Another route I considered was using tools->download firmware in device configuration, but this is unavailable in offline mode.
  • I'm also unable to generate a production version of the file to check if manufacturing or production GUI contains these instructions instead.

Please detail or link the document showing how to update the FW of the UCD90320 using the .bin file for FW version 3320.

Thank You,

Jacob Butler

  • Hi

    Yes. .bin file is the only supported format from TI. the provided document is for bin file. there is no any other document

    Yes, downloading firmware require live device. It is not applicable to download the firmware when the device is not available. 

    Could you be more specific about the question? 

    Regards

    Yihe

  • Hi Yihe,

    I believe you answered the question.

    To confirm:

    1. In order to download the new firmware of a device in system, the .bin file should be loaded in place of the bolded text below.

    #define ACK (0xCC)
    #define NACK (0x33)
    byte[] data = File.ReadAllBytes(File_Open_Control.File);
    byte address = 0x42; // in Bootloader, fixed address is 0x42

    Ie:

    #define ACK (0xCC)
    #define NACK (0x33)
    byte[] data = File.ReadAllBytes(UCD90320_3.0.0.3320.bin);
    byte address = 0x42; // in Bootloader, fixed address is 0x42

    2. Alternatively, the device firmware can be updated by using the Fusion DIgital Power Firmware & Configuration Download Tool which should be accessible for a connected device through device configuration and then tools->download firmware.

    Is that a correct summation of how firmware should be updated?

    If method 1 isn't the correct way to load the .bin file using the download command, please help me understand how this should be loaded.

    Best Regards,

    Jacob Butler

  • Hi

    1. it is a bin file, application can open the file using various tool to extract the data based on the provided document. 

    2. Yes, Fusion GUI provides a dedicated tool to download the firmware in additional to what you mentioned. 

    Regards

    Yihe