Other Parts Discussed in Thread: UNIFLASH
Hi,
I've a file(around 2MB) and I need to store it in program flash. I've tried to store data in program flash(writing a small buffer to the start of FLASH1) using F021 Flash API(Fapi_issueProgrammingCommand) and it is working. However, I've problems with reading the data back. I tried to use Fapi_doMarginReadByByte and it ended up with dataEntry. I'm sure that src and dst pointers point to correct locations.
On the other hand, holding a pointer to somewhere in FLASH1 and accessing that data works.
As previously mentioned file is around 2MB and I've some concerns about the timing.
What's the proper way to handle this?
Thanks in advance.