RS232 over WIFI: Difference between revisions

From B-Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
Flashing: https://github.com/jeelabs/esp-link/blob/master/FLASHING.md
Flashing: https://github.com/jeelabs/esp-link/blob/master/FLASHING.md


<syntaxhighlight>
<pre>
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 4m -ff 40m \
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 4m -ff 40m \
     0x00000 boot_v1.5.bin 0x1000 user1.bin \
     0x00000 boot_v1.5.bin 0x1000 user1.bin \
     0x7C000 esp_init_data_default.bin 0x7E000 blank.bin
     0x7C000 esp_init_data_default.bin 0x7E000 blank.bin
</pre>


</syntaxhighlight>


* platformio configuration
* platformio configuration
<syntaxhighlight>
 
<pre>
upload_port = socket://192.168.2.253:23
upload_port = socket://192.168.2.253:23
monitor_port = socket://192.168.2.253:23
monitor_port = socket://192.168.2.253:23
</syntaxhighlight>
</pre>

Latest revision as of 21:08, 1 January 2024

Tools needed

Application for the esp8266 to have a bridge to the device

Flashing: https://github.com/jeelabs/esp-link/blob/master/FLASHING.md

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 4m -ff 40m \
    0x00000 boot_v1.5.bin 0x1000 user1.bin \
    0x7C000 esp_init_data_default.bin 0x7E000 blank.bin


  • platformio configuration

upload_port = socket://192.168.2.253:23
monitor_port = socket://192.168.2.253:23