Skip to content

Release 0.10.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@tve tve released this 04 Jul 20:21
· 520 commits to master since this release

Release with over-the-air (OTA) reflashing of the esp, and port 23 transparent bridge as well as AVR & ARM flashing support. Simple debug log page to view the esp-link's own os_printf output via the web and a console page to see the attached uC's output. Buttons to reset the uC and change the baud rate. A pin configuration selector to change GPIO function assignments.

Changes since v0.10.2: fix hamburger menu; improve serial LED; improve layout on small devices; change default patched SDK path not to have 'p' suffix

Note in case you want to build from source: this uses the Espressif SDK 1.1.2 with the patch for the scan issue http://bbs.espressif.com/viewtopic.php?f=5&t=608&sid=01aa4b108572b8d08b3c43a2014c0618

To install on your esp8266 module see the project README.
The short version for the serial install is:

  • flash boot_v1.4(b1).bin from the official esp_iot_sdk_v1.1.2 and included in the release tgz to 0x00000
  • flash blank.bin from the official SDK and also included here to 0x7e000
  • flash user1.bin to 0x01000
curl -L https://github.com/jeelabs/esp-link/releases/download/0.10.1/esp-link.tgz | tar xzf -
cd esp-link
esptool.py write_flash 0x00000 boot_v1.4\(b1\).bin 0x1000 user1.bin 0x7e000 blank.bin

If you want to speed things up a bit and if you need to specify the port you can use a command
line like:

esptool.py --port /dev/ttyUSB0 --baud 460880 write_flash 0x00000 boot_v1.4\(b1\).bin \
           0x1000 user1.bin 0x7e000 blank.bin

The short version for an OTA upgrade is:

curl -L https://github.com/jeelabs/esp-link/releases/download/0.10.3/esp-link.tgz | tar xzf -
cd esp-link
./wiflash <esp-hostname> user1.bin user2.bin

Missing for 1.0 release: https://github.com/jeelabs/esp-link/issues?q=is%3Aopen+is%3Aissue+milestone%3A1.0

In case you need to install esptool.py for a serial flashing:
On Linux I am using esptool.py to flash the esp8266.
If you're a little python challenged (like I am) then the following install instructions might help:

  • Install ez_setup with the following two commands (I believe this will do something
    reasonable if you already have it):

    wget https://bootstrap.pypa.io/ez_setup.py
    python ez_setup.py
    
  • Install esptool.py:

    git clone https://github.com/themadinventor/esptool.git
    cd esptool
    python setup.py install
    cd ..
    esptool.py -h