====================================================================================================
Transparent ESP8266 WiFi-to-Serial Bridge | Hackaday
====================================================================================================

----------------------------------------------------------------------------------------------------
ESP-LINK and all its files are not part of the eCxx library and are not covered by eCxx licenses.
----------------------------------------------------------------------------------------------------

Please refer to these resources for more details:

    https://hackaday.com/2015/09/18/transparent-esp8266-wifi-to-serial-bridge

    https://github.com/jeelabs/esp-link
    https://github.com/jeelabs/esp-link/releases/tag/v2.2.3

----------------------------------------------------------------------------------------------------
Please refer to LICENSE.txt file for the licensing details.
----------------------------------------------------------------------------------------------------


====================================================================================================
Download and Installing to an ESP-01 Module
====================================================================================================

--------------------
Downloading ESP-LINK
--------------------

wget -c https://github.com/jeelabs/esp-link/releases/download/v2.2.3/esp-link-v2.2.3.tgz
tar -xzvpf esp-link-v2.2.3.tgz

cd esp-link-v2.2.3


------------------------------------------
Flashing ESP-LINK to ESP-01 Blue (512k kB)
------------------------------------------
Older esptool:

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 4m -ff 40m 0x00000 boot_v1.5.bin 0x1000 user1.bin 0x7E000 blank.bin


Newer esptool:

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 512KB -ff 40m 0x00000 boot_v1.5.bin 0x1000 user1.bin 0x7E000 blank.bin


---------------------------------
Flashing ESP-LINK to Black (1 MB)
---------------------------------
Older esptool:

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 8m -ff 40m 0x00000 boot_v1.5.bin 0x1000 user1.bin 0xFE000 blank.bin


Newer esptool:

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 1MB -ff 40m 0x00000 boot_v1.5.bin 0x1000 user1.bin 0xFE000 blank.bin


------------------
WiFi Configuration
------------------
Connect to the module and browse to:
    http://192.168.4.1/home.html

and change these parameters:

    System Overview
        Hostname                : esp01au

    Pin Assignment
        Presets                 : <empty>
        Reset                   : GPIO2/TX1
        ISP/Flash               : Disabled
        Conn LED                : Disabled
        Serial LED              : Disabled
        UART Pins               : Normal
        Rx Pull-Up              : Unchecked

    WiFi Soft-AP Settings
        Soft-AP SSID            : ESP_01_AVR_Uploader
        Soft-AP Password        : esp-01-avr-uploader
        Soft-AP Auth Mode       : WPA2_PSK
        Soft-AP Max Connections : 4
        Soft-AP Beacon Interval : 100
        Soft-AP SSID Hidden     : Unchecked

    Services - SNTP
        SNTP Server             : <empty>
        Timezone Offset         : 0

    Debug Log
        UART Debug Log          : Off


====================================================================================================
Uploading to AVR
====================================================================================================

avrdude -c arduino -P net:192.168.4.1:2323 -b 115200 -p atmega328p -D -U flash:w:firmware.hex:i


====================================================================================================
