Page 1 of 1

Pathetic cry for help.

Posted: Sat Jul 01, 2017 12:19 am
by banda
I live in beautiful New Zealand.
Is there anyone in NZ willing to flash my (or their) esp8266 module with MICROPYTHON for me?
I've tried for months, but I'm just not good enough.
There doesn't seem to be any pre-loaded ones available.
Any advice would be most appreciated.

Re: Pathetic cry for help.

Posted: Mon Jul 03, 2017 11:14 am
by ioukos
Send it to France with an prestamped envelope. I'll make your install for you Kiwi, and I'll send it back to you.

More seriously you should give us some more details.

What have you tried so far ? what fails ? How do you know it fails ? Whats is your system, Linux, Windows ? Did you succeed to install Esptools ? etc...

PS: Where do you come from in New Zealand ?

Re: Pathetic cry for help.

Posted: Thu Jul 06, 2017 11:22 am
by cefn
I'm currently trying to work up a generic python-based script for retrieving and uploading micropython, based on ampy, esptool, pyserial. If you come back on this thread, it would be interesting to see if I can support you through using it, as well as your feedback improving the tool.

Re: Pathetic cry for help.

Posted: Fri Jul 07, 2017 6:56 am
by Roberthh
@banda, which kind of module are you trying to load?

Re: Pathetic cry for help.

Posted: Sat Jul 08, 2017 12:15 am
by mcauser
On OSX, to install precompiled firmware, it's as simple as:

Code: Select all

brew install python wget screen
pip install --upgrade pip setuptools
pip install esptool
wget http://micropython.org/resources/firmware/esp8266-20170612-v1.9.1.bin
esptool.py -p /dev/tty.wchusbserial1420 erase_flash
esptool.py -p /dev/tty.wchusbserial1420 write_flash -fm dio -fs 32m 0 esp8266-20170612-v1.9.1.bin
screen /dev/tty.wchusbserial1420 115200
[code]
Verbose version here: [url]https://github.com/mcauser/MicroPython-ESP8266-DHT-Nokia-5110#install-micropython-on-your-esp8266-device[/url]

Presuming you are using a Wemos D1 Mini ESP8266 board, which uses a CH340G USB-serial chip.
Driver here: https://wiki.wemos.cc/downloads

The /dev/tty.wchusbserial1420 is for the USB port on the right side of my MacBook and /dev/tty.wchusbserial1410 for the left USB port.
To find yours run:
[code]
ls /dev/tty*
If you don't see any, you need to install a driver for your boards USB-serial chip.

If you are using a different ESP8266 board which uses a CP210x chip, the driver can be found here:
https://www.silabs.com/products/develop ... cp-drivers
The Wemos D1 Mini Pro uses one, and it shows up as /dev/tty.SLAB_USBtoUART on my MacBook

Or, next time your are in Australia (Sydney), I'll hook you up a few boards.