Skip to content

Not recognized by older openocd #6

@fxsheep

Description

@fxsheep

#4 causes the device to be incompatible with OpenOCD 0.11.0 (on Ubuntu 22.04.5)

Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Warn : Using CMSIS-DAPv2 interface 1 with wrong class 10 subclass 0 or protocol 0
Info : Using CMSIS-DAPv2 interface with VID:PID=0x1a86:0x8011, serial=CH552
Warn : could not claim interface: Resource busy
Error: error writing data: Input/Output Error
Error: CMSIS-DAP command CMD_INFO failed.

It's probably because the CMSIS-DAP string in iInterface of CDC causing OpenOCD to use the CDC interface as DAP.

It's been fixed in latest OpenOCD (checked 0.12.0+dev-02116-g6bc2c5859), so this is not an issue anymore. Mentioned here just in case anyone uses the same old version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions