Open rucko24 opened 4 months ago
esptool -p COM8 read_flash 0x8000 0xc00 ptable-esp32S3.img
./gen_esp32part.py ptable-esp32S3.img
esptool -p COM6 --chip esp8266 image_info ESP8266lolin.bin
Fixme
$ ./gen_esp32part.py ptable-esp8266lolin0x8000.img
Traceback (most recent call last):
File "C:\Users\rucko\esp_gen32part\gen_esp32part.py", line 619, in <module>
main()
File "C:\Users\rucko\esp_gen32part\gen_esp32part.py", line 572, in main
table, input_is_binary = PartitionTable.from_file(args.input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rucko\esp_gen32part\gen_esp32part.py", line 163, in from_file
data = data.decode()
^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte
parttool.py
? or only gen_esp32part ?Merge two commands
https://iot.stackexchange.com/questions/4287/how-can-i-list-the-partition-table-of-a-currently-running-esp32-devboard