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

Trouble with openocd-v0.12.0 #6

Open
41exey opened this issue Mar 14, 2023 · 3 comments
Open

Trouble with openocd-v0.12.0 #6

41exey opened this issue Mar 14, 2023 · 3 comments
Assignees
Labels
Bug Something isn't working Help wanted Extra attention is needed

Comments

@41exey
Copy link

41exey commented Mar 14, 2023

When I updated openocd to 0.12 I'm to face a problem:

Open On-Chip Debugger 0.12.0 (2023-01-14-23:37)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Error: CMSIS-DAP command mismatch. Sent 0x0 received 0x3
Error: CMSIS-DAP command CMD_INFO failed.

In 0.11 version it wasn't:

Open On-Chip Debugger 0.11.0 (2021-03-07-12:52)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: FW Version = 1.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 2000 kHz

Any ideas?

@Eric286
Copy link
Contributor

Eric286 commented Mar 14, 2023

Hello @41exey!

The error message suggests that there is a command mismatch between the CMSIS-DAP interface and OpenOCD 0.12.0. One possible solution is to try changing the session transport from SWD to JTAG by using the transport select jtag command.

Could you do this and tell me if a change was presented please.

Best Regards!

Support Team

@41exey
Copy link
Author

41exey commented Mar 15, 2023

try changing the session transport from SWD to JTAG by using the transport select jtag command.

I changed transport to jtag but same error. Nothing has changed.

@Eric286 Eric286 added Bug Something isn't working Help wanted Extra attention is needed labels Mar 15, 2023
@Eric286
Copy link
Contributor

Eric286 commented Mar 15, 2023

Hello @41exey !

It seems like there may be an issue with the compatibility between the version of OpenOCD being used (0.12) and the CMSIS-DAP protocol on the device.

In the meantim, I suggest continuing to use version 11 of OpenOCD, However, I will put the bug tag in the issue to check it and see the root of the problem.

Thank you for bringing this to our attention.

Good Day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants