Hardware:
- Witty Cloud (ESP8266)
- Micro-USB cable
Software:
- Espressif esptool
- Blynk.NCP firmware binary: BlynkNCP_generic_esp8266_4M.flash.bin
- Assemble the Witty Cloud board (insert the top part into the bottom part)
- Connect the board to your PC using the bottom USB port
Run this command:
esptool.py --baud 460800 --before default_reset --after hard_reset write_flash --flash_size detect --erase-all 0x0 BlynkNCP_generic_esp8266_4M.flash.bin
Expected esptool output
esptool.py v4.6.2
Serial port /dev/ttyUSB1
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 4c:75:25:xx:xx:xx
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Erasing flash (this may take a while)...
Chip erase completed successfully in 9.8s
Compressed 515296 bytes to 372588...
Wrote 515296 bytes (372588 compressed) at 0x00000000 in 8.4 seconds (effective 490.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
-
Re-connect the USB cable.
-
Use your favorite serial terminal software (
PuTTY
,minicom
,screen
) to access the TTL serial console (38400 8N1
). -
Press the
RST
button on the Witty Cloud and wait a few seconds. -
The serial monitor should display:
[rpc port] Blynk.NCP started Version: x.x.x, Build: (date and time)
- Disconnect the USB cable from Witty Cloud.
- Detach the top and bottom parts.
- Use the top part of Witty Cloud as your Network Co-Processor.