Difference between revisions of "Use Wemos D1 Mini with broken UART"

From Tom's notes
Jump to navigation Jump to search
 
Line 9: Line 9:
 
* Press reset
 
* Press reset
 
* Wait until flash is complete. D3 can remain connected to ground (but should not be necessary).
 
* Wait until flash is complete. D3 can remain connected to ground (but should not be necessary).
 +
 +
== Minimal config to flash bare esp8266 module: ==
 +
* Gnd
 +
* Vcc
 +
* pull up Enable / CH_PD
 +
* pull down Flash (GPIO0)
 +
* pull down GPIO15
 +
* Connect via ground, rx, tx

Latest revision as of 15:01, 18 June 2023

  • Connect using external USB - UART converter: ground, 5V, RX, TX
  • Connect D3 (flash) to ground
  • To erase:
python3 -I ~/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool/esptool.py -p /dev/ttyUSB0 --chip esp8266 --before no_reset --baud 74880 --trace erase_flash
  • To flash, use Arduino IDE, set baud rate to 115200
  • Click upload in IDE
  • Press reset
  • Wait until flash is complete. D3 can remain connected to ground (but should not be necessary).

Minimal config to flash bare esp8266 module:

  • Gnd
  • Vcc
  • pull up Enable / CH_PD
  • pull down Flash (GPIO0)
  • pull down GPIO15
  • Connect via ground, rx, tx