Closed smaharj1 closed 6 months ago
This should be fixed. Could you check the newest changeset? CH32X035 works. As I'm developing the https://github.com/ch32-rs/ch32x0-hal with this.
Nice. I do not have access to the github link you posted, but getting the latest from the nightly release worked. Weird thing was both the nightly release version and standard cargo's wlink version are the same.
@smaharj1 nightly is triggered periodically or manually. I need to test on other MCUs, then do a cargo release.
After digging into the underlying flash protection mechanism, I discovered that four commands are used for protecting/unprotecting, with 2 commands each.
I am pretty new to this, but connected to the CH32X035 through WCH-LinkE and tried the following command to unprotect the flash
wlink unprotect
I get the following message:
Am I missing something? My main goal is to try to disable Read Protection.