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.

TMS320F28069M: Unattended Device Firmware Upgrade over CAN bus

Part Number: TMS320F28069M


We wish to perform unattended Device Firmware Upgrade over CAN bus (Emulator not connected).

We have been referring to SPRACN1.

http://www.ti.com/lit/an/spracn1/spracn1.pdf

"This application report describes a software controlled firmware update process on C2000 devices using
existing boot modes without the need to manually select boot mode."

The only way to get into the CAN boot-loader (on our device) seems to be via "Get mode".

Based on 2 GPIO Pins and 2 OTP Locations.

Question: once DFU is complete and we invoke a reset, how do we boot to FLASH and not re-enter the CAN bootloader?

  • In your application, you would normally boot to flash and then need to determine whether to proceed with the application or to start the flash programming process via CAN. You may look for a "check-byte" over CAN to make this determination. i.e. the application waits for a pre-determined time looking for this "check-byte" from CAN. If the check-byte is received, it indicates flash update is warranted. If not, code branches to application. Please search e2e. This topic has been discussed many times before.