Created
March 6, 2018 08:50
-
-
Save gotbadger/82ad48717b708d8d4cd2e38dc563c3d9 to your computer and use it in GitHub Desktop.
Espurna Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get the bin file for your device: | |
https://github.com/xoseperez/espurna/releases | |
setup the hardware as described. Im using an FTDI cable this shows in my system as /dev/tty.usbserial-FTE384H9 and is used in the following examples | |
set GPIO 0 low | |
check with console that you see boot mode message | |
install esptool if needed | |
pip install esptool | |
sudo python /Library/Python/2.7/site-packages/esptool.py --port /dev/tty.usbserial-FTE384H9 --baud 74880 erase_flash 130 ↵ 10054 08:39:25 | |
esptool.py v2.2.1 | |
Connecting.... | |
Detecting chip type... ESP8266 | |
Chip is ESP8285 | |
Uploading stub... | |
Running stub... | |
Stub running... | |
Erasing flash (this may take a while)... | |
Chip erase completed successfully in 3.3s | |
Hard resetting.. | |
Power cycle the board | |
python /Library/Python/2.7/site-packages/esptool.py --port /dev/tty.usbserial-FTE384H9 --baud 115200 write_flash -fs 1MB -fm dout 0x00000 espurna-1.12.3-magichome-led-controller-23.bin | |
esptool.py v2.2.1 | |
Connecting.... | |
Detecting chip type... ESP8266 | |
Chip is ESP8285 | |
Uploading stub... | |
Running stub... | |
Stub running... | |
Configuring flash size... | |
Compressed 493920 bytes to 357650... | |
Wrote 493920 bytes (357650 compressed) at 0x00000000 in 31.7 seconds (effective 124.6 kbit/s)... | |
Hash of data verified. | |
Leaving... | |
Hard resetting... | |
open a serial console at 115200 | |
disconnect GPIO 0 so its no longer grounded and power cycle if everyting went ok you should see the following message | |
[000383] [INIT] ESPURNA 1.12.3 | |
[000383] [INIT] [email protected] | |
[000383] [INIT] http://tinkerman.cat | |
[000383] [INIT] CPU chip ID: 0x956550 | |
[000385] [INIT] CPU frequency: 80 MHz | |
[000388] [INIT] SDK version: 1.5.3(aec24ac9) | |
[000392] [INIT] Core version: 2_3_0 | |
[000395] [INIT] Core revision: | |
[000398] | |
[000399] [INIT] Flash chip ID: 0x144051 | |
[000402] [INIT] Flash speed: 40000000 Hz | |
[000406] [INIT] Flash mode: DOUT | |
[000409] | |
[000410] [INIT] Flash sector size: 4096 bytes | |
[000414] [INIT] Flash size (CHIP): 1048576 bytes | |
[000418] [INIT] Flash size (SDK): 1048576 bytes / 256 sectors | |
[000424] [INIT] Firmware size: 493920 bytes / 121 sectors | |
[000430] [INIT] OTA size: 532480 bytes / 130 sectors | |
[000435] [INIT] SPIFFS size: 0 bytes / 0 sectors | |
[000441] [INIT] EEPROM size: 4096 bytes / 1 sectors | |
[000446] [INIT] Empty space: 16384 bytes / 4 sectors | |
[000452] | |
[000453] [INIT] BOARD: MAGICHOME_LED_CONTROLLER_23 | |
[000457] [INIT] SUPPORT: ALEXA BROKER DEBUG_SERIAL DEBUG_TELNET DOMOTICZ HOMEASSISTANT MDNS_SERVER NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB | |
[000566] [INIT] Last reset reason: Power on | |
[000566] [INIT] Settings size: 67 bytes | |
[000567] [INIT] Free heap: 30648 bytes | |
[000568] [INIT] Power: 3152 mV | |
[000569] [INIT] Power saving delay value: 10 ms | |
[000573] | |
[000580] [TELNET] Listening on port 23 | |
[000581] [WEBSERVER] Webserver running on port 80 | |
[000582] [LIGHT] LIGHT_PROVIDER = 2 | |
[000584] [LIGHT] Number of channels: 4 | |
[000593] [RELAY] Retrieving mask: 255 | |
[000593] [RELAY] Relay #0 boot mode 0 | |
[000594] [RELAY] #0 set to OFF | |
[000599] [RELAY] Number of relays: 1 | |
[000600] [BUTTON] Number of buttons: 0 | |
[000604] [LED] Number of leds: 1 | |
[000607] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED | |
[000618] [THINGSPEAK] Async ENABLED, SSL DISABLED | |
[000627] [MAIN] Uptime: 0 seconds | |
[000628] [MAIN] Free heap: 21824 bytes | |
[000628] [MAIN] Power: 3151 mV | |
[000746] [WIFI] Creating access point | |
[001777] [WIFI] MODE AP -------------------------------------- | |
[001777] [WIFI] SSID <REDACTED> | |
[001778] [WIFI] PASS <REDACTED> | |
[001778] [WIFI] IP <REDACTED> | |
[001780] [WIFI] MAC <REDACTED> | |
[001784] [WIFI] ---------------------------------------------- | |
[001790] [MDNS] OK | |
[001793] [RELAY] Saving mask: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment