Flash ESP-01S
Wgrywanie espeasy na ESP-01S.
Połączenie:
GND FTDI -> GND i GPIO0
Vcc -> Vcc i GPIO2 (GPIO0 -> "0" i GPIO2 -> "1" - flash mode)
RX -> TX
TX -> RX
-----> RST i EN razem
do folderu z "esptool.exe" skopiowałem "ESP_Easy_mega-20190121_normal_ESP8266_1024.bin" jako e1.bin
>esptool.exe -vv -cd nodemcu -cb 115200 -cp COM6 -ca 0x00000 -cf e1.bin
i...:
C:\Users\HP\Desktop\Elektronika\esp_easy>esptool.exe -vv -cd nodemcu -cb 115200
-cp COM6 -ca 0x00000 -cf e1.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM6
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat e1.bin success
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_open
Uploading 797456 bytes from e1.bin to flash at 0x00000000
erasing flash
size: 0c2b10 address: 000000
first_sector_index: 0
total_sector_count: 195
head_sector_count: 16
adjusted_sector_count: 179
adjusted_size: 0b3000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 10000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...........................................................
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
Po restarcie odłączyłem i podłączyłem w tryb pracy (Vcc na EN), pojawiła się sieć ESP_easy_0
Dodaj komentarz