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.

tms320f28035, programming raw data into flash memory

Other Parts Discussed in Thread: TMS320F28035, TMS320F28027, UNIFLASH

Hi,

I'm programming TMS320F28035 with CCS_V4 and I would like to program some data (i.e. print serial no of actual HW, etc) into flash memory (e.g. beginning at start of section H at 0x3e8000) so that they can be read by several programs (e.g. bootloader and application).

Can I use loadti.bat for that purpose (part of scripting examples with CCS)? There are options -mlr and -mld that inspired me to try it but it didn't work. It seemed to me that these options only program data into RAM but not into flash, but I couldn't find any detailed information about it.

If I were able to put my data into a *.out file (type COFF) I could also use flash28.js to program these data into flash memory. Flash28.js is very attractive for doing this because of the options included to chose the sectors to erase and to define the password setting.  Is it possible to generate a *.out file that only consists of some data bytes, without any executable code?

If neither of these methods work I will have to use the bootloader (yet to be programmed) to write the data into flash. But I would very much appreciate an alternative solution.

Many thanks in advance for any suggestions,
Leo Rohrecker

  • Hi Leopold

    I know that this unanswered questions was asked long time ago. However, I need an answer on the same question, for TMS320F28027, so I wonder if you have found the solution?

    regards,

    Vlad P.

  • Hi Vlad,

    Can you please create a new thread with all the information you need in this thread so that we can better help you to solve it. Thank you.

    Chen
  • Hi Chen,

    I resolved my problem today, before your answer. Thanks.

    Here is how it is resolved. I created an external desktop application which simply creates a binary file, and the data is written into that file by my desktop application. Further, the said binary file is programmed into the flash memory of my choice by using the TI's UniFlash tool. A care has been taken to write starting from the proper address, and to set the tool not to erase other parts of the memory. That fully resolves my problem. No further help is needed.