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.

TMS320F2800137: Regarding Writing and reading data from flash memory (Like EEPROM)

Part Number: TMS320F2800137
Other Parts Discussed in Thread: C2000WARE

We want to store and read data to/from flash memory like EEPROM using CAN or UART. Kindly share some technical datasheet or instructions code lines which can be written in code for using flash memory as EEPROM. 

If any reference code is available, Please share with us. 
  • Hi Rahul,

    Just to make sure I understand your use-case properly, are you aiming to write code to on-chip flash memory (emulated as EEPROM) that is received by the F280013x device via CAN or UART? 

    To emulate EEPROM in on-chip flash memory, there is a reference project for the F28P65x device and a corresponding application note (www.ti.com/.../sprade8). The reference project can be found in C2000Ware (v5.01.00.00 and up) at C2000Ware_Location/driverlib/f28p65x/examples/c28x/flash. The application note discusses the implementation and how to use the project for F28P65x, and also includes a section about modifying the code to support the F280013x device. Please keep in mind that the corresponding F280013x Flash API will have to be used instead of the F28P65x Flash API included in the reference project. For information about using the F280013x Flash API, please refer to the guide found at C2000Ware_Location/libraries/flash_api/f280013x/docs/F280013x_Flash_API_Reference_Guide. There is also an example project at C2000Ware_Location/driverlib/f280013x/examples/flash (flashapi_ex1_programming.projectspec) that shows how the Flash API should be used. To adapt the F28P65x EEPROM Emulation project to F280013x, you will need to follow the instructions in the application note as well as modify the usage of the Flash API within the project.

    Kind regards,

    Skyler