channel3 icon indicating copy to clipboard operation
channel3 copied to clipboard

how to upload this code to my wemos D1??

Open panikinator opened this issue 7 years ago • 4 comments

I cannot upload this code with Arduino ide.please help

panikinator avatar Feb 06 '18 09:02 panikinator

You can use any of the firmware flashers other than arduino.

cnlohr avatar Feb 06 '18 19:02 cnlohr

https://github.com/espressif/esptool

$ sudo pip install esptool
$ esptool.py --port /dev/ttyUSB0 write_flash 0x00000 image.elf-0x00000.bin 0x40000 image.elf-0x40000.bin

UncleRus avatar Feb 09 '18 09:02 UncleRus

@UncleRus you also need to upload the mpfs file. I'm not sure what the syntax for that is, though.

Maybe...

$ sudo pip install esptool
$ esptool.py --port /dev/ttyUSB0 write_flash 0x00000 image.elf-0x00000.bin 0x40000 image.elf-0x40000.bin 0x10000 web/page.mpfs

cnlohr avatar Feb 16 '18 22:02 cnlohr

should try w/ conn. d1 to gnd

ryuk171 avatar Jul 01 '20 11:07 ryuk171