AnsweredAssumed Answered

how to read data from flash memory?

Question asked by qingshan on Mar 18, 2011
Latest reply on Mar 23, 2011 by qingshan

I am using third party target board BF548 for my project. My separated codes (developed by following third-party example codes) are able to write data into and read them back from flash memory. These data can be seen on the BLACKFIN Memory in VisualDSP++5. After done the data writting. Close this project. Another project (independent codes ) is runing, those data written in the flash memory can not seen on BLACKFIN Memory in VisualDSP++5 and can not read back. However, if Enable run-time memory initialization - FLASH memory in Project Options, those data written in the flash memory can be seen, but my codes stop working.

After load completed there are following message:

Load complete.

Core fault detected before halt at address: 0xEF00000E. Attempting to reset processor.

Target halted due to software breakpoint but no breakpoint found at address: 0xffa225f2

Possible reasons are:

1. An embedded breakpoint(EMUEXCPT instruction) in the code

2. A breakpoint is placed at the last instruction of a do() loop.


Could you please advise me how to read data, which pre-written into,  from flash memory?