From 80eb756a78479d5d2b7f9b7263ed4be3783010b4 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sun, 11 Dec 2016 15:59:58 -0800 Subject: [PATCH] switch to lwip_536; minor fixes --- Makefile | 2 +- README.md | 6 ++++++ UC-FLASHING.md | 6 ++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4172785..2c43ddb 100644 --- a/Makefile +++ b/Makefile @@ -235,7 +235,7 @@ MODULES += $(foreach sdir,$(LIBRARIES_DIR),$(wildcard $(sdir)/*)) EXTRA_INCDIR = include . # libraries used in this project, mainly provided by the SDK -LIBS = c gcc hal phy pp net80211 wpa main lwip crypto +LIBS = c gcc hal phy pp net80211 wpa main lwip_536 crypto # compiler flags using during compilation of source files CFLAGS += -Os -ggdb -std=c99 -Werror -Wpointer-arith -Wundef -Wall -Wl,-EL -fno-inline-functions \ diff --git a/README.md b/README.md index 17ef3a0..8cd3635 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,12 @@ Note that multiple connections to port 23 and 2323 can be made simultaneously. E intermix characters received on all these connections onto the serial TX and it will broadcast incoming characters from the serial RX to all connections. Use with caution! +If you are using esp-link to connect to the console of a linux system, such as an rPi, you +will most likely see what you typed being echoed twice. If you are on a linux system use +telnet and issue a `mode char` command (in telnet, hit the escape char `^]` and type `mode +char` at the prompt). If you are using putty on Windows, open the connection settings and +in the terminal settings set both `local echo` and `local line editing` to `off`. + Contact ------- diff --git a/UC-FLASHING.md b/UC-FLASHING.md index 9659f37..fa22133 100644 --- a/UC-FLASHING.md +++ b/UC-FLASHING.md @@ -10,7 +10,7 @@ broadcast incoming characters from the serial RX to all connections. Use with ca ### Flashing an attached AVR/Arduino -There are three options for reprogramming an attached AVR/Arduino microcontroller: +There are multiple options for reprogramming an attached AVR/Arduino microcontroller: - Use avrdude and point it at port 23 of esp-link. Esp-link automatically detects the programming sequence and issues a reset to the AVR. @@ -18,6 +18,8 @@ There are three options for reprogramming an attached AVR/Arduino microcontrolle autodectection is not used and the reset happens because port 2323 is used - Use curl or a similar tool to HTTP POST the firmware to esp-link. This uses the built-in programmer, which only works for AVRs/Arduinos with the optiboot bootloader (which is std). +- Use some serial port forwarding software, such as com2com, or hwvsp (you have to uncheck + nvt in the settings when using the latter). To reprogram an Arduino / AVR microcontroller by pointing avrdude at port 23 or 2323 you specify a serial port of the form `net:esp-link:23` in avrdude's -P option, where @@ -127,7 +129,7 @@ it starts the connection with the `?\r\n` synchronization sequence. ### Flashing an attached esp8266 -__Flashing another esp8266 module is possible in theory but real-world attempts haveso far been +__Flashing another esp8266 module is possible in theory but real-world attempts have so far been rather unsuccessful due to Wifi interference. This section is left here in case someone else wants to dig in and find a solution.__