rshell has a -d command that causes all of the commands and responses that are sent to the board to be printed.
Can you also try running this script:
https://github.com/dhylands/usb-ser-mon ... nd_port.py
You can use this link to directly download:
https://raw.githubusercontent.com/dhyla ... nd_port.py
I'd like to see the output of running
When using rshell, make sure that whatever terminal program you normally use for the REPL has been shutdown. If you use tmux or screen make sure that there aren't any background ones running. If anything else is connected to the serial port (/dev/ttyACM1 in your example) then rshell won't work.
Under linux, you can use a command like:
to see if anybody else has that serial port open. I somtimes wind up with other copies of rshell on other windows which also messes things up.
Note to self: I really need to implement the proper serial port locking.
And it would also be good to see what
shows. Is your user a member of the dialout group? (You can use the id command to see what groups your user belongs to:
Code: Select all
2051 >id
uid=35029(dhylands) gid=1000(dhylands) groups=1000(dhylands),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare)