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.

TMS320F280049C: Flash Programming of TMS320F280049C via CAN and Bootloader

Part Number: TMS320F280049C

Tool/software:

Dear Charles and Experts,

I tested flash programming through CAN of TMS320F280049C by refering sprad51a.

In addition, I want to realize a flash programming and/or run an application from flash memory without boot mode pin setting.

My goal is to power up the device, wait for about 5 seconds in CAN boot mode, and then jump to flash memory and run the application when there is no CAN data (signal).

I would like to ask for your advice and support on how to implement this feature.

Sincerely,

Eui-heon

  • Hi Eui-Heon,

    To implement this one way is to store the flash kernel in flash and have the device boot to Flash via the boot pins. This way you would not have to modify the boot pin setting to CAN.

    From there your kernel would first have to turn on the CAN peripheral, then wait for 5 seconds to see a "test frame" (ex. 0x5A5A) sent on the CAN lines.

    If no test frame is found in the mailbox after 5 seconds, then you can branch to the application residing in another portion of flash memory. 

    If a frame is found, you can then proceed to download the new firmware update.

    Thanks and regards,

    Charles

  • Dear Charles Roberson,

    I'm thinking of using live firmware update for flash programming of my application. If I have any problems, I will ask for support again.

    Sincerely,

    Eui-heon