Cannot open REPL terminal on my Ubuntu server #15504
-
I have a ESP32-CAM connected with the ESP32-CAM-MB adapter. On my macbook I can connect to my REPL terminal using
I get the following:
not sure why it is acting different on this machine. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 22 replies
-
/dev/ttyACM0 instead of /dev/ttyUSB0? |
Beta Was this translation helpful? Give feedback.
-
ESP32-CAM with ESP32-CAM-MB adapter will not give a REPL because the Linux serial driver sets RTS and DTR to high by default. This means that the board is in programming mode when connected to USB. This makes it easy to flash new firmware, but does not reset the board to normal operating mode. This is what you can do (assuming the ESP32-CAM-MB is connected to /dev/ttyUSB0): $ miniterm --rts 0 --dtr 0 /dev/ttyUSB0 115200 You are still in boot loader mode. We need to do a hard reset. Locate the reset button on the ESP32-CAM (underneath the PCB, marked RST, near the 5V PIN). Press this button to initiate a hard reset. The RST on the ESP32-CAM-MB does not work. "Ctrl+alt+)" (which is Ctrl+]) to quit miniterm. Now $ screen /dev/ttyUSB0 115200 will give you REPL after a few 'Enter' keystrokes, "Ctrl-a k" will quit screen. Now all serial terminal programs; tio, mpremote, Thonny etc. will work normally. Note that you can also try Hope this helps. |
Beta Was this translation helpful? Give feedback.
ESP32-CAM with ESP32-CAM-MB adapter will not give a REPL because the Linux serial driver sets RTS and DTR to high by default. This means that the board is in programming mode when connected to USB. This makes it easy to flash new firmware, but does not reset the board to normal operating mode.
This is what you can do (assuming the ESP32-CAM-MB is connected to /dev/ttyUSB0):
You are still in boot loader mode. We need to do a hard reset. Locate the reset button on the ESP32-CAM (underneath the PCB, marked RST, near the 5V PIN). Press this button to initiate a hard reset. The RST on the ESP32-CAM-MB does not work.
"Ctrl+alt+)" (which is Ctrl+]) …