I am using FRDM-KW41Z development board and i am developing an application similar to otap client .
I tested otap client and it works fine.I tried to upgrade the device with my application similar to otap.
It also works fine.New image booted successfully.
I am using otap support files as base and developed an application.
I written commands for reading and writing data from and to external flash memory.
I am able to write and read back the data successfully.
But,Once the board is power resetted(unplugged the USB and attach to computer again).I am not able to find the same data in previously written memory.
Is there special command has to be sent through SPI to make the written data persistent ?