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?
-
This post is deleted!
-
@formica does any other ampy action work, like 'ls' or 'ls /flash'?
and the usual brute force hammer on linux, running it with sudo?
-
@robert-hh
No error.
Just hangs up the terminal and I have to type CTRL-C.:(
-
@formica What is the error message?
-
@robert-hh
Yes, nothing in the background.
Tried with 'ampy -p /dev/ttyUSB0 -b 115200 put myfile.py' without any result.:(
-
@formica I just retested it with the standard build - no problem. My boot.py is empty.
Do you close the Atom window or other REPL windows during upload? You have to.
-
@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
-
@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
(sysname='WiPy', nodename='WiPy', release='1.7.0.b1', version='v1.8.6-621-g17ee404e on 2017-05-25', machine='WiPy with ESP32')
-
@formica You shoud also tell the result of uos.uname()
-
MicroPython v1.8.6-621-g17ee404e on 2017-05-25; WiPy with ESP32
-
@formica Which version of the firmware do you use? And is theer a difference to version 1.15.0.b1 and earlier?