Skip to content
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

invalid response during transfer #35

Open
ChiefWizzard opened this issue Oct 18, 2024 · 1 comment
Open

invalid response during transfer #35

ChiefWizzard opened this issue Oct 18, 2024 · 1 comment

Comments

@ChiefWizzard
Copy link

I use a DAPlink to program py32f0 processors. It works with pyocd. When I issue the list command with edgb I get the following reply:

C:\ruudwork\info\Puya\ataradov CLI programmer for DAP>edbg --list
Attached debuggers:
0: 07000000323391aa073932363836374da5a5a5a597969908 - ARM CMSIS-DAP (1)

So I assume it recognizes the daplink debugger.
However when I issue a command like --erase or --read I get the following response error.

C:\ruudwork\info\Puya\ataradov CLI programmer for DAP>edbg -b -r -t py32f0 -c 10000
Debugger: ARM CMSIS-DAP 07000000323391aa073932363836374da5a5a5a597969908 1.10 (S, 1)
Using CMSIS-DAP v1
Clock frequency: 10.0 MHz
Error: invalid response during transfer (count = 0/1, status = 7)

Any idea what is causing this ?
Regards,
Ruud

@ataradov
Copy link
Owner

First of all, lower the clock a lot, like -c 100.
This is not a debugger issue, status = 7 comes from the target, it means that the SWDIO like remained high, so the target did not respond . This is the same status you will see if you disconnect the target entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants