jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

no TX to RFLink Gateway #425

Open dknubben opened 5 years ago

dknubben commented 5 years ago

Hello, I have connected a Wemos D1 mini and esp-link v3.2.47 via level shifter to a Nodo RFLink Gateway TX0/RX0 not swapped (57600,8N1). Receiving data is ok (with or without RX pull-up), but sending data from Microcontroller console or a telnet client is not possible. Same problem with V2.2.3. The same hardware with ESP Easy and a "serial server" works without problems. Any ideas? Thanks!

Update 1: Sending data with v3.0.14 is partly possible after booting, then it stops completely working after a while. I guess there is a problem with Wemos D1 mini and pro. UART buffer/timing or something other.

Update 2: With latest code (v3.2.50) receiving and transmitting data is possible on GPIO13/15 in swapped mode. The problem on TX0/GPIO1 is still present. In serbridge.c line 573: PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, 0); PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, 0); Is this the right initialisation for TX?

An other problem: With the level shifter and the connected arduino GPIO15 is in "high" state, so the ESP8622 cannot boot. Any way to remap the GPIO13/15 to an other pin as soft serial?