Skip to content

Mcublog/ch32f205_gcc_demo

Repository files navigation

ch32f205_gcc_demo

debuging

Demo project

Note: Does not work with J-Link.

Openocd and WCH-LinkE

As far as I know, the main openocd does not support ch32f2x at the moment. But I found a fork with support for it.

But it's not all that simple😁. I'm getting an error when trying to build it. So I fixed it with the code below:

// switch (cortex_m_get_partno_safe(target)) NOTE: replace to
switch (cortex_m_get_impl_part(target))

alt text

Next I'm replaced binary openocd from openocd-xpack to mine.

Added some scripts for Wch-Link to project.

Checkout scripts for vscode in folder .vscode.

flashing

Additional links

About

ch32f205 demo project. It is chip from WCH company.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages