dupterm/mpremote not working correctly over uart? #17416
-
Hello, I'm trying to shift my REPL to a UART port for development, because the USB port on the board will be inaccessible once the project is fully built up. I've got the UART pins brought out to a USB COM port adapter for now, and I can talk to it just fine using PuTTY - I get the REPL, I can run commands as I'd expect, no problems. But development environments don't work with it. Thonny gives me:
Micropico (VS Code) has mpremote tells me this:
...but ignores all input other than Ctrl-x and Ctrl-] (typing isn't even locally echoed) I have no main.py, but the following in boot.py, which apparently is sufficient to get the REPL in PuTTY at least:
My guess is there's a simple thing that I'm doing wrong, but I can't for the life of me figure out what it is. Thonny and mpremote are definitely using the correct COM port, although micropico doesn't tell you which one it's trying to use so I can't verify that. I'm running MicroPython 1.24 on a RPi Pico. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The |
Beta Was this translation helpful? Give feedback.
-
That was the thing! Thankyou 😊 |
Beta Was this translation helpful? Give feedback.
The
defaultonly baudrate that is supported by mpremote and most other tools is 115200so I'd suggest changing to
uart.init( baudrate=115200,
....