The code on the microcontroller consists of a few print statements which I can view when I use
Code: Select all
idf.py -p (port) -b 115200 monitor
Code: Select all
import serial
import sys
with serial.Serial('{}'.format(sys.argv[1]), baudrate=115200) as ser:
print(ser.readline())
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
As the title suggests, the same issue is present using picocom:
Code: Select all
picocom (port) -b 115200
I've been unable to find anything online about a cause or solution for this problem. I'm wondering if there's something else that needs to be set in picocom/Python to prevent this.
---
For quick reference, I'm using
- ESP32-CAM (ESP-32S)
- ESP32-CAM-MB (for programming/connecting to the board). The FTDI chip is CH340C.
- picocom v2.2
- Python 3.6.9
- Windows 10