From eebe794df2b61ca2dcbe26deaaa5974e8b6f383a Mon Sep 17 00:00:00 2001 From: ollo Date: Thu, 23 Jun 2016 20:45:07 +0200 Subject: [PATCH] Documentation for the first setup updated --- Readme.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index dc7ec4e..751ac1d 100644 --- a/Readme.md +++ b/Readme.md @@ -1,11 +1,25 @@ # ESP Wordclock ## Setup -Generate a wlancfg.lua for your wifi based on the given example wlancfg.lua.example -Copy the required files to the microcontroller: +Install the firmware on the ESP: +The ESP must be set into the bootloader mode, like [this](https://www.ccc-mannheim.de/wiki/ESP8266#Boot_Modi) + +The firmware can be downloaded with the following script:
- sudo ./programESP.sh serial wlancfg.lua.lua wlancfg.lua
- sudo ./programESP.sh serial init.lua init.lua
+cd os/
+./flash.sh ttyUSB0
+
+ +Reboot the ESP, with a serial terminal, +format the filesystem with the following command and reboot it: +
+file.format()
+node.reboot()
+
+ +Then disconnect the serial terminal and copy the required files to the microcontroller: +
+./tools/initialFlash.sh /dev/ttyUSB0
 
## Internal Setup