sudo esptool.py --port /dev/ttyUSB0 erase_flash
I then wrote the flash using the following command...
sudo esptool.py --port /dev/ttyUSB0 write_flash --flash_size=detect 0 esp8266-20210418-v1.15.bin
I then used minicom to serial into the device. I tried both 9600 baud and 115200 baud. Neither worked. Specifically, I kept pressing enter and the REPL prompt did not appear. Please help!