cnlohr / ch32v003fun

Open source minimal stack for the ch32 line of WCH processors, including the ch32v003, a 10¢ 48 MHz RISC-V Microcontroller - as well as many other chips within the ch32v/x line.
MIT License
957 stars 146 forks source link

minichlink bricked my Ch32x033! #446

Open Rockwell1799 opened 2 hours ago

Rockwell1799 commented 2 hours ago

Hello My ch32x033 was working fine, until I decided to enable the NRST by using the command ./minichlink -d Now, my chip is bricked, and I can't un brick it even after using the command ./minichlink -u Any help would be very much appreciated! TIA

cnlohr commented 2 hours ago

How are you connecting the power to the chip/programmer? For unbrick to work, it must be powered off the 3.3v rail of the programmer.

Rockwell1799 commented 1 hour ago

my connection is as follow: Mcu ---> programmer VCC ---> 3.3V GND---> GND CLK (PIN C19) ---> SWC DIO (PIN C18) ---> SWD

cnlohr commented 11 minutes ago

I can test tonight in case no one else gets a chance before then.