Re: Flashing the D1 Mini Lite
Posted: Fri May 19, 2017 12:38 am
Thanks for all the good info here.
I was facing a similar issue where I could correctly flash the firmware (thanks for the tip, deshipu), but could not load any python scripts onto boards Wemos D1 Mini Lite or D1 Mini v2.20. Meanwhile, the D1 Mini Pro worked fine. ampy would hang without any output.
At some point, trying to isolate involved variables, I tried the ampy script within a virtualenv environment. It worked!
Back to the global system libraries, it turned out that although ampy was up to date, one of its dependencies was not (but still satisfying ampy's requirement): pyserial. I had version 2.6 and updated to 3.3.
So, in summary, everything worked fine after running:
sudo pip install --upgrade pyserial
I was facing a similar issue where I could correctly flash the firmware (thanks for the tip, deshipu), but could not load any python scripts onto boards Wemos D1 Mini Lite or D1 Mini v2.20. Meanwhile, the D1 Mini Pro worked fine. ampy would hang without any output.
At some point, trying to isolate involved variables, I tried the ampy script within a virtualenv environment. It worked!
Back to the global system libraries, it turned out that although ampy was up to date, one of its dependencies was not (but still satisfying ampy's requirement): pyserial. I had version 2.6 and updated to 3.3.
So, in summary, everything worked fine after running:
sudo pip install --upgrade pyserial