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.

TMS320F28035: Reflashing C2000 through eCAN

Part Number: TMS320F28035
Other Parts Discussed in Thread: C2000WARE

Hi team,

Could you confirm that the following is feasible/correct?

Desire:

1. Reflash the device with eCAN

2. Boot from Flash

3. Use same eCAN for normal communications

Is the best way to do this by utilizing existing ROM bootloader and GPIO pins? i.e. Setting GPIO pins to GetMode, setting OTP bootctrl = CAN boot and if a valid image exists on eCAN (key = 0x08AA) then it flashes the device, otherwise, it will boot from flash and use eCAN as normal? Do we have any reference source for flashing via eCAN?

Please provide your thoughts on the above and any other considerations if any.

Best,

  • Lina,

    The method you outlined is good. We do not have a reference source for flashing via eCAN.

  • Hi Lina,

    This is possible.

    We provide a device firmware example in C2000Ware with an App Note. www.ti.com/lit/sprabv4b

    The example uses the serial flash programmer host tool, SCI bootloader and sci flash kernel.

    You can port a similar solution for CAN.

    You can use the CAN boot loader to load a CAN kernel equipped with the flash API. The kernel will then erase the flash, load the flash application and program it into flash.

    You can switch boot modes between flash mode or CAN boot loader, or you can always boot to flash and have the CAN host send a specific command to signal the CAN firmware upgrade algorithm that you have programmed into flash.

    Hope this helps.

    Please let me know if you have any other questions.

    sal