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: Flash Programming

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello everyone. I'm using TMS320F28379D for programming flash. I have seen the lab10 in One Day workshop. So I have some questions like this:

1. Can you explain where the code for blink led is? I read the code so many times but I don't know where Can I put the code in flash?

2. If I want to program the flash, how can I create the file .cmd like lab10.cmd in the tutorial?

3. I need some documents to understand more about this. So can anyone give me the docs or some example code for this one (except the lab 10 of course)?

Thank you! I hope to see your reply as soon as possible.

Best Regard!

  • Hi Tuan,

    1. You can find the code for blink led inside the C2000Ware. You can install if from the product page under tools section.

    C:\ti\c2000\C2000Ware_2_00_00_02\driverlib\f2837xd\examples\cpu1\led\led_ex1_blinky.c

    2. C2000Ware has linker command files for both Flashing the code as well as programming into the RAM. Depending on your need you can use either RAM or Flash linker command file.

    3. Not sure what kind of document you are looking for? Do you need document to explain "blink led" code? If you go to the product page on ti.com under "Technical Documentation" you should find lot of useful documentation. Also to understand more on the device you can refer Technical Reference Manual or Datasheet.

    Regards,

    Nirav

  • 1. No, I mean the code you put into flash. I don't get it. where is the code in flash??

    2. You mean this: 2837xD_FLASH_lnk_cpu1??

    3. I need a code for programming flash or some docs that I can read to put the code into flash. 

    Thanks.

    Best regard!

  • Hi,

    1. Code for programming the Flash is part of the plugins in CCS Debugger, so you will not be able to see it.  If you want to put the code into the flash, set the build configuration to Flash by:

    Righ click on project -> Build Configuration -> Set Active -> CPU1_Flash

    Then build the code, and once you load the code it will be programmed into the Flash.

    2. Yes

    3. You can use the Flash API to program the code into the flash, you can reference below guide:

    https://www.ti.com/lit/ug/spnu629a/spnu629a.pdf

    Regards,

    Nirav

  • 1. I will try it

    3. I read this one. But i don't know how to use them in specific app application. And can you show me some docs that explain the flash programming. I mean i need a docs that explain step by step this one!!!

    Thanks

    Best regards!!

  • Hi,

    We have a Flash programing example (uses Flash API library) in C2000ware at \C2000Ware_x_xx_xx_xx\device_support\f2837xd\examples\dual\flash_programming.

    Please take a look at it.

    Thanks and regards,

    Vamsi

  • okay. Thanks for your support. I will try my best.

    Best Regard!!