mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
04e1313524
commit
b46b6119b1
12
README.md
12
README.md
@ -195,6 +195,9 @@ endmenu
|
|||||||
_To write firmware to the ESP's flash chip:_
|
_To write firmware to the ESP's flash chip:_
|
||||||
`esptool.py --port COM_ --chip esp32 write_flash 0x1000 firmware-name.bin`
|
`esptool.py --port COM_ --chip esp32 write_flash 0x1000 firmware-name.bin`
|
||||||
|
|
||||||
|
_To verify firmware:_
|
||||||
|
`esptool.py verify_flash --diff yes firmware-name.bin`
|
||||||
|
|
||||||
_To read firmware from the ESP's flash chip:_
|
_To read firmware from the ESP's flash chip:_
|
||||||
`esptool.py --port COM_ -b --chip esp32 460800 read_flash 0 ALL flash-contents.bin`
|
`esptool.py --port COM_ -b --chip esp32 460800 read_flash 0 ALL flash-contents.bin`
|
||||||
|
|
||||||
@ -207,6 +210,15 @@ _To read built-in MAC address:_
|
|||||||
_To convert ELF to binary:_
|
_To convert ELF to binary:_
|
||||||
`esptool.py --chip esp32 elf2image firmware.elf`
|
`esptool.py --chip esp32 elf2image firmware.elf`
|
||||||
|
|
||||||
|
_To output .bin image details:_
|
||||||
|
`esptool.py image_info --version 2 firmware-name.bin`
|
||||||
|
|
||||||
|
_To read RAM:_
|
||||||
|
`esptool.py read_mem 0x400C0000`
|
||||||
|
|
||||||
|
_To read flash chip registers:_
|
||||||
|
`esptool.py read_flash_status --bytes 2`
|
||||||
|
|
||||||
In order for OTA to push new firmware, update version number saved in the `PROJECT_VER` filed in _CMakeList.txt_ file.
|
In order for OTA to push new firmware, update version number saved in the `PROJECT_VER` filed in _CMakeList.txt_ file.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
|
Loading…
Reference in New Issue
Block a user