Difference between revisions of "Use Wemos D1 Mini with broken UART"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created page with "- Connect using external USB - UART converter: ground, 5V, RX, TX - Connect D3 (flash) to ground - To erase: <source> python3 -I /home/tom/.arduino15/packages/esp8266/hardware...")  | 
				|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | * Connect using external USB - UART converter: ground, 5V, RX, TX  | |
| − | + | * Connect D3 (flash) to ground  | |
| − | + | * To erase:  | |
<source>  | <source>  | ||
| − | python3 -I   | + | 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  | 
</source>  | </source>  | ||
| − | + | * 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  | ||
Latest revision as of 14: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