sipeed / MaixPy-v1_scripts

micropython scripts for MaixPy
https://maixpy.sipeed.com
MIT License
628 stars 432 forks source link

No response to keyboard in serial terminal connection to MaixPy #13

Open pscheie opened 5 years ago

pscheie commented 5 years ago

I can connect to my MaixPy via serial cable and I get the MaixPy welcome screen, but it doesn't respond at all to my keystrokes. I'm running minicom on Linux Mint connected to /dev/ttyACM0 at 115200 with hardware and software flow control set to OFF, and the backspace key set to DEL, and Line wrap set to YES. I've tried the USB cable that came with the MaixPy and one of my own USB cables. I also tried using gtkterm instead of minicom. They all do the same thing: I get the MaixPy greeting screen and the MicroPython >>> prompt, but when I hit Enter or Ctrl-C or any other key nothing happens.

Here's what minicom looks like when I connect:

Welcome to minicom 2.7.1

OPTIONS: I18n Compiled on Aug 13 2017, 15:25:34. Port /dev/ttyACM0, 20:57:40

Press CTRL-A Z for help on special keys


| \ \/ | /\ | | \ \ / / | _ \ \ \ / / | \ / | / \ | | \ V / | |) | \ _/ / | | \/ | / /\ \ | | > < | _/ \ / | | | | / _ \ | | / . \ | | | | | | | | / / \ \ || / / \ \ || || Official Site:http://www.sipeed.com/ Wiki:http://maixpy.sipeed.com/ [MAIXPY]Pll0:freq:320666666 [MAIXPY]Pll1:freq:159714285 [MAIXPY]Flash:0xc8:0x17 [MAIXPY]:Spiffs Mount successful [MAIXPY]LCD:init

MicroPython 3b5c45649-dirty on 2018-11-15; Sipeed_M1 with kendryte-k210 Type "help()" for more information.


CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyACM0

Any idea how to fix this? Is something on my MaixPy not set correctly? Minicom over serial works fine with other boards such as my BeagleBone Black (using an FTDI USB-to-serial adapter). Thanks.

pscheie commented 5 years ago

I should add that when I turn the MaixPy on I get the white-on-blue "Welcome to MaixPy" message on the screen, but when I connect to the MaixPy with minicom, the screen goes black/dark. That may be normal.