Search found 9 matches

by Henrique Miranda
Sun Aug 05, 2018 11:48 am
Forum: ESP8266 boards
Topic: Uploading MicroPython to Wemos D1 leads to garbage
Replies: 15
Views: 14256

Re: Uploading MicroPython to Wemos D1 leads to garbage

Hi all, I've used the my WeMos D1 Mini clone for other projects before, but seems like MicroPython doesn't want to run correctly. I used the following command to flash (from https://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/intro.html#deploying-the-firmware): esptool.py --port /dev/tt...
by Henrique Miranda
Sun Aug 05, 2018 11:40 am
Forum: ESP8266 boards
Topic: [SOLVED]D1 mini 4MB - loads a lot of garbage after micropython firmware flash
Replies: 7
Views: 6731

Re: D1 mini 4MB - loads a lot of garbage after micropython firmware flash

Hi guys, After a long time i discovered the solution fallowing a friend instructions, to solve this problem i have to compile the micropython firmware. My module still don't work using pre compiled firmwares but when i compile using this tutorial from adafruit( https://learn.adafruit.com/building-an...
by Henrique Miranda
Sat Mar 31, 2018 6:01 pm
Forum: ESP8266 boards
Topic: NodeMCU WebREPL doesn't work any more
Replies: 2
Views: 3726

Re: NodeMCU WebREPL doesn't work any more

After erase board using esptool.py, before set sta_if try to configure webrepl first. I got same error if i set sta_if before configure webrepl.
by Henrique Miranda
Sun Mar 25, 2018 1:07 pm
Forum: ESP8266 boards
Topic: Uploading MicroPython to Wemos D1 leads to garbage
Replies: 15
Views: 14256

Re: Uploading MicroPython to Wemos D1 leads to garbage

Hi, i'm getting the same problem with my d1 mini, how exactly you solved your issue? These are the commands: esptool.py --port /dev/tty.wchusbserial1420 --baud 115200 erase_flash esptool.py --port /dev/tty.wchusbserial1420 --baud 115200 write_flash -fm dio --flash_size=detect 0 ~/Downloads/esp8266-...
by Henrique Miranda
Sun Mar 25, 2018 12:41 pm
Forum: ESP8266 boards
Topic: [SOLVED]D1 mini 4MB - loads a lot of garbage after micropython firmware flash
Replies: 7
Views: 6731

Re: D1 mini 4MB - loads a lot of garbage after micropython firmware flash

deshipu wrote:
Sun Mar 25, 2018 12:13 pm
Are you sure dio is the correct flash mode for that board? Have you tried other modes?
Hi, i just tried now with -dout and still in the same mode. I think its a hardware problem:(
by Henrique Miranda
Sun Mar 25, 2018 3:57 am
Forum: ESP8266 boards
Topic: [SOLVED]D1 mini 4MB - loads a lot of garbage after micropython firmware flash
Replies: 7
Views: 6731

Re: D1 mini 4MB - loads a lot of garbage after micropython firmware flash

shaoziyang wrote:
Sun Mar 25, 2018 3:48 am
You don't flash firmware correctly.
Im flashing using normal parameters: esptool.py --baud 115200 --port /dev/ttyUSB0 write_flash -fm dio -fs 4MB -ff 40m 0x00000 esp8266-20180325-v1.9.3-477-g7b0a020a.bin
by Henrique Miranda
Sun Mar 25, 2018 2:56 am
Forum: ESP8266 boards
Topic: [SOLVED]D1 mini 4MB - loads a lot of garbage after micropython firmware flash
Replies: 7
Views: 6731

Re: D1 mini 4MB - loads a lot of garbage after micropython firmware flash

OutoftheBOTS_ wrote:
Sat Mar 24, 2018 8:54 pm
R u connecting at baud rate of 115200??
Yes, and i tried 9600 too but remain the garbage code on serial
by Henrique Miranda
Sat Mar 24, 2018 5:25 pm
Forum: ESP8266 boards
Topic: [SOLVED]D1 mini 4MB - loads a lot of garbage after micropython firmware flash
Replies: 7
Views: 6731

[SOLVED]D1 mini 4MB - loads a lot of garbage after micropython firmware flash

Hi guys, I used Micropython in my module before, but now i cant flash a working micropython firmware, while flashing ends the blue led show up and if i connect by serial i get a lot of garbage code. The module works fine with NodeMCU, AT and Arduino Firmwares. i just tried erase flash using esptool....
by Henrique Miranda
Sat Mar 24, 2018 4:04 pm
Forum: ESP8266 boards
Topic: Uploading MicroPython to Wemos D1 leads to garbage
Replies: 15
Views: 14256

Re: Uploading MicroPython to Wemos D1 leads to garbage

[quote=ris8_allo_zen0 post_id=26111 time=1520888793 user_id=3811]
Erasing the flash then using "-fm dio" did the trick. Thanks!!!
[/quote]

Hi, i'm getting the same problem with my d1 mini, how exactly you solved your issue?