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: CAN Flash Programming of TMS320F280049C

Part Number: TMS320F280049C

Tool/software:

Dear team,

I am looking for CAN flash programming method for TMS320F280049C. I found a method (sprad51a) for TMS320F28003x, but I didn't find a solution for TMS320F280049C.

If there is no solution developed for 280049C, is it possible to provide support to change the code described in sprad51a to 280049C?

Sincerely,

Eui-heon

  • Hi Eui-heon,

    Yes, we can provide guidance in this process. What specifically are you roadblocked by in migrating the existing solutions to F28004x? Alongside the device datasheet and TRM, SPRAD51a document provides details about the existing implementation and will be helpful as you migrate the examples to F28004x. 

    Kind regards,

    Skyler

  • Dear Skyler Baumer,

    I inquired to check the possibility before migration work. I will proceed with the migration work. 

    I have one more question. Is there a way to flash program using just the CAN bus without changing the Boot mode?

    To be more specific, is it possible to wait for a programming command for 5 seconds in CAN boot mode when the power is initially turned on and then boot in flash mode if there is no programming command through CAN?

    Sincerely,

    Eui-heon

  • Hi Eui-Heon,

    Yes. When you create the F28004x flash kernel project, you can have the kernel check for incoming CAN frames for 5 seconds and boot to flash if none are received. In the kernel function that waits on a valid CAN frame, you can add logic to increment a value until the timeout condition is met. If you want to do this without loading the kernel into RAM each time, you can create a flash build configuration and load it via CCS. Once the flash kernel resides at the flash entry point, it will boot to the flash kernel when the device is in flash boot mode. 

    Kind regards,

    Skyler

  • Dear Skyler,

    Thank you for your reply.