Hello,
we use KSDK2.1 with K64 and IAR Workbench.
In our Software we use the functions FLASH_ProgramOnce() and FLASH_ReadOnce() to store and read the MAC and serial number of our device.
The software uses several DMA Services (ADC, I2S, 2x SPI).
When I call one of the functions FLASH_ProgramOnce() or FLASH_ReadOnce() while a DMA access to Memory is active, my System stops at 0xfffffffe <unknown handler>.
It seems to conflict reading from one-time Memory with Software while using DMA with Flash-Memory at the same time.
Can someone tell me something about that correlation?
How can I avoid this situation?
Best regards
Manfred
Hi, Manfred,
Frankly speaking, I never experience such issue.
As a workaround, can you write the data to the program flash instead of IFR?
BR
Xiangjun Rong
Hi Xiangjun Rong,
thank you for your answer.
I use a workaround with RAM buffer:
In my application I read MAC and Serial number at startup from one-time-Memory and store the values in a RAM buffer.
Then my application reads the values from RAM.
I try to get a closer look to the circumstances when the error happens.
I'll be back with more Information.
Best regards
Manfred