| Summary: | dev-embedded/openocd-0.8.0 - openocd fails to detect a cmsis-dap device | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Blake Leverett <bleverett> |
| Component: | [OLD] Development | Assignee: | Paul Fertser <fercerpav> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | dev-embedded+disabled |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Blake Leverett
2014-12-02 21:07:22 UTC
Blake, Both --enable-maintainer-mode and --enable-hidapi-libusb options are not present in OpenOCD's configure so they can't have any effect. --enable-cmsis-dap should have got added automatically since you have cmsis-dap use-flag. Also, cmsis-dap support is autoenabled anyway, provided you have hidapi library installed, and cmsis-dap useflag adds it as a dependency. So please check twice what happens when you build with cmsis-dap flag. On my system it properly outputs "CMSIS-DAP Compliant Debugger yes" at the end of configure. And then please also provide openocd invocation log as "failed to detect" might mean it doesn't see it on USB bus (e.g. a permissions issue) or it might mean openocd says "cmsis-dap transport is not available". On a slightly related note, this patch: http://openocd.zylin.com/#/c/2356/ should improve cmsis-dap performance a lot but it's known to have issues with Atmel's implementation. If you feel like hacking on it, it'd be great, as it's likely missing just a small tweak to start working properly. HTH |