Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to upload this code to my wemos D1?? #12

Open
panikinator opened this issue Feb 6, 2018 · 4 comments
Open

how to upload this code to my wemos D1?? #12

panikinator opened this issue Feb 6, 2018 · 4 comments

Comments

@panikinator
Copy link

I cannot upload this code with Arduino ide.please help

@cnlohr
Copy link
Owner

cnlohr commented Feb 6, 2018

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

@UncleRus
Copy link

UncleRus commented Feb 9, 2018

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

@cnlohr
Copy link
Owner

cnlohr commented Feb 16, 2018

@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

@ryuk171
Copy link

ryuk171 commented Jul 1, 2020

should try w/ conn. d1 to gnd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants