29*0x0 command A0 now correctly re-enables software data protection.
This commit is contained in:
@@ -125,6 +125,7 @@ sst_new_command(sst_t *dev, uint32_t addr, uint8_t val)
|
||||
|
||||
case SST_BYTE_PROGRAM:
|
||||
if (!dev->is_39) {
|
||||
dev->sdp = 1;
|
||||
memset(dev->page_buffer, 0xff, 128);
|
||||
dev->page_bytes = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user