Skip to content

Commit

Permalink
add C2 eco4 magic chip value
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 25, 2024
1 parent 57a79b4 commit ae75746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp_flasher/own_esptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2690,8 +2690,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
Expand Down

0 comments on commit ae75746

Please sign in to comment.