Skip to content

CH573F with 2.90 bootloader #94

Open
@divadiow

Description

@divadiow

not an issue but just to say 2.90 seems OK with wchisp in as far as config retrieval and eeprom dump.

17:14:53 [INFO] Opening USB device #0
17:14:53 [INFO] Chip: CH573[0x7313] (Code Flash: 448KiB, Data EEPROM: 32KiB)
17:14:53 [INFO] Chip UID: 09-57-CB-A7-14-54-E8-52
17:14:53 [INFO] BTVER(bootloader ver): 02.90
17:14:53 [INFO] Current config registers: ffffffffffffffff450fff4f000209000957cba71454e852
RESERVED: 0xFFFFFFFF
WPROTECT: 0xFFFFFFFF
  [0:0]   NO_KEY_SERIAL_DOWNLOAD 0x1 (0b1)
    `- Enable
  [1:1]   DOWNLOAD_CFG 0x1 (0b1)
    `- PB22(Default set)
USER_CFG: 0x4FFF0F45
  [2:0]   RESERVED 0x5 (0b101)
    `- Default
  [3:3]   CFG_RESET_EN 0x0 (0b0)
    `- Disable
  [4:4]   CFG_DEBUG_EN 0x0 (0b0)
    `- Disable
  [5:5]   RESERVED 0x0 (0b0)
    `- Default
  [6:6]   CFG_BOOT_EN 0x1 (0b1)
    `- Enable
  [7:7]   CFG_ROM_READ 0x0 (0b0)
    `- Disable the programmer to read out, and keep the program secret
  [27:8]  RESERVED 0xFFF0F (0b11111111111100001111)
    `- Default
  [31:28] VALID_SIG 0x4 (0b100)
    `- Valid

I guess with

CFG_ROM_READ 0x0 (0b0)
    `- Disable the programmer to read out, and keep the program secret

I'll not be reading the full flash to file. Will the erase command clear this read-protect value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions