In Memory Map, I saw a 32k user-defined storage at 0x40002000 mapped to flash, but when I use memcpy((char*)(0x40002000), something) esp8266 threw an Exception 29.
I looked up xtensa document, it means StoreProhibitedCause. And I tried spi_flash_write(0x3C000, buffer, size), the same exception was threw.
The problem is how can i store my data into flash, and what is its size?
Sorry for my poor English, hope you can understand the text.