Hi, Jobo23,
I have read the relevant document. I think the code below is for asynchronous read.
Would you please send me some code example for synchronous burst read?
ERROR_CODE ReadFlash( unsigned long ulAddr, unsigned short *pusValue )
{
// disable interrupts before performing the load or store operation
unsigned int uiSaveInts = cli();
// set our flash address to where we want to read
unsigned short *pFlashAddr = (unsigned short *)(ulAddr);
// read the value
*pusValue = (unsigned short)*pFlashAddr;
// Enable Interrupts
sti(uiSaveInts);
// ok
return NO_ERR;
}