m0ar dumps

This commit is contained in:
2025-05-18 19:02:08 -06:00
parent 6c0f93da0b
commit 6bc62530c0
10 changed files with 178 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
dumping
Ghidra
@@ -0,0 +1,168 @@
Starting dump from chip: esp32c5
on port: /dev/ttyUSB0
at: 460800 baud
to directory: ./live-roms/esp32c5-devkitc-1-stub-180525151829
twith log file: ./live-roms/esp32c5-devkitc-1-stub-180525151829/log-esp32c5-devkitc-1-stub-180525151829.txt
Getting ESP Chip Info...
Chip ID:
esptool.py v4.9.dev8
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C5
Chip is ESP32-C5 (revision v1.0)
Features: WiFi 6, BT 5, IEEE802.15.4
Crystal is 48MHz
MAC: 30:ed:a0:ff:fe:e4:6a:d4
BASE MAC: 30:ed:a0:e4:6a:d4
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Warning: ESP32-C5 has no Chip ID. Reading MAC instead.
MAC: 30:ed:a0:ff:fe:e4:6a:d4
BASE MAC: 30:ed:a0:e4:6a:d4
MAC_EXT: ff:fe
Hard resetting via RTS pin...
Flash ID:
esptool.py v4.9.dev8
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C5
Chip is ESP32-C5 (revision v1.0)
Features: WiFi 6, BT 5, IEEE802.15.4
Crystal is 48MHz
MAC: 30:ed:a0:ff:fe:e4:6a:d4
BASE MAC: 30:ed:a0:e4:6a:d4
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Manufacturer: 20
Device: 4017
Detected flash size: 8MB
Hard resetting via RTS pin...
Flash Status:
esptool.py v4.9.dev8
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C5
Chip is ESP32-C5 (revision v1.0)
Features: WiFi 6, BT 5, IEEE802.15.4
Crystal is 48MHz
MAC: 30:ed:a0:ff:fe:e4:6a:d4
BASE MAC: 30:ed:a0:e4:6a:d4
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Status value: 0x0200
Hard resetting via RTS pin...
Security Info:
esptool.py v4.9.dev8
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C5
Chip is ESP32-C5 (revision v1.0)
Features: WiFi 6, BT 5, IEEE802.15.4
Crystal is 48MHz
MAC: 30:ed:a0:ff:fe:e4:6a:d4
BASE MAC: 30:ed:a0:e4:6a:d4
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Security Information:
=====================
Flags: 0x00000000 (0b0)
Key Purposes: (0, 0, 0, 0, 0, 0, 19)
BLOCK_KEY0 - USER/EMPTY
BLOCK_KEY1 - USER/EMPTY
BLOCK_KEY2 - USER/EMPTY
BLOCK_KEY3 - USER/EMPTY
BLOCK_KEY4 - USER/EMPTY
BLOCK_KEY5 - USER/EMPTY
Chip ID: 23
API Version: 2
Secure Boot: Disabled
Flash Encryption: Disabled
SPI Boot Crypt Count (SPI_BOOT_CRYPT_CNT): 0x0
Hard resetting via RTS pin...
All donsies~ :3
LP-Memory starting: 0x50000000 length: 0x3FFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x50000000 0x3FFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-LP-Memory-0x50000000-0x3FFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-LP-Memory-0x50000000-0x3FFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x50000000 0x3FFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-LP-Memory-0x50000000-0x3FFF-180525151829.bin
sha256sum: b9a47f7281282de83e768e69982842f86b90d4b982135495dfaab9def98e8db5 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-LP-Memory-0x50000000-0x3FFF-180525151829.bin
Sucess
===
Peripherals-1 starting: 0x600C0000 length: 0xFFFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x600C0000 0xFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-1-0x600C0000-0xFFFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-1-0x600C0000-0xFFFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x600C0000 0xFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-1-0x600C0000-0xFFFF-180525151829.bin
sha256sum: 860c4c69a3cfdd4438b05de22e3c2dbec5225f45744ca5a605e545f764dced36 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-1-0x600C0000-0xFFFF-180525151829.bin
Sucess
===
ROM starting: 0x40000000 length: 0x4FFFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x40000000 0x4FFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-ROM-0x40000000-0x4FFFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-ROM-0x40000000-0x4FFFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x40000000 0x4FFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-ROM-0x40000000-0x4FFFF-180525151829.bin
sha256sum: 2d9aeb262e1ffd99866fd88388a8b4029d6e815a354576faa359a22e0507ad4c ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-ROM-0x40000000-0x4FFFF-180525151829.bin
Sucess
===
HP-Memory starting: 0x40800000 length: 0x7FFFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x40800000 0x7FFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-HP-Memory-0x40800000-0x7FFFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-HP-Memory-0x40800000-0x7FFFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x40800000 0x7FFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-HP-Memory-0x40800000-0x7FFFF-180525151829.bin
sha256sum: 115f3ce7e70175a71bda63642463ac1f5c6b3f91bc4804f8b5d56a7ac7930a8a ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-HP-Memory-0x40800000-0x7FFFF-180525151829.bin
Sucess
===
Peripherals-0 starting: 0x60000000 length: 0xBFFFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x60000000 0xBFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-0-0x60000000-0xBFFFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-0-0x60000000-0xBFFFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x60000000 0xBFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-0-0x60000000-0xBFFFF-180525151829.bin
sha256sum: c57d76e32bd5617476f60c72fae867ed60d0631a286b5d190142e149ad1cba8c ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-0-0x60000000-0xBFFFF-180525151829.bin
Sucess
===
Cache-MMU-External-Memory starting: 0x41000000 length: 0xFFFFFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x41000000 0xFFFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Cache-MMU-External-Memory-0x41000000-0xFFFFFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Cache-MMU-External-Memory-0x41000000-0xFFFFFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x41000000 0xFFFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Cache-MMU-External-Memory-0x41000000-0xFFFFFF-180525151829.bin
sha256sum: ee8e7f27281c1c357fc5722f95ab6a99941423b2a2b0594de672f8ea7af3ff84 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Cache-MMU-External-Memory-0x41000000-0xFFFFFF-180525151829.bin
Sucess
===
CPU-Sub-System starting: 0x20000000 length: 0xFFFFFF on esp32c5 stub: False
Running: esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x20000000 0xFFFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-CPU-Sub-System-0x20000000-0xFFFFFF-180525151829.bin
File: ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-CPU-Sub-System-0x20000000-0xFFFFFF-180525151829.bin
esptool.py --baud 460800 --port /dev/ttyUSB0 --chip esp32c5 dump_mem 0x20000000 0xFFFFFF ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-CPU-Sub-System-0x20000000-0xFFFFFF-180525151829.bin
ERROR: return status 2 dump:
@@ -0,0 +1,8 @@
ee8e7f27281c1c357fc5722f95ab6a99941423b2a2b0594de672f8ea7af3ff84 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Cache-MMU-External-Memory-0x41000000-0xFFFFFF-180525151829.bin
2f09d19ce384a3c4379f2b66cfc97e0aa19a13b014b9b123816c1a0bcc06add5 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-CPU-Sub-System-0x20000000-0xFFFFFF-180525151829.bin
115f3ce7e70175a71bda63642463ac1f5c6b3f91bc4804f8b5d56a7ac7930a8a ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-HP-Memory-0x40800000-0x7FFFF-180525151829.bin
b9a47f7281282de83e768e69982842f86b90d4b982135495dfaab9def98e8db5 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-LP-Memory-0x50000000-0x3FFF-180525151829.bin
c57d76e32bd5617476f60c72fae867ed60d0631a286b5d190142e149ad1cba8c ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-0-0x60000000-0xBFFFF-180525151829.bin
860c4c69a3cfdd4438b05de22e3c2dbec5225f45744ca5a605e545f764dced36 ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-Peripherals-1-0x600C0000-0xFFFF-180525151829.bin
2d9aeb262e1ffd99866fd88388a8b4029d6e815a354576faa359a22e0507ad4c ./live-roms/esp32c5-devkitc-1-stub-180525151829/esp32c5-devkitc-1-stub-esp32c5-ROM-0x40000000-0x4FFFF-180525151829.bin
845e65fd93e0fe0d8469f205e361447e064ac229aa301600a320f4366c6d553f ./live-roms/esp32c5-devkitc-1-stub-180525151829/log-esp32c5-devkitc-1-stub-180525151829.txt