Code:
Welcome to minicom 2.7.1OPTIONS: I18nCompiled on Aug 13 2017, 15:25:34.Port /dev/ttyACM1, 16:50:32Press CTRL-A Z for help o+-----------------------------+ | | | Cannot open /dev/ttyACM1! |>>> print("Hello") | |Hello +-----------------------------+>>>
The USB tear-down and re-enumeration has caused my PIco which was on '/dev/ttyACM1' to become '/dev/ttyACM0' because I unplugged the USB device which had initially created that '/dev/ttyACM0'.
It's a classic case of pulling the rug out from under your own feet. Windows appears to fare better because it allocates the same fixed COM port number to the device every time it's re-enumerated.
Statistics: Posted by hippy — Tue Mar 19, 2024 5:04 pm