uPyLoader Will Not Connect with USB and Serial Connection

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
flywire
Posts: 20
Joined: Wed Jan 02, 2019 7:08 am

uPyLoader Will Not Connect with USB and Serial Connection

Post by flywire » Sat Jan 05, 2019 12:08 pm

uPyLoader fails to connect on a LoLin NodeMCU board by wifi or usb cable to PC if RXDO (GPIO3) is attached to modem TX, regardless of modem on/off. [TXD0 (GPIO1) and GND are attached to modem RX and GND respectively.]

uPyLoader connects without problems by usb or wifi if RXD2 (GPIO13), TXD2 (GPIO15) and GND are attached to modem TX, RX and GND respectively.

I need to read modem uart. Is there a way to connect modem to RXD0 or do I need to use different uart serial channels and uos.dupterm? If so how?

Edit: I'll think more about Feedback on uart_swap implementation.

Hmm:
Terminal redirection and duplication
class UART – duplex serial communication bus, methods
Documentation is [s]certainly terse, could use some example code[/s] bloody useless.

cyberlab
Posts: 47
Joined: Sat Apr 21, 2018 5:02 am

Re: uPyLoader Will Not Connect with USB and Serial Connection

Post by cyberlab » Mon Jan 07, 2019 5:03 am

this happens because the micro usb is connected to these pins (RXD0 and TXD0) and you can only connect a single device or upyloader or the modem

cyberlab
Posts: 47
Joined: Sat Apr 21, 2018 5:02 am

Re: uPyLoader Will Not Connect with USB and Serial Connection

Post by cyberlab » Mon Jan 07, 2019 5:06 am

I think you should be able to connect with upyloader via wifi and with the modem via RXD0 and TXD0

Post Reply