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.

TMS320F28377S: Firmware upgrade over CAN: MCAN vs DCAN

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Hello C2000 gurus,

I would like to implement a firmware upgrade feature on a F2837x device over CAN. I am using these two well written app notes as my reference: SPRACN1SPRABV4E. I found a MCAN example (CAN Flash Programmer) for F28003x device, which seems to be (functionally) very close to what I want to implement on the F2837x device. Found here: \\C2000Ware_4_03_00_00\driverlib\f28003x\examples\flash

Do you have a similar example for any of the DCAN devices available (even if not in final C2000Ware ready form)? If not, how big of a jump would it be to use the above MCAN example as reference for the F2837x device?

Are there any other examples I should use instead?

Thanks,

Hrishi

  • Hi Hrishi,

    Currently we don't have Flash kernel example using CAN for F2837x device.

    However, you can refer code for F28003x device at C2000Ware_4_03_00_00\utilities\flash_programmers\can_flash_programmer and modify it for F2837x device.

    1. It will require some modification to enable CAN functions as it currently uses CANFD functions for F28003x devices

    2. Also if you have Visual Studio, modifications will need to be made to the functions CAN_InitializeFD() to CAN_Initialize() (can_flash_programmer.cpp), CAN_WriteFD() to CAN_Write() (f021_DownloadImage.cpp) and the message buffer/bitrate requirements for standard CAN. Also, the device name could be changed to F2837x for easier use at the command prompt.

    Regards,

    Rajeshwary

  • Hi Rajeshwary,

    Perfect! This is very helpful.

    Thanks,

    Hrishi