Skip to content

Commit

Permalink
esp32c6: update esp32c6 magic value and spi reg offset
Browse files Browse the repository at this point in the history
  • Loading branch information
esp-wzh authored and radimkarnis committed Nov 21, 2022
1 parent 09e41df commit 57f9ba9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion esptool/targets/esp32c6.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ class ESP32C6ROM(ESP32ROM):
BOOTLOADER_FLASH_OFFSET = 0x0

# Magic value for ESP32C6
CHIP_DETECT_MAGIC_VALUE = [0x1EA0206F]
CHIP_DETECT_MAGIC_VALUE = [0x2CE0806F]

SPI_REG_BASE = 0x60003000
SPI_USR_OFFS = 0x18
SPI_USR1_OFFS = 0x1C
SPI_USR2_OFFS = 0x20
SPI_MOSI_DLEN_OFFS = 0x24
SPI_MISO_DLEN_OFFS = 0x28
SPI_W0_OFFS = 0x58

UART_DATE_REG_ADDR = 0x60000000 + 0x7C

Expand Down

0 comments on commit 57f9ba9

Please sign in to comment.