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.

TMS320F28027: Load program to Flash

Part Number: TMS320F28027
Other Parts Discussed in Thread: CONTROLSUITE

Hello, 

I was wondering if there is a step by step procedure that I can follow to load a program onto flash. 

For example, how do i change the linker file so that I can upload it to flash. Such as the LED blink example for the controller, I want to run that program ever time I power the controller. 

Once I have a basic understanding of this I would like to store some parameters in the flash so that every time at boot up I can read the values and continue to run the program and at the end I can write some values to the flash which I can later use when I restart my program. 

I am currently following the tutorial for the flash API but I am running to errors when I make the following edits:

I am not sure what is going on in the flash example in controlSUITE, is there a tutorial on this example?

Please let me know if there are some documents that I may be missing to get a better understanding of this subject. 

Regards,

Rajan Joshi

  • Rajan,

    Did you check Flash API document (Flash2802x_API_Quickstart.pdf) available in <controlSUITE>\libs\utilities\flash_api\2802x\v201a\doc?

    I would also suggest you try running the example code to understand how it works.
    <controlSUITE>\libs\utilities\flash_api\2802x\v201a\example_ccsv5

    Regards,
    Manoj
  • Hey Manoj,

    Thanks for the quick reply.

    Yes, I am currently going through that document.

    Can I just run the code or do I need to set this API up in a different project ? Can i step through it and monitor what is being done ?

    I am not really sure what exactly this code is doing. Is there a walk through of what the example is doing like the firmware development package?

    Regards,

    Rajan Joshi
  • Update:

    When I try to run the API with the debugger using the SW_API I get a prompt asking if I would like to bring the device out of low power mode.

    This is the console snippet of what I get when I click yes, no or cancel in the prompt. 

    is there another way of loading this code?

    Regards,

    Rajan Joshi

  • Rajan,

    I believe this a duplicate post. Have you come over this issue?

    Regards,
    Manoj