Try to reflash with esptool.py, it also has erase option