-
Notifications
You must be signed in to change notification settings - Fork 23
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
always return a swdStatusFailure on swdInit #5
Comments
python .\dump.py --port COM6 fw.bin Also such a mistake |
Yeah same with me. Is this error indicating, that protection level 2 is in place instead of level 1? |
Check with a SWD debug cable if you can see the device . The Protection level 2 disables SWD , the protetion level 1 just forbids reading the flash memory. |
The chip i used was a brand new ic without any protection, and it can be read/write by stink, through SWD interface, but failed with pico dumper. |
Take a LA like "PulseView" and compare with ST-LINK V2. |
Thats intentional. Thats not a generic dumper but one made specifically for dumping the firmware while protected. It skips several steps on SWD line to be able to do that. Thats the only purpose of this project. |
This is the only difference I can spot. After LINERESET the JTAG->SWD command, another LINERESET, IDCODE and the target replies "OK". While it never replies when only the LINERESET is sent. Too bad that you can not switch off "JTAG->SWD" command in the ST-LINK utility. edit: |
Finally works with my STM32F091xC soldered in device. Great stuff @racerxdl ! |
How can I contact you? |
I certainly added my stuff as Pull Request: |
Lucas, Good Afternoon. In order to eliminate any factors that could interfere, I desoldered the chip (STM32F091) and soldered it directly to the LQFP64 legs: But I have error 244 (E0), in your version. Tell me what I'm doing wrong. I'll be very grateful. |
Sorry after a lot of tries I can now communicate nearly stable via SWD. |
I am trying to make a dump from a new stm32f030c6t6 chip with pico under windows
and as the title, i got swdStatusFailure(0xE0u or 224 in deciaml) on the very first step (swdInit) of extractFlashData.
and im sure my wire connection are all good.
Get the same error code with below test.
anything else i can check ?
The text was updated successfully, but these errors were encountered: