April 19, 2024, 09:46:53 PM

SWD and Eclipse

Started by WmJBrown, August 19, 2016, 09:21:35 PM

Previous topic - Next topic

WmJBrown

I am using the ARM-USB-TINY-H dongle and the SWD adapter to my target board.
I am able to start OpenOCD through a command window.
I am able to open a Telnet session with PuTTY and interact with the target board.

What I can't seem to do is get Eclipse to bootload my program so I can debug it.  I get OpenOCD errors.

Can anyone tell me if it is possible to use eclipse with SWD?  If so what do I need to change?
If not what are my options?

I am losing my mind.




LubOlimex

Hey there,

Unfortunately, I have tried only what you already accomplished - reading and flashing a target via SWD using OpenOCD directly as descried in the user's manual.

Maybe the Eclipse is not properly configured or some of the components are outdated - it is a very good idea to check some of the guides for setting up Eclipse and OpenOCD from scratch. There are a lot of guides available online nowadays on how to do it.

Additionally, the guys at the mailing lists of OpenOCD would probably know more than the users here. I recommend you to also check/post there.

If you find a solution please post here - your experience would be helpful for others!

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

JohnS

And they will want -d3 log and all your scripts etc.

John