-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minichlink bricked my Ch32x033! #446
Comments
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. |
my connection is as follow: |
I can test tonight in case no one else gets a chance before then. |
@Rockwell1799 I am assuming you using a WCH Link-E? If so, we are using the unbrick command from them verbatim. Though, I will admit, I am seeing a similar behavior / failure. If you're up for trying it, I've tacked it on the current gdb_fix branch here: #444 |
Thank cnlohr for testing! |
With the gdb_fix branch, this is what I get after executing the command ./minichlink -u
|
Please perform the following operation:
|
When performing the step above, I get the following error in a loop
|
Please provide the full log. Also, please do it at least 4-5 times. |
I hate to bother you again but the behavior may yet be different now that everything has been merged to master. |
Sorry! I was away for a few days.
|
I want to see the output leading up to the spew of sad. |
|
@Rockwell1799 please try running |
That looks like TDO stuck at 1? |
@Rockwell1799 sorry for asking obvious thing, but did you try |
@Rockwell1799 also also, what is connected to the NRST pin itself? Can you pull it high and try programming? Maybe it's constantly shutdown by reset? |
@Rockwell1799 can you confirm that the power is being toggled? The only time I've seen this behavior is if you are not coming out of a cold boot. NRST is an option, but so is hard power cycling (for instance if you've disabled the NRST pin). |
Sorry for my late reply, I couldn't test what you guys suggested,because I accidentally reversed the polarity on the chip and my board doesn't have a protection diode,so the chip now is dead.I'm going to solder another one and I need to know how to enable the NRST pin without bricking the chip. |
Hi, I was looking through the output Rockwell posted and noticed that in the screenshot it says 'Detected: CH32V103' however his controller is Ch32x033. |
Generally, that just means the link-E didn't autodetect, which could be because of all sorts of things ranging from the SWIO interface being off at the time of the attempted unbrick, to being miswired, to there being too much load on those pins or they are being used as an input. |
still shouldn't have needed to do that but, I am glad you are resolved, I guess we should close this issue? |
Actually, I am going to close, anything new should be a new issue. |
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
The text was updated successfully, but these errors were encountered: