This is a reposting of my question, thought I resolved it but it returned;
New board, used about 3 times working on a sketch, working on the door sensor sketch with Telegram. After a few times debugging the sketch it just stopped working and gave me the above error. I tried to load a blank sketch to make sure it wasn’t something with the sketch but to no avail. I have seen that in other posting people have had this same issue with the development board and soldered a 10 uf cap to the en pin. This board does not have it and wasn’t sure if it was the same solution for it.
I did some research on that board and did find the location for EN on the chip, I used the bread board to try the 10 uf cap + side to chip and and to ground, didn’t work.
I have also read that there is an issue with the cheap knock off boards where you have to remove the shield and replace the processor .This board is a Doiting ESP12-F board , so it is a branded board and assume it’s not a cheap Chinese knock off . Thanks
This is a duplicate of this: https://rntlab.com/question/esp12-f-error-esp8266invalid-head-of-packet-ox2e/
Sara, this isn’t resolved, reason for repost tot was it wouldn’t work no matter which cable I used. It seems that this is something intermittent. Thanks
Hi.
I’m sorry for the misunderstanding. I thought replacing the cable had solved the problem.
Other things you might want to check:
- are you using a USB hub to connect the ESP32 to your computer? It might not provide enough power.
- there might be an issue with your USB ports
- disconnect all peripherals from the board when trying to upload code.
Regards,
Sara
Really glad you brought that up, been wanting to ask that question all along. I actually damaged my dub port on my laptop. It has 4 , 2 ports on each side, I was powering the board with external source and plugged into my laptop with out unplugging the external power source. So how do you power board and still be able to program your ESP safely?
So to answer your question, the laptop was powering the board, never had an issue there, have read that people seen times where the ESP just stopped working, not sure that makes sense to work intermittently, either it works or you kill it like I have done in the past, not paying attention to what you are doing. Some have gone ad far as to say that they met their limits on downloading but that makes little sense also.
Really glad you brought that up, been wanting to ask that question all along. I actually damaged my dub port on my laptop. It has 4 , 2 ports on each side, I was powering the board with external source and plugged into my laptop with out unplugging the external power source. So how do you power board and still be able to program your ESP safely?
So to answer your question, the laptop was powering the board, never had an issue there, have read that people seen times where the ESP just stopped working, not sure that makes sense to work intermittently, either it works or you kill it like I have done in the past, not paying attention to what you are doing. Some have gone ad far as to say that they met their limits on downloading but that makes little sense also.
I know with electronics , anything can happen especially static can be a culprit, I try to always use anti static mats when I work with this stuff.
Hi Larry.
There are USB hubs that are powered externally. Using one of those is a way to ensure that there is enough power on the USB ports.
Are you still having the issue?
Can you share a picture of your board or a link to the board you’re using?
Which version of the ESP32 boards are you using in your Arduino IDE? Tools > Boards Manager and search for ESP8266 (check the version).
Regards,
Sara