Look at the return value of wait_82802ab() Signed-off-by: Stefan Reinauer Index: sst49lfxxxc.c =================================================================== --- sst49lfxxxc.c (revision 993) +++ sst49lfxxxc.c (working copy) @@ -84,6 +84,7 @@ chip_writeb(0xD0, bios + address); status = wait_82802ab(bios); + print_status_82802ab(status); if (check_erased_range(flash, address, sector_size)) { msg_cerr("ERASE FAILED!\n");