Chat freely about anything...

User avatar
By DonFrench
#54835 I am having a lot of problems uploading a sketch to my board containing an ESP-12F using the Arduino IDE. For what it is worth here is my schematic:

Image

I have on a couple occasions succeeded but most of the time I get this error message repeated 8 times:

error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data

followed by

warning: espcomm_sync failed
error: espcomm_open failed

I am using the Sparkfun FTDI Basic and am only using the four pins as shown on my header. I am confident that they are all connected to the correct header pins on my board. I am powering the board with 4 AA cells and the voltages into and out of the VR are 5.10 and 3.28, as expected. The diode is a 1N4148 110V 150 ma in a SOD 123 package (man, those are tiny leads!). I made a breadboard version with a different diode, a through-hole 1N4004 1A 400V. And as I write this, I realize that the only version that employed a diode and successfully uploaded the sketch was the breadboard version. So, what do you think - the SMD diode is the culprit? If I want to use a surface mount diode on my board, which one do you suggest? One with more than 150 ma current capacity, I suppose.
User avatar
By DonFrench
#54838 Well, just for grins I took that little diode off the board and soldered on a couple wires that I attached to that other diode. It did not help. I am kind of at my wit's end here. If it hadn't worked once with DTR toggling the GPIO-0 line between 3.3 and GND, I would think that the problem was in that area. But it did. And what are those slip payload data errors? I double and triple checked the RX and TX pins and even one time tried reversing them even though I was sure that they were right. I didn't get the slip payload data errors but got the familiar warning: espcomm_sync failed error instead.