I am trying to move my ESP8266 project over to a custom PCB. I just received the first version. The idea is to use Espressif’s Prog Board to upload to the ESP via serial connection.
The PCB is based on the wroom2 module, so I assume that’s what I’d have to select as board? I have this very simple PlatfromIO ini file:
But if I understand you correctly, as long as I’m not using the JTAG stuff, the upload protocol would be esptool even if I’m using the prog board? I’ll give that a try.
Okay, thanks everyone, I got that working now. I simply didn’t understand that not all ways to use the esp prog board require the esp-prog upload protocol.
Unfortunately there’s still something wrong with my connection. After being able to upload a very simple project a couple of times in a row, I then never got it to work anymore. I’ve been trying to fix this for a couple of hours now, but the farthest I get is either this error:
“A fatal error occurred: Timed out waiting for packet header” right after it is saying “Uploading stub…” or sometimes it does start to copy but then stops after 20 or 30% and just times out.
I’ve tried various different baud rates, connecting the prog board and the PCB to power as I thought maybe I don’t have enough power, tried different USB ports on my Mac, manually putting it in boot mode,… nothing.
Never mind, finally got this working. After trying the third USB cable I thought I ruled out an issue with the USB cable, but apparently the forth cable fixed it and the connection is rock solid now!