Hi I have a few Esp8266-01 modules I am learning to work with. I managed to program them all with the blink sketch. 2 of them would only program with the AVR ISP programmer option. I am using a FTDI cable. Now I changed some things in the sketch and it will not upload to the board anymore. I just added a Serial.begin(9600) command in Setup, and added a Serial.println("test") command in the loop section. the board is still working and I see the text correctly on the serial monitor, but the board will no longer will be programmed, no matter which option I choose, including setting the programming speed to 9600, and trying all the programmers available. I am using a hardware adapter programmer module that accepts the 8266 and the FTDI connection and has a button you press to allow it to be programmed. It has worked well so far, but now I appear to be "locked out". I think what is happening is it is getting the serial text sent from the sketch and that is screwing up the programming process, because the board is not in reset state. Do you know how I can fix this?
Update, I tried also holding the reset pin to ground until the start of programming, but now I get this error:
Sketch uses 224,245 bytes (44%) of program storage space. Maximum is 499,696 bytes.
Global variables use 31,748 bytes (38%) of dynamic memory, leaving 50,172 bytes for local variables. Maximum is 81,920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed