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.

CCS/TMS320F28027F: flash the program with f2802x_Header_nonBIOS.cmd

Part Number: TMS320F28027F
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Hi, 

I am building a example program, Example_2802xGpioToggle, using f2802x_Header_nonBIOS.cmd and no issue with flash and compile. but after turning off the power, I am loosing the program from the launchpad Piccolo Launchpad C2000 TMS320F28027F. 

I am not sure, is the burning program be configured by the linker file ? I tried F28027.cmd or 28027_RAM_lnk.cmd linker file but it gives dozens of error. 

How can I burn the program in the flash so that even after turning off the power from the development kit, program remain in the flash ?

Best Regards

Sunil

  • Sunil,

    Sounds like your project is not properly configured for a flash use case. For starters, you need to have a flash linker command file that configures the device for flash settings. I would import an F2802x flash specific example (flash_2802x) to understand how a flash build configuration is structured. I would then configure your project in a similar manner. If you need to customize settings, I would start with the template linker files provided.

    Check out this document for more information on running applications from Flash: www.ti.com/.../spra958l.pdf

    Regards,
    Ozino
  • Dear Mr. Odharo,
    Thanks for your reply. I am not sure, I understand the answer completely. As I understood, I should read the pdf and create my own linker file. But, at this stage, creating my own linker file is really difficult.
    If you can point me some standard format, I just want to copy in the beginning. I can share my configuration file, but trust me I am really beginner that I don't know how can I share complete project with linker and compiler configuration to you. I import the project from the folder C:\ti\controlSUITE\device_support\f2802x\v230\f2802x_examples_structs\gpio_toggle but later I might have change some configuration to solve the compiler issue.

    Thanks
  • Sunil,

    I understand. I will recommend a few options.  I would start by referencing the examples in C2000Ware. These are the latest and most up-to-date examples. controlSUITE is now in a stale state and there are no longer options.

    I will also suggest you import the flash example and use that project as reference when trying to enable a flash build configuration on your existing project. Feel free to use the F2802x cmd file. These are the flash linker cmd files. No hard requirement to customize the linker if you haven't made changes to the code. You will also need to include the codestartbranch asm file in your project.

    Check out the FAQ on Flash for more details

    Regards,

    Ozino