Nodemcu-uploader error.

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
blckpstv
Posts: 28
Joined: Thu Dec 15, 2016 9:11 pm
Location: Belgium

Nodemcu-uploader error.

Post by blckpstv » Thu Jan 19, 2017 3:52 pm

I want to upload files (MQTT & altered boot.py) from my computer to my Wemos D1 mini.

When trying with Nodemcu-uploader i get following error.

Code: Select all

nodemcu-uploader --port /dev/cu.wchusbserial1410 download boot.py
opening port /dev/cu.wchusbserial1410 with 115200 baud
Traceback (most recent call last):
  File "/usr/local/bin/nodemcu-uploader", line 11, in <module>
    sys.exit(main_func())
  File "/usr/local/lib/python2.7/site-packages/nodemcu_uploader/main.py", line 250, in main_func
    uploader = Uploader(args.port, args.baud, start_baud=args.start_baud)
  File "/usr/local/lib/python2.7/site-packages/nodemcu_uploader/uploader.py", line 71, in __init__
    __sync()
  File "/usr/local/lib/python2.7/site-packages/nodemcu_uploader/uploader.py", line 69, in __sync
    raise DeviceNotFoundException('Device not found or wrong port')
nodemcu_uploader.exceptions.DeviceNotFoundException: Device not found or wrong port
The port is correct! I've been using it for other connections and it works.

I've tried it with http://micropython.org/webrepl/

And my connections gets disconnected after a while, with no ability to download or upload. Wifi is enabled and both are connected to my home router. (my laptop & the wemos) Ip adress is also correct. => ws://192.168.4.1:8266/
(I didn't change the port though, seems like this is the correct one?)

I thought I had to connect to it via my network, but when I see my micropython-..... in the list it asks me for a wpa2 password, which I don't recall giving it.

Post Reply