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.
Tool/software:
Hello,
we want to emulate an EEPROM in the FLASH of the microcontroller TMS320F28388D.
We build on the following project: C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f28p65x\examples\c28x\flash
If we use this example, we get a problem with the function Fapi_initialiseAPI(). It returns Fapi_Error_InvalidHclkValue <=> comment // NOTE: This will be different for each device
// This is set up for F28P650DK9
So I tried to implement the Fapi_initialiseAPI() of the F28388D. Since I have to implement the F2838x_C28x_FlashAPI.lib for this, there are redefine errors with the lib FAPI_F28P65x_EABI_v3.00.02.lib. The libs internally use many functions with the same prototype etc., so the compiler throws errors.
Is it possible to get the sources of the libs to implement the emulation of the EEPROM for the uC F2838x. Unfortunately I haven't found a thread in the forum that helps me here.
Can you help me?
Best regards Daniel
Hi Daniel,
You do not need to implement any FAPI functions for the F2838x device. The initialization routine that is required for using the F2838x Flash API can be found in this guide and is shown in this C2000Ware example (C2000Ware_5_02_00_00\driverlib\f2838x\examples\c28x\flash\CCS\flashapi_ex1_programming.projectspec).
Section 8 of this document describes the steps necessary to adapt the existing EEPROM emulation projects to other Gen 3 C2000 MCUs.
Kind regards,
Skyler
Hi Skyler,
ok understood. I thought I add the functions FAPI_F28P65x_EABI_v3.00.02.lib. into the other lib and then I can use the complete code of the example with the customisations of the memory areas. easy copy paste :).
Thanks.
Kind regards,
Daniel