Shoots my thought to pieces. Hopefully there is an easy answer!! You are most welcome and once again thank you for asking in the first place. Next time I spend time with my ESP12F I'm going to try this to eliminate constantly having to switch jumpers around, reset, and reprogram. Already came too close to putting 5V to the reset pin!!The board thar I am using is nodemcu 1.0 whicu has 4MB flash storage.
I will continue debugging tommorow.
Big thanks to you sir
sudo esptool.py --port /dev/ttyUSB0 erase_flash
Just a quick update:
I have installed esptool.py on my raspberry PI and ran a script whilst connected to my ESP8266 through usb cable
Apparently, this script supposed to completely erase flash memory. After this cript, I have managed to succesffully run OTA on my Node-mcu-1.0 board.Code:sudo esptool.py --port /dev/ttyUSB0 erase_flash