During development the Uboot/Linux driver for S25FL256S flash, I encounter a problem that the flash seems to be locked and cannot be reset. Even the JTAG also cannot erase/program the flash, only debug the code in the RAM.
I tried to read registers, the SR1 = 0x1C, the CR1 = 0xEE. the BPNV bit has been set to 1 and BP2-0 in SR are volatile and will be reset to binary 111 after POR.
I have got the similiar problem. I tried to change the CR1 value.And after that ,the flash device is unaccessible.I can not even read the device ID. The SR1 and CR1 value can not be read out either. Any idea will be appraciate.