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.

TMS320F28379D: Flashing

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello! I am newer with F28379D and I just use the Simulink block to build a control system. Now I need to use the card offline, it means I need to flash the control system into the control card and use it in lab. However it seems that the flashing can not be done simply in Simulink, because I try to flash the LED blink code to the card but when the card is powered off and powered on again, the LED does not blink. I can get the C code of the system via Matlab tools but I do not know how to flash the code to the card in CCS. When I read the documents about flashing, there are so many codes and concepts, which are a little bit difficult for the newer. Are there some examples for flashing, so that a newer can learn it quickly? Or what should I do after I get the C code of the system? I am so appreciated if anyone can help me! Thank you very much!

  • Hi Xu,

    For training material on Flash you can visit https://training.ti.com/embedded-flash-memory

    The steps to flash code to the card in CCS would be going to your CCS project's "Build" properties. Then change the configuration to be CPU1_FLASH. Make sure to set this one to be the active configuration for the changes to take affect. (Click on Manage Configurations... -> Set Active for CPU1_FLASH)

  • Hi,Ryan!

    Thank you for your answer! Actually I did so, but it does not work. I use the example the CUP1 LED Blink and set the confuguration as you show, after I debuge the code the LED blinks but if I cut off the power and power it again, the LED wont blink. I am not sure if I must use such as Flash API and so on, so that I can flash the code to the card. Thanks for your help again!

  • Hi Xu,

    Did you make sure to put the switch in the correct position on the ControlCARD? For your application I believe you would need to make sure the switches are in 03 mode. (Get Mode)

    This diagram is found underneath the C2000Ware folder->boards->controlCARDs->TMDSCNCD28379D->R1_3->F2837x_180controlCARD_R1_3_SCH_02Oct2015.pdf

     

  • Hi! Actually it works! I read the setting of all the switches and set first position of  A:SW1 to off and boot mode to 03 mode and after I power the card the LED blinks! Thank you so much for the help! By the way, I wanna ask, what means the 2nd position of A:SW1 switch, I cant uderstand the function although I set it in off.

  • Hi Xu,

    Great to hear. This link should be good reference to answer the functionality of that switch.