diff --git a/esptool/targets/esp32c2.py b/esptool/targets/esp32c2.py index 3ed9df8dc..100e55e39 100644 --- a/esptool/targets/esp32c2.py +++ b/esptool/targets/esp32c2.py @@ -21,8 +21,8 @@ class ESP32C2ROM(ESP32C3ROM): DROM_MAP_START = 0x3C000000 DROM_MAP_END = 0x3C400000 - # Magic value for ESP32C2 ECO0 and ECO1 respectively - CHIP_DETECT_MAGIC_VALUE = [0x6F51306F, 0x7C41A06F] + # Magic value for ESP32C2 ECO0 , ECO1 and ECO4 respectively + CHIP_DETECT_MAGIC_VALUE = [0x6F51306F, 0x7C41A06F, 0x0C21E06F] EFUSE_BASE = 0x60008800 EFUSE_BLOCK2_ADDR = EFUSE_BASE + 0x040