Weemos Mini Lite works well but hard resets when entering REPL

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Weemos Mini Pro works well but hard resets when entering REPL

Post by mcauser » Fri May 26, 2017 5:43 am

Just to rule out confusion with the different Wemos boards
Theres are 3 Wemos D1 Mini boards. Original, Lite and Pro.
* https://wiki.wemos.cc/products:d1:d1_mini
* https://wiki.wemos.cc/products:d1:d1_mini_lite
* https://wiki.wemos.cc/products:d1:d1_mini_pro

Wemos D1 Mini is a breakout board for an ESP8266 module, which is soldered onto place, with 4GB flash and CH340G.
Wemos D1 Mini Lite is a dev board with a ESP8285 chip, with 1GB flash and CH340G
Wemos D1 Mini Pro is a dev board with a ESP8266 chip, with 16GB flash and CP2104

Only the Lite uses the ESP8285 chip, and with it's 1MB flash, a bit of a squeeze to fit MicroPython.

The original board's module used to be Wemos branded, now has an AI Thinker ESP-12S on the metal cover

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: Weemos Mini Pro works well but hard resets when entering REPL

Post by devnull » Fri May 26, 2017 11:27 am

Thanks, yes it is a mini-lite, my mistake.

I have corrected the thread title.

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: Weemos Mini Lite works well but hard resets when entering REPL

Post by devnull » Mon May 29, 2017 3:55 am

I have just received and tested the Mini-Pro and it does not have this problem, so it looks like this is limited to the Mini LITE.

It may be caused by the CH340G USB > Serial device, but can't say for sure.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Weemos Mini Lite works well but hard resets when entering REPL

Post by pythoncoder » Mon May 29, 2017 5:15 am

devnull wrote:...It may be caused by the CH340G USB > Serial device, but can't say for sure...
The D1 Mini is widely used and going by the post from @mcauser it uses the same chip.
Peter Hinch
Index to my micropython libraries.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Weemos Mini Lite works well but hard resets when entering REPL

Post by Roberthh » Mon May 29, 2017 5:21 am

Indeed, it does, and with that Wemos D1 mini and Mac OS X I've seen a 200 µs reset pulse when starting screen or picocom, whcih did NOT reset the device.
I've seen not such a reset pulse with a Huzzah feather and the CP2104 driver.

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: Weemos Mini Lite works well but hard resets when entering REPL

Post by devnull » Mon May 29, 2017 7:21 am

It is the Mini-Lite that I am referring to, that has an 8285 and a CH340G, this is the one that does a hard reset whenever you connect via serial.

The Mini-Pro which I just received has an 8266 and a CP2104 and thgs device does not do a hard reset when connecting via serial and behaves same as ESP12.

Post Reply