XIVN1987 / DAPLink

DAPLink (CMSIS-DAP) porting to Artery AT32F425, WCH CH32V203, WCH CH32V305, Nuvoton M482 and Nuvoton M484.
MIT License
219 stars 74 forks source link

WCH CH32V203 (support crystal-less USB) #4

Closed kimstik closed 1 year ago

kimstik commented 1 year ago

May you acknowledge that CH32V203 is really supports crystal-less USB mode ?

I will appreciate you you will release binaries for CH32V203F6P6 and CH32V203F8P6

XIVN1987 commented 1 year ago

CH32V203支持crystal-less USB,,我测试过,,没问题

kimstik commented 1 year ago

It's strange that the datasheet doesn't say anything about it. BTW, do you plan to release binaries?

XIVN1987 commented 1 year ago

建议安装 MounRiver Studio自己编译下,,很简单。。

kimstik commented 1 year ago

compiled - did not work. if there was a working binary, then I could make a bisection and determine the location of the problem: the code is wrong or the problem is in the hardware.

Getting a bad experience, beginners may be tempted to blame and not use a suspicious chip. The working binary is a nice user friendly classic way.

kimstik commented 1 year ago

I got CH32V203F6P6 working with 8M quartz on CH32V203F-R0-1v0 board CH32V203F8P6 (on CH32V20xF8-R0-1v0 board no XTAL) cannot enumerate

image

XIVN1987 commented 1 year ago

电路的话我用的这个 https://oshwhub.com/xivn1987/daplink ,这个电路是用 AT32F425F8 画的,不过引脚和 CH32V203F6 完全兼容,,可以直接焊。。

kimstik commented 1 year ago

My board is CH32V203F8_MINI page #6. Crystal-less board

kimstik commented 1 year ago

perhaps issue it that CH32V203F8P6 USB pins are bounded to PA13/14 which is also SWD pins ?