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.

TMS320F280039C: Bootloader program with the help of I2C

Part Number: TMS320F280039C


Tool/software:

Dear Sir,

I want to upgrade the firmware in TMS320F280039C using bootloader with the help of I2C. Kindly provide the step by step procedure and example program.

Thanks and Regards,

Manasa P

  • Hi Manasa,

    We don't have an example program to perform a firmware upgrade with I2C on F28003x. Please see the application note that discusses how this can be done with SCI or CAN. You can use these projects and documentation as a reference as the principles behind these projects will remain constant when implementing an I2C based bootloader.

    In general, you will need to do the following:

    1. Decide if this will be RAM-based of flash-based (I2C boot or flash boot to enter the bootloader)

    2. Based on the decision from #1, you will need to decide on where the bootloader and upgradeable firmware will reside in flash

    3. Your bootloader will need to configure an I2C connection with a host and be able to interpret the data/prepare it for programming

    4. The bootloader will need to use the F28003x Flash API to program the new firmware to flash (F28003x Flash API User Guide)

    5. After successfully programming the firmware, the bootloader can branch to the firmware

    Please reach out with any specific questions that you encounter during the process.

    Kind regards,

    Skyler

  • Hi Skyler,

    Thanks for your reply. I am working on implementing a firmware upgrade via I2C for the TMS320F28003x microcontroller. I understand that TI does not provide a direct example for I2C-based firmware updates, but I saw that there are examples for SCI and CAN-based upgrades.

    Could you please share if there is a script available for performing firmware upgrades via CAN on the F28003x? If so, I can use that as a reference to develop a similar solution for I2C.

    Looking forward to your response.

    Thanks,
    Manasa

  • Hi Manasa,

    The CAN Flash Programming of C2000 MCUs document discusses how firmware updates can be performed over DCAN/Classical-CAN on F28003x. What kind of script are you asking about? A host programmer?

    Kind regards,

    Skyler