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

FEATURE - Support OpenOCD #2

Open
Brando753 opened this issue May 23, 2017 · 10 comments
Open

FEATURE - Support OpenOCD #2

Brando753 opened this issue May 23, 2017 · 10 comments

Comments

@Brando753
Copy link
Contributor

I was curious if OpenOCD can be used instead of the Jlink software in order to use a more open debugging and flashing environment. If so it might be worth adding support in the make files for flashing with openocd commands.

@ryankurte
Copy link
Owner

ryankurte commented May 23, 2017

Hey,

Definitely can be supported, I just haven't had cause to use OpenOCD yet. I do a plan to add support for the open source BlackMagic probe next time I have a compatible project.

If you would like to add it, it just needs needs an equivalent OpenOCD version of the jlink configuration file.

@Brando753
Copy link
Contributor Author

Yup, I will look into the code base and open a pull request when I get it supported, just wanted to open a feature request for the work.

@Brando753
Copy link
Contributor Author

Brando753 commented May 28, 2017

So before I started modifying that configuration file I was testing the openocd commands manually, and I could not get them to work with my new EFM32HG dev board. I had used openOCD before with these boards so I grabbed my old Zero Gecko dev board and the commands worked...I am filing an issue with openOCD to see whats going on with the new firmware on these dev boards. I will update here once I get an update from the openOCD project.

@ryankurte
Copy link
Owner

I found a similar issue implementing the Blackmagic Probe which was because the firmware didn't yet support the EFM32PG IC I was using.

@dholth
Copy link

dholth commented May 15, 2018

My attempt to support more geckos with the BMP. blackmagic-debug/blackmagic#264

It would have made more sense to just buy the jlink (as built into the official dev board)

@ryankurte
Copy link
Owner

Yeah I had a go at simplifying your original PR too before writing the whole thing off and going back to my jlink :-/

@ryankurte
Copy link
Owner

FYI with simplicity studio you can switch the debugger on any silicon labs dev board to the external 10/20 pin cortex debug connector and use it with other boards. It's not nice and open source, but it sure is convenient.

@Brando753
Copy link
Contributor Author

I will take a look at the OpenOCD implementation when I get a chance later this week will let you know how it goes.

@dholth
Copy link

dholth commented May 16, 2018

@ryankurte do you have a favorite silabs dev board?

@ryankurte
Copy link
Owner

I like the Pearl Gecko Starter Kit because it's the new architecture / has full pin muxing / the peripherals are bad ass.
I've also got a Giant Gecko GG1 Starter Kit which is kindof exciting because it's the first new-architecture chip from silabs to have ethernet and USB but I haven't played with it much just yet.
They're both expensive / higher end ICs to actually design with, but they're great for ease of prototyping.

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

No branches or pull requests

3 participants