Timeline for How to flash a NodeMCU (ESP8266) with an external FTDI programmer?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 22, 2021 at 20:41 | comment | added | timemage | Let us continue this discussion in chat. | |
| Feb 22, 2021 at 20:24 | comment | added | shyney | Ok so I tried to flash it while powering the esp with the programmer. Unfortunately Im still not able to flash the esp. I opened the serial monitor on the com port of the programmer to see what boot mode the esp is starting if I press the flash button and then press the reset button this is the output: ets Jan 8 2013,rst cause:2, boot mode:(1,7) this should be correct. But its the same case as if I try with the build in USB to UART connection. It cant establish the connection for flashing and just times out. :( I think that I just have a faulty Chip (serial monitor was closed while flash) | |
| Feb 22, 2021 at 19:58 | vote | accept | shyney | ||
| Feb 22, 2021 at 19:55 | comment | added | timemage | Even on an Arduino UNO, where the serial transceiver and and the microcontroller are powered together, resisters are still in place to protect against accidentally driving serial pins the wrong way; it lets people be a bit more careless. What you've shown is something I would do, because I know not to try to drive one of the serial pins opposite the FTDI. If it was something I was putting "into the field" as it were, I'd be more inclined to have them in there, just in case I screw up. | |
| Feb 22, 2021 at 19:53 | comment | added | timemage | Right, that removes the "independently powering" concern. Just be careful your code doesn't do something like use pinMode with OUTPUT on the RX pin and you should be fine. | |
| Feb 22, 2021 at 19:48 | comment | added | shyney | Is it also possible to connect it like this: imgur.com/a/Tb7Llow I'm not sure if the programmer is going to be able to power the nodemcu up but at least then I dont need to mess up with resistors etc. is this possible? | |
| Feb 22, 2021 at 17:14 | comment | added | timemage | They're just in series with the signal, which hopefully will be clear in the above. I'm addressing that only briefly though, otherwise there's more in there about that then just answering the question. | |
| Feb 22, 2021 at 17:13 | history | edited | timemage | CC BY-SA 4.0 | Expanded with regard to resistors. |
| Feb 22, 2021 at 17:02 | comment | added | shyney | which resistors should I use and how exaclty do I wire them up? (The programmer that I have has jumper connectors for 5v and 3.3v) | |
| Feb 22, 2021 at 16:54 | history | answered | timemage | CC BY-SA 4.0 |