see https://github.com/pyocd/pyOCD/issues/1646 Workaround is to use versions earlier than 0.36. Or use https://github.com/probe-rs/probe-rs - supports the hk32f030m, and is quite a bit faster than pyocd anyway.