Olimex Support Forum

ARM => JTAG => Topic started by: WmJBrown on August 19, 2016, 09:21:35 PM

Title: SWD and Eclipse
Post by: WmJBrown on August 19, 2016, 09:21:35 PM
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.



Title: Re: SWD and Eclipse
Post by: LubOlimex on August 23, 2016, 10:35:17 AM
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
Title: Re: SWD and Eclipse
Post by: JohnS on August 24, 2016, 12:33:17 PM
And they will want -d3 log and all your scripts etc.

John