Closed andelf closed 1 year ago
It also works on my nanoCH32V203 board from the MUSE Lab. https://github.com/wuxx/nanoCH32V203
06:31:23 [INFO] Found USB Device Bus 002 Device 001: ID 4348:55e0
06:31:23 [DEBUG] (1) wchisp::transport: => a11200 00004d4355204953502026205743482e434e
06:31:23 [DEBUG] (1) wchisp::transport: <= a1000200 3119
06:31:23 [DEBUG] (1) wchisp::flashing: found chip: CH32V203C8T6[0x3119]
06:31:23 [DEBUG] (1) wchisp::transport: => a70200 1f00
06:31:23 [DEBUG] (1) wchisp::transport: <= a7001a00 1f00a55a3fc000ff00ffffffffff00020600cdab51fc5bbc7964
06:31:23 [DEBUG] (1) wchisp::flashing: read_config: a55a3fc000ff00ffffffffff00020600cdab51fc5bbc7964
06:31:23 [INFO] Chip: CH32V203C8T6[0x3119] (Code Flash: 64KiB)
06:31:23 [INFO] Chip UID: cd-ab-51-fc-5b-bc-79-64
06:31:23 [INFO] BTVER(bootloader ver): 02.60
06:31:23 [INFO] Code Flash protected: false
06:31:23 [DEBUG] (1) wchisp::transport: => a70200 0700
06:31:23 [DEBUG] (1) wchisp::transport: <= a7000e00 0700a55a3fc000ff00ffffffffff
RDPR_USER: 0xC03F5AA5
[7:0] RDPR 0b10100101 (0xA5)
`- Unprotected
[16:16] IWDG_SW 0b1 (0x1)
`- IWDG enabled by the software, and disabled by hardware
[17:17] STOP_RST 0b1 (0x1)
`- Disable
[18:18] STANDBY_RST 0b1 (0x1)
`- Disable, entering standby-mode without RST
[23:22] SRAM_CODE_MODE 0b0 (0x0)
`- CODE-192KB + RAM-128KB / CODE-128KB + RAM-64KB depending on the chip
DATA: 0xFF00FF00
[7:0] DATA0 0b0 (0x0)
[23:16] DATA1 0b0 (0x0)
WRP: 0xFFFFFFFF
`- Unprotected
Close this for that the device support is stable enough.
Config register for CH32V20x family is added via 2203439ad0d086e8f55e83c0c77a75e0d9bb294f. This family is almost identical to CH32V30x, except for
SRAM_CODE_MODE
.Recently I got a FlappyBoard, which has a CH32V203G6U6[0x3619] mcu.
Flash the
LED_Toggle.hex
from official repo.