W01 OEM + L01 reference board + Expansion board 2.0: ampy is possible?
-
Dear all, I'm new with pycom but I'm not new with micropython.
So, I would like to upload code through usb using ampy or rshell... but I can't. Is it possible?
I have a pycom W01 oem module soldered on an L01 reference board and mounted on an Expansion board 2.0.
I'm able to use REPL with 'screen' on /dev/ttyUSB0 but when I try to upload with 'ampy' (from Linux) everything hangs up.Any idea?
-
@formica Which version of the firmware do you use? And is theer a difference to version 1.15.0.b1 and earlier?
-
MicroPython v1.8.6-621-g17ee404e on 2017-05-25; WiPy with ESP32
-
@formica You shoud also tell the result of uos.uname()
-
@robert-hh
(sysname='WiPy', nodename='WiPy', release='1.7.0.b1', version='v1.8.6-621-g17ee404e on 2017-05-25', machine='WiPy with ESP32') -
@formica The release level is quite old, so you might consider updating. I tried ampy yesterday with a board running release 1.17.3.b1, and it worked.
You can still upload code through ftp/WiFi, as you surely know. And, since you have an expansion board, you can also use an Micro-SD card, at least for initial transfer. -
@robert-hh
No way robert.
Now my uname gives (sysname='WiPy', nodename='WiPy', release='1.17.3.b1', version='v1.8.6-849-83e2f7f on 2018-03-19', machine='WiPy with ESP32') but 'ampy' is still unusable...Maybe I have to modify something in the boot.py?
Regards
-
-
@robert-hh
Yes, nothing in the background.
Tried with 'ampy -p /dev/ttyUSB0 -b 115200 put myfile.py' without any result.:(
-
@formica What is the error message?
-
@robert-hh
No error.
Just hangs up the terminal and I have to type CTRL-C.:(
-
@formica does any other ampy action work, like 'ls' or 'ls /flash'?
and the usual brute force hammer on linux, running it with sudo? -
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login