For a project i’m using a w7500p development board. For this project some data needs to be stored and remembered even when the power is down.
The problem persists that when i want to use the IAP-FLash function to read/write some data the application gets stuck in the nmi handler.
I’ve tried to change the the clock to the internal 8 Mhz clock as recommended in the errata data sheet.
Still this problem persists.
Anyone who can help solve this problem? I’m using the keil uvision interface to programm the w7500p.
This is the source code i’m adding to write data to the flash memory
uint8_t ip = 192;
FLASH_IAP(IAP_ERAS_SECT, IP_START_0, 0, 0 );
FLASH_IAP(IAP_PROG, IP_START_0, &ip, SECT_SIZE);