🎁📬❄️📦 Holiday Shipping Deadlines are approaching! International customers and domestic ground - get your orders in 12/9/2020 📦❄️📬🎁
0

pyboard tool error
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

pyboard tool error

by MarioHoff on Wed Nov 11, 2020 1:56 am

Hey,

it seems like I can't access the files stored in flash of my xbee 3, using the pyboard tool.
Although, I can use a command like this:
pyboard --device /dev/ttyUSB0 -b 9600 -c 'print(1+1)'
(which means that the pyboard tool is communicating with micropython's repl in my xbee), the following doesn't work:
pyboard --device /dev/ttyUSB0 -b 9600 -f ls
with the following error:
pyboard: error: unrecognized arguments: -f
which I am pretty sure that f flag is the correct one for filesystem operations...

Any help is welcomed!

MarioHoff
 
Posts: 1
Joined: Wed Nov 11, 2020 1:41 am

Re: pyboard tool error

by siddacious on Tue Nov 17, 2020 3:52 pm

That error is the pyboard program saying that it didn't like the arguments you're giving. The -f does look correct but you should review the examples here with special attention to the order of the flags and the flags' arguments

https://docs.micropython.org/en/latest/ ... rd.py.html

siddacious
 
Posts: 372
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.