Naja, was du mit read_flash vom Controller gelesen hast wird sich wohl
mit write_flash zurückschreiben lassen.
Dazu geibt es dann auch eine Hilfe:
1 | $ esptool write_flash -h
|
2 | usage: esptool write_flash [-h] [--erase-all] [--flash_freq {keep,40m,26m,20m,80m}] [--flash_mode {keep,qio,qout,dio,dout}] [--flash_size FLASH_SIZE] [--spi-connection SPI_CONNECTION] [--no-progress] [--verify] [--encrypt]
|
3 | [--ignore-flash-encryption-efuse-setting] [--compress | --no-compress]
|
4 | <address> <filename> [<address> <filename> ...]
|
5 |
|
6 | positional arguments:
|
7 | <address> <filename> Address followed by binary filename, separated by space
|
Was du willst geht also in diese Richtung:
1 | esptool -p COM5 -b 921600 write_flash 0x0 ulanzi_tc001_factory.bin
|