{"action":"created","issue":{"url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/issues/241","repository_url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins","labels_url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/issues/241/comments","events_url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/issues/241/events","html_url":"https://github.com/gnu-mcu-eclipse/eclipse-plugins/issues/241","id":260297101,"number":241,"title":"Enhancement: Support for Black Magic Probe debugging?","user":{"login":"rpavlik","id":61129,"avatar_url":"https://avatars0.githubusercontent.com/u/61129?v=4","gravatar_id":"","url":"https://api.github.com/users/rpavlik","html_url":"https://github.com/rpavlik","followers_url":"https://api.github.com/users/rpavlik/followers","following_url":"https://api.github.com/users/rpavlik/following{/other_user}","gists_url":"https://api.github.com/users/rpavlik/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavlik/subscriptions","organizations_url":"https://api.github.com/users/rpavlik/orgs","repos_url":"https://api.github.com/users/rpavlik/repos","events_url":"https://api.github.com/users/rpavlik/events{/privacy}","received_events_url":"https://api.github.com/users/rpavlik/received_events","type":"User","site_admin":false},"labels":[{"id":249196987,"url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/milestones/3","html_url":"https://github.com/gnu-mcu-eclipse/eclipse-plugins/milestone/3","labels_url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/milestones/3/labels","id":1315282,"number":3,"title":"Time permitting","description":"Not very urgent, to be considered at a certain moment in the future.","creator":{"login":"ilg-ul","id":362732,"avatar_url":"https://avatars3.githubusercontent.com/u/362732?v=4","gravatar_id":"","url":"https://api.github.com/users/ilg-ul","html_url":"https://github.com/ilg-ul","followers_url":"https://api.github.com/users/ilg-ul/followers","following_url":"https://api.github.com/users/ilg-ul/following{/other_user}","gists_url":"https://api.github.com/users/ilg-ul/gists{/gist_id}","starred_url":"https://api.github.com/users/ilg-ul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilg-ul/subscriptions","organizations_url":"https://api.github.com/users/ilg-ul/orgs","repos_url":"https://api.github.com/users/ilg-ul/repos","events_url":"https://api.github.com/users/ilg-ul/events{/privacy}","received_events_url":"https://api.github.com/users/ilg-ul/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":1,"state":"open","created_at":"2015-09-20T17:17:13Z","updated_at":"2017-09-25T17:22:06Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-09-25T14:28:19Z","updated_at":"2017-11-18T08:09:46Z","closed_at":null,"author_association":"NONE","body":"I know I saw this once before on the old SF site, but I wanted to bring this up here.\r\n\r\nThe [Black Magic Probe](https://github.com/blacksphere/blackmagic/wiki) - is both a piece of hardware, and a somewhat-portable firmware (can flash it to ST-Link and some other devices) that implements an SWD and JTAG probe for Cortex-M (and some Cortex-A), and internally implements the GDB server, so that the serial port it exposes to the system can be directly connected to with `target extended-remote \\\\.\\com31` or your platform's variant - see <https://github.com/blacksphere/blackmagic/wiki/Useful-GDB-commands> for high performance and simple usage. It also supports SWO.\r\n\r\nA plugin would be useful for a few reasons. One would be auto-selection of serial ports: the CDC-ACM device exposed, since it can be determined from the USB interface number. Another, naturally, would be the same sort of easy configuration of the stuff that usually goes in a GDB init script. The other, would just be getting it to work in modern Eclipse...\r\n\r\nI've tried the built-in \"GDB Hardware Debugging\" plugin (in the latest gnu-mcu-eclipse download - a Neon.3 build) but I'm getting MI errors that suggest it's trying to connect with just the equivalent of `remote` instead of `extended remote`. From what I've been able to search, it seems like recent versions of eclipse updated debugging frameworks to DSF and since there is no \"standard\" alternate plugin left around, there's apparently no way to configure it from the Eclipse GUI; even though, e.g., Visual Studio Code GDB plugin works just as well with it as with the J-Link, with just a different init script. At this point, I'm out of my league in Eclipse, so I'm filing a bug/request as a way of throwing my hands up - the BMP works great if I'm willing to do it all in the terminal, otherwise I basically have to use a nucleo-jlink.\r\n"},"comment":{"url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/issues/comments/345426489","html_url":"https://github.com/gnu-mcu-eclipse/eclipse-plugins/issues/241#issuecomment-345426489","issue_url":"https://api.github.com/repos/gnu-mcu-eclipse/eclipse-plugins/issues/241","id":345426489,"user":{"login":"ilg-ul","id":362732,"avatar_url":"https://avatars3.githubusercontent.com/u/362732?v=4","gravatar_id":"","url":"https://api.github.com/users/ilg-ul","html_url":"https://github.com/ilg-ul","followers_url":"https://api.github.com/users/ilg-ul/followers","following_url":"https://api.github.com/users/ilg-ul/following{/other_user}","gists_url":"https://api.github.com/users/ilg-ul/gists{/gist_id}","starred_url":"https://api.github.com/users/ilg-ul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilg-ul/subscriptions","organizations_url":"https://api.github.com/users/ilg-ul/orgs","repos_url":"https://api.github.com/users/ilg-ul/repos","events_url":"https://api.github.com/users/ilg-ul/events{/privacy}","received_events_url":"https://api.github.com/users/ilg-ul/received_events","type":"User","site_admin":false},"created_at":"2017-11-18T08:09:46Z","updated_at":"2017-11-18T08:09:46Z","author_association":"CONTRIBUTOR","body":"Yes, GDB Hardware Debugging is the basic tool, with some care it should work for all JTAG probes.\r\n\r\nThe GNU MCU Eclipse debugging plug-ins extend it with easier configuration and automatic start of the server.\r\n"}}
{"actor":{"display_login":"ilg-ul"}}