I am doing a project using zynq. I can build a mcs boot image and program into flash with offset 0x40000 and qspi_single flash type. The system can boot and works properpily. I try to add a fuction that it can read/write my default setting from the top memory of flash. But every time I write some data into the flash, the bootimage of flash will be damaged and can't boot anymore.
Is there any document show how can I resrver a block of flash memory and can read/write without damage boot code in the flash?