I'm running MicroPython version 1.19.1 on a Raspberry Pi Pico board.
When I try to run rshell, I connect to my own PC instead of the Pico board. When I use ls, the list is of the folders in my home directory.
I have previously used ampy to copy across file pico_helloworld.py which you can see in the rshell startup.
Is there something else I have to do in order to connect to the Pico?
rose@xxxxxxx:~$ rshell --port /dev/ttyACM0
Using buffer-size of 32
Connecting to /dev/ttyACM0 (buffer-size 32)...
Trying to connect to REPL connected
Retrieving sysname ... rp2
Testing if ubinascii.unhexlify exists ... Y
Retrieving root directories ... /pico_helloworld.py/
Setting time ... Aug 18, 2022 11:42:16
Evaluating board_name ... pyboard
Retrieving time epoch ... Jan 01, 1970
Welcome to rshell. Use Control-D (or the exit command) to exit rshell.
/home/rose> ls
Desktop/
Documents/
Downloads/
Music/
Pictures/
Public/
Templates/
Videos/
cmake-3.20.2/
esp/
openocd/
scripts/
snap/
/home/rose> ls -l /flash
Cannot access '/flash': No such file or directory
Hi,
Super noob question incoming...
I'm running MicroPython version 1.19.1 on a Raspberry Pi Pico board.
When I try to run
rshell
, I connect to my own PC instead of the Pico board. When I usels
, the list is of the folders in my home directory.I have previously used ampy to copy across file
pico_helloworld.py
which you can see in the rshell startup.Is there something else I have to do in order to connect to the Pico?