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.

LAUNCHXL-F28069M: Is there a way to program F28069M piccolo launchpad using CAN module

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: TMS320F28069M

Hi,

Is there a way to program TMS320F28069M via CAN instead of JTAG or SCI? I want to do all target configurations and design a model using matlab, generate hex file and dump the hex file inside the micro-controller using PCAN-USB adapter and PEAKView/other software.

Please let me know whether this is possible and if yes how to do it.

Regards

Krithika Chandrasekhar

  • Krithika,

    Please check https://www.codeskin.com/ for CAN programming solutions.

  • Sir,

    I wan to program F28069M piccolo launch pad using CAN module so what should be the switch settings, mode, how to program OTP to boot from CAN Boot mode.

    How to dump the program in Flash via CAN, do a power ON reset and execute the program?

    Also in C2 prog for F28069 we have only two modes for programming i.e JTAG and SCI.

    Regards

    Krithika Chandrasekhar

  • I want to program F28069M piccolo launch pad using CAN module so what should be the switch settings, mode, how to program OTP to boot from CAN Boot mode.

    Information about boot-modes is in the datasheet. Please refer to the Launchpad schematics for boot-mode switch selection. Programming OTP location is similar to programming flash location. You need to assign the words to a section name and assign appropriate OTP location in .cmd file to get them programmed. You can easily adopt CSM password example to program OTP. Note that once you change the boot-mode to CAN, the device will always go that mode upon every power-up. I don’t think this is what you want. Normally you would want to boot to flash, but invoke the CAN bootloader only when you want to program the flash via CAN. So think carefully before you change the boot-mode to CAN, since OTP cannot be reprogrammed. 

    How to dump the program in Flash via CAN, do a power ON reset and execute the program?

    Currently, there is no tool from TI to program flash via CAN. Boot to flash must be chosen to execute code in flash upon power-up. Please refer to the boot-ROM chapter in the TRM for details. 

    Also in C2 prog for F28069 we have only two modes for programming i.e JTAG and SCI.

    I think JTAG & SCI are the free options in that tool. CAN based option may not be free. Please work with Codeskin directly on the CAN option. 

    If you are new to C2000 or CCS, please review the workshops at https://training.ti.com/c2000-mcu-device-workshops. TI has invested considerable resources to develop these self-paced workshops and most questions can be answered by reviewing the workshop material for your specific device family or its closest equivalent. The workshops are an excellent introduction to the basics of C2000 MCUs and the process of writing and running your first example. Good introductory videos about CCS are available at https://www.youtube.com/user/CodeComposerStudio.