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: TI C/C++ Compiler
Hi,
Is this possible to write on EEPROM emulation flash sector every 5sec once while code is running from flash memory? when I am referring " e2e.ti.com/.../319481" thread in that mentioned "Note that on F2808, you cannot erase or write to the flash while executing code from flash. It is also typically very difficult if not impossible to keep your main application running in realtime when operating on the flash since the flash APIs are not interruptible.
Thanks&Regards,
Rani
Rani,
Writing every 5s is not a problem. Also, flash API is interruptible in this device. However, there should not be any flash read/fetch access when the bank is going through flash erase/program operations by executing flash API from RAM. This means all of the code/data (including any ISRs) that you want to execute/read when flash erase/program is in progress must be executed from RAM (copy ISRs to RAM and execute from RAM).
Thanks and regards,
Vamsi
vamsi,
When i am referring f28xx eeprom emulation project it has these two function copy the data from Flash to RAM.
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
MemCopy(&Flash28_API_LoadStart, &Flash28_API_LoadEnd, &Flash28_API_RunStart);
My question is function arguments are "user defined or keywords" .
Thanks &Regards,
Rani
Rani,
Ramfuncs variables can be treated as keywords. You can see the Ramfuncs variables declared extern in C2000Ware_3_03_00_00\device_support\f2838x\common\include\device.h
Flash28_API ones are user defined.
Please open a new post for further questions. I will not be available next week and may not be able to monitor this thread. If you open a new post, our team will assign it to an available expert.
Thanks and regards,
Vamsi
Vamsi,
sure i will open a new one. Thanks for the support .
Thanks &Regards,
Rani