Re: Example: simple webserver
Posted: Sun Oct 18, 2015 9:13 am
What is the correct way to clear this part of the flash?
Now i successfully cleared. But I think this is not the "beauty" way. I reflashed the original NODEMCU flash bin:
./esptool -bm qio -bz 512K -bf 40 -cp /dev/ttyUSB0 -cb 115200 -cd nodemcu -ca 0x00000 -cf nodemcu_float_0.9.6-dev_20150704.bin
than flash back the new espruino flash:
./esptool -bm qio -bz 512K -bf 40 -cp /dev/ttyUSB0 -cb 115200 -cd nodemcu -ca 0x00000 -cf espruino_esp8266_board_0x00000.bin -ca 0x10000 -cf espruino_esp8266_board_0x10000.bin
Now i successfully cleared. But I think this is not the "beauty" way. I reflashed the original NODEMCU flash bin:
./esptool -bm qio -bz 512K -bf 40 -cp /dev/ttyUSB0 -cb 115200 -cd nodemcu -ca 0x00000 -cf nodemcu_float_0.9.6-dev_20150704.bin
than flash back the new espruino flash:
./esptool -bm qio -bz 512K -bf 40 -cp /dev/ttyUSB0 -cb 115200 -cd nodemcu -ca 0x00000 -cf espruino_esp8266_board_0x00000.bin -ca 0x10000 -cf espruino_esp8266_board_0x10000.bin