esptool.py --port <serial-port-of-ESP8266> erase_flash
Then flash again and add the option "-fm dio" just to be on the safe side. If it works now then you can try again flashing with "-fm qio". QIO is favorable in terms of flash memory access performance but might not work on all modules out there.