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.

Writing to F2808's flash in real-time

Other Parts Discussed in Thread: TMS320F2808

 Hi,

I would like to save a few words of user settings in the internal flash of TMS320F2808 DSC.  Also the program itself is running mainly from the internal flash as there is no external memory of any kind connected. Are there any other ways of achieving this apart from using Flash API Library? (Which is in my opinion unnecessarily complex for this simple task) If there are any, could you kindly point me to any documentation covering this?

Thank you in advance!

  •  Adam,

    Using the API is the only way to program the flash.  Programming flash is a dynamic process.  You are either depositing charge or removing charge (erase) until the floating gate reaches a particular voltage. Because of this, the API does a lot of checks to make sure the program or erase is proper.  The API is also used by TI in testing and has gone through write/erase cycle testing.  It's much better to use the API than to have to develop and test your own routines to do the same.

     -Lori

  • Thanks for your answer, Lori. I don't want to reinvent a wheel so I'll use the API.