Why can't I access my ESP8266 USB after detaching REPL from UART0? How do I fix this?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
ozigzagor
Posts: 4
Joined: Wed Jul 08, 2020 5:12 am

Why can't I access my ESP8266 USB after detaching REPL from UART0? How do I fix this?

Post by ozigzagor » Wed Jul 08, 2020 5:17 am

What I put into my otherwise mostly empty main.py code was basically:

Code: Select all

import uos
uos.dupterm(None, 1)
I uploaded this code to my microcontroller and it stopped being able to connect to my computer. My aim was trying to connect to a Bluetooth module (ZS-040). Now I can't even connect to the microcontroller.

I was intending to make a serial connection to the Bluetooth module while keeping the UART0 bus separate for USB and REPL connection. Now, I am stranded, having done quite the opposite. How do I fix this?

Post Reply