Esp8266 auth: Unterschied zwischen den Versionen
Reox (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Reox (Diskussion | Beiträge) |
||
Zeile 29: | Zeile 29: | ||
<code> esptool.py -p /dev/tty<SERIALPORT> write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin</code> | <code> esptool.py -p /dev/tty<SERIALPORT> write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin</code> | ||
or with newer versions of esptool (e.g. 0.4.6 on debian): <code>esptool -ca 0x00000 -cf 0x00000.bin -ca 0x10000 -cf 0x10000.bin</code> | or with newer versions of esptool (e.g. 0.4.6 on debian): <code>esptool -ca 0x00000 -cf 0x00000.bin -ca 0x10000 -cf 0x10000.bin</code> | ||
== How to flash .lua files == | |||
Use for example the [https://github.com/kmpm/nodemcu-uploader nodemcu-uploader]: | |||
<code>nodemcu-uploader -B 115200 upload *.lua</code> | |||
Beware: The tool will not tell you that lines are too long and can not be uploaded but instead throw some error messages you do not understand and exit... The solution is to remove the comments at the beginning of the file before uploading or split them up. | |||
==Todo== | ==Todo== |