Skip to content

Commit

Permalink
fix: enable 2-wire debug for ch57x
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jan 29, 2023
1 parent 5879ffa commit 02e8d68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion devices/0x13-CH57x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ config_registers_ch571_ch573: &config_registers_ch571_ch573
- offset: 0x08
name: USER_CFG
description: User config register
reset: 0x4FFF0F4D
# reset: 0x4FFF0F4D
# CFG_DEBUG_EN=1、CFG_RESET_EN=0、CFG_ROM_READ=1
# enable 2-wire debug
reset: 0x4FFF0FD5
type: u32
fields:
- bit_range: [2, 0]
Expand Down
1 change: 1 addition & 0 deletions devices/0x16-CH58x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ config_registers:
- offset: 0x08
name: USER_CFG
description: User non-volatile configuration
# CFG_DEBUG_EN=1、CFG_RESET_EN=0、CFG_ROM_READ=1
# Enable 2-wire debug
reset: 0x4FFF0FD5
type: u32
Expand Down

0 comments on commit 02e8d68

Please sign in to comment.