Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CH32V002/004/005/006/007 #74

Merged
merged 2 commits into from
Nov 23, 2024
Merged

Conversation

basilhussain
Copy link
Contributor

This change adds support for CH32V002, CH32V004, CH32V005, CH32V006, CH32V007, and CH32M007.

Although I haven't been able to test against actual hardware (not yet found any chips or boards for sale - at least, not in Western marketplaces), I have verified the following:

  • Type ID of 0x21 is same as '003, by capturing serial communication of WCHISPTool's '002 ident command.
  • Chip IDs verified against list here in WCH HAL code, and also WCHISPTool config file data.
  • Option bytes are the same, by comparing reference manual info.

For CH32M007E8R6 and CH32M007E8U6, although they are listed in the '007 datasheet, I could not find out their chip IDs, so haven't added them.

Copy link
Contributor

@andelf andelf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed via chiplist_CH32V.wcfg file.

Thanks!

@andelf andelf merged commit e80e8f0 into ch32-rs:main Nov 23, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants