Moderators: grovkillen, Stuntteam, TD-er
-
onlize
- Normal user
- Posts: 44
- Joined: 12 Aug 2017, 03:44
#1
Post
by onlize » 17 Mar 2018, 23:34
Hello,
I am trying to flash firmware and it is failing. I connected a UART (USB->TTL) converter to my nodeMCU. I connected the white cable (TX) to the RX pin and the green cable (RX) to the TX pin. Also, I connected the black cable to the GND pin of my nodeMCU, and I connected power supply to the nodeMCU.
I know that my UART (USB->TTL) converter works because I often use it with Raspberry PI boards during setup.
Can someone help me? When I try to flash the firmware, I have the following:
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
-
Shardan
- Normal user
- Posts: 1156
- Joined: 03 Sep 2016, 23:27
- Location: Bielefeld / Germany
#2
Post
by Shardan » 18 Mar 2018, 00:45
A node MCU?
It has flashing adapter on board so I'm not sure if an external UART
will work at all or not as the internal UART might block it.
You may just use an USB cable to flash a nodeMCU.
Usually they use a CP2102 (little square chip) or a CH340G (rectangle chip) as an UART.
That works quite well wihtout any button pushing as setting flashmode is done automatically.
Regards
Shardan
Regards
Shardan
-
onlize
- Normal user
- Posts: 44
- Joined: 12 Aug 2017, 03:44
#3
Post
by onlize » 18 Mar 2018, 01:49
Thank you for your reply.
Sorry, I am very new to this. What does it mean :
Usually they use a CP2102 (little square chip) or a CH340G (rectangle chip) as an UART.
Is it a special cable?
Thank you.
-
onlize
- Normal user
- Posts: 44
- Joined: 12 Aug 2017, 03:44
#4
Post
by onlize » 18 Mar 2018, 02:33
I was able to install it. Thank you for your help.
-
Shardan
- Normal user
- Posts: 1156
- Joined: 03 Sep 2016, 23:27
- Location: Bielefeld / Germany
#5
Post
by Shardan » 18 Mar 2018, 17:28
onlize wrote: ↑18 Mar 2018, 01:49
Thank you for your reply.
Sorry, I am very new to this. What does it mean :
Usually they use a CP2102 (little square chip) or a CH340G (rectangle chip) as an UART.
Is it a special cable?
Thank you.
These are the UART chips on the nodeMCU.
You should know the chip type as not all windows versions do have driver for these chips out of the box.
Regards
Shardan
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 8 guests