ESP01 Serial Monitor not showing anything

Hi there,
since I have updated Visual Studio Code and Platfrom IO yesterday, the serial monitor doesn’t won’t work anymore.

In Arduino IDE everything works fine, but in VSC with PlatformIO I have troubles now.
The serial monitor works 2 times of 100 tries.

Does anyone have an idea?

VSC Version: 1.38.1
Platform Home Version: 2.3.3
Platform Core: 4.0.3
OS: Ubuntu 19.04

dmesg
[ 9702.953920] usb 1-10: USB disconnect, device number 60
[ 9702.954306] usb 1-10: failed to send control message: -19
[ 9702.954582] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 9702.954635] ch341 1-10:1.0: device disconnected
[ 9703.600791] usb 1-10: new full-speed USB device number 61 using xhci_hcd
[ 9703.749887] usb 1-10: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[ 9703.749892] usb 1-10: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 9703.749895] usb 1-10: Product: USB2.0-Serial
[ 9703.751945] ch341 1-10:1.0: ch341-uart converter detected
[ 9703.752414] usb 1-10: ch341-uart converter now attached to ttyUSB0

Problem is right there

But the second invocation with platformio device monitor uses the correct baud.

Can you do a miniterm.py /dev/ttyUSB0 74880 then press the reset button? This should display the bootloader messages. If nothing comes up, something is wrong with the chip-enable or reset lines. What is your exact hardware setup?

1 Like

Hi @maxgerhardt,
I have this hardware and connected the GPIO0 with GND directly for flashing. And connected the RST with a push switch to GND.

aschtae@aschtae-dev:~$ miniterm.py /dev/ttyUSB0 74880
— Miniterm on /dev/ttyUSB0 74880,8,N,1 —
— Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:2, boot mode:(1,6)

…but you do disconnect this bridge after flashing and reset the chip so that it runs the firmware and doesn’t go into flashing mode, right?

1 Like

No i didn’t disconnect this bridge after flashing, because it worked before without disconnect the bridge. And in Arduino IDE it works also without disconnect the bridge.

But after i disconnect the bridge and reset the chip it works.

Thanks!