Author Topic: CH32X035 Disable Code Protection  (Read 429 times)

0 Members and 1 Guest are viewing this topic.

Offline ulianoTopic starter

  • Regular Contributor
  • *
  • Posts: 211
  • Country: it
CH32X035 Disable Code Protection
« on: April 09, 2025, 11:26:36 am »
Hello,

I have different demo boards with CH32x035.

On the C8T6 I can download firmware without troubles while on the F8U6 (both the original WCH and WeAct Studio, different boards for each model) I get the same:

Code: [Select]
[13:14:17] **** Start flash operation of project CH32X035F8U6 ****
Link device no need to upgrade
[13:14:17] Using target file c:\Users\uliano\stuff\embedded\CH32X035F8U6\obj\CH32X035F8U6.hex
[13:14:17] Starting Flash Operation...
[13:14:18] Error: Before operation, please ensure disable Code-Protect first.
-------------------------------------End-------------------------------------

This happens either with original WCH-LinkE 1.3 or non original WCH-LinkE Mini and downloading with Mounriver Studio 2.1

I tried also WCHISPStudio but if I Select ChipSeries CH32X03x and Chip Model CH32X35F8U6 then Dev List becomes empty  |O
« Last Edit: April 09, 2025, 11:31:47 am by uliano »
 

Online Chalcogenide

  • Regular Contributor
  • *
  • Posts: 186
  • Country: it
Re: CH32X035 Disable Code Protection
« Reply #1 on: April 09, 2025, 12:07:19 pm »
Try WCHISP with the CH32X035 connected via USB in bootloader. It is trivial to disable code protection this way.
 

Offline ulianoTopic starter

  • Regular Contributor
  • *
  • Posts: 211
  • Country: it
Re: CH32X035 Disable Code Protection
« Reply #2 on: April 09, 2025, 01:47:06 pm »
Try WCHISP with the CH32X035 connected via USB in bootloader. It is trivial to disable code protection this way.

never used a bootloader in my life...

How am I supposed to do?

Also, if I google "wchisp bootloader usb" I get lots of hits to other "wchisp" softwares (not the WCH ISP-Studio) which one do you mean?

(sorry for being uberlame here :-( )
« Last Edit: April 09, 2025, 01:49:53 pm by uliano »
 

Online Chalcogenide

  • Regular Contributor
  • *
  • Posts: 186
  • Country: it
Re: CH32X035 Disable Code Protection
« Reply #3 on: April 09, 2025, 02:45:48 pm »
Well if you have the WeAct CH32X035 core board you just press the BOOT key while plugging in the USB cable, that boots the chip in its bootloader.
In WCHISP studio you select the CH32X035F8U6 and as "Dnld Port" you set "USB". Then you click "Deprotect" as soon as the chip is recognized by WCHISP studio.
On the CH32X035 the boot select pin is actually the USB DP, and to enter boot mode you have to pull-up the pin via a 5k (ish) resistor to 3.3V.
 

Offline ulianoTopic starter

  • Regular Contributor
  • *
  • Posts: 211
  • Country: it
Re: CH32X035 Disable Code Protection
« Reply #4 on: April 09, 2025, 03:16:05 pm »
The chip isn't recognized...

It just starts the preloaded blinky regradless if I press boot or not when I connect the usbc

Devlist stays empty

EDIT

Can't believe how lame I am! :o

I was not fully plugging the usbc (which makes lots of resistence in the second half) and I was only powering but not connecting the circuit.

(solved thnks  :-+ )
« Last Edit: April 09, 2025, 03:54:52 pm by uliano »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf