Hi,
i am using board which contains NXP's lpc54102. I am trying to write data to a flash (Sector 15 , Address 0x0007E000) and read it using memcpy() function. I am using Chip_IAP_CopyRamToFlash() api to write data. If i read data using memcpy() immediately after writing then i am able to read the proper data. if i try to read data in some other file using memcpy function, then i am not getting the expected data. What could be the issue? Is there any sequence to follow while reading data from the flash?(IAP mode)
Thanks in adavance,
Ck
Hi, reading data from the FlLASH is always possible. The Core usually reads its instructions from FLASH.
This may be a problem with the addresses you use for your memcpy().