Part Number: TMS320F28075
Other Parts Discussed in Thread: C2000WARE
Hello,
I would like to know where are the Flash APIs such as Flash_Erase, Flash_Program are defined. Can anyone help me with that?
Thank You,
Sagar
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.
Part Number: TMS320F28075
Other Parts Discussed in Thread: C2000WARE
Hello,
I would like to know where are the Flash APIs such as Flash_Erase, Flash_Program are defined. Can anyone help me with that?
Thank You,
Sagar
Sagar,
Flash API functions that you use for this device are different than that of those used in SPRAB69. We don't have an EEPROM solution/example for this device. However, the EEPROM concept explained in SPRAB69 is still applicable.
Also, F28075 Flash has ECC. This will require you to program a minimum of 64-bits (aligned on 64-bit boundary) at a time. Hence, you have to allocate a minimum of 64-bits for a variable even if it needs only 16-bits or 32-bits.
Thanks and regards,
Vamsi
Sagar,
Table shown below is a high level mapping that you can refer to. It is important to read the API reference guide (SPNU629) completely to know more details. You can not simply replace the functions; there are some differences - for example: Flash_Program() function does not have an upper limit on the length parameter. Fapi_issueProgrammingCommand() function can program only a max of 8 16-bit locations at one time. Hence, please read the reference guide and go through the example provided for better understanding.
|
SPRAB69: Flash API functions or header configuration |
F28075 Flash API function |
|
Configure CPU_RATE in FlashX_API_Config.h |
Pass the system frequency as a parameter to Fapi_initializeAPI() |
|
N/A |
Fapi_setActiveFlashBank() |
|
Flash_Erase() |
Fapi_issueAsyncCommandWithAddress() |
|
Flash_Program() |
Fapi_issueProgrammingCommand() |
|
Flash_Verify() |
Fapi_doVerify() |
Thanks and regards,
Vamsi