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

CH32V203C8T6 working #30

Open
arsonoff opened this issue Jan 28, 2023 · 1 comment
Open

CH32V203C8T6 working #30

arsonoff opened this issue Jan 28, 2023 · 1 comment

Comments

@arsonoff
Copy link

Chip CH32V203C8T6 (board nanoCH32V203 or CH32V203EVT):

$  python3 -m ch55xtool -v -p
Chip ID: 31 is not known = not supported
Welcome to report this issue with a screen shot from the official CH5xx tool.

31 - hexadecimal value, is not clear at once.

Added to the typeall.wcfg:

[CH32V203C8T6]
McuType=9
MaxFlashSize=65536
MaxEepromSize=0
IsNetworkDown=0
IsUsbDown=1
IsSerialDown=1
chipid=49
eepromStartAddr=0
Introduction = ""

flash/verify_flash/print configuration - working !

McuType has to correspond to bMCULine from WCHISPTool?

Why CH32V307 in typeall.wcfg has only one point?
According to WCHISPTool CH32V307 has three different chipid:

	CH32V307WCU6 - 115
	CH32V307VCT6 - 112
	CH32V307RCT6 - 113
@arsonoff
Copy link
Author

arsonoff commented Jan 28, 2023

There are a couple of nuances:

  1. flash-image has to be multiple 32 bytes, otherwise add with bytes of x0.
  2. MCU should not be in the Protect mode. Such mode is activated by official tools (WCHISPTool (Win), WCHISPTool_CMD (linux))

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

No branches or pull requests

1 participant