Re: [Openocd-development] arm-jtag-ew + swd

2011-10-20 Thread Tomek CEDRO
On Thu, Oct 20, 2011 at 4:59 AM, Peter Stuge pe...@stuge.se wrote: 1. Continue what David Brownell worked on for FT2232-based adapters 2. Try Tomek's libswd, which I think works so far primarily with   (only some?) FT2232-based adapters These are now joined into one :-) Transport and driver

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Michael Ashton
Well, the ARM-JTAG-EW is not an FT2232 device as far as I can tell -- it's supposed to be a JLink clone for IAR. I guess the answer is no then. Looks like the right thing is to get a real JLink. Thanks anyway! On Tue, Oct 18, 2011 at 1:52 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Tue,

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Laurent Gauch
Well, the ARM-JTAG-EW is not an FT2232 device as far as I can tell -- it's supposed to be a JLink clone for IAR. I guess the answer is no then. Looks like the right thing is to get a real JLink. Thanks anyway! On Tue, Oct 18, 2011 at 1:52 AM, Tomek CEDROtomek.cedro at gmail.com

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Michael Ashton
You're right -- my mistake. The web page says: ARM-JTAG-EW emulates on low level the IAR Systems' J-LINK API so it works like normal J-LINK debugger, ... I took this to mean that they were emulating the USB protocol. But a footnote in the manual says -- DLL compatible means that we supply our

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Peter Stuge
Michael Ashton wrote: On Wed, Oct 19, 2011 at 8:56 AM, Laurent Gauch wrote: certainly olime waits on Segger JLINK SWD implementation in openocd to let say their arm jtag ew has swd certainly olime waits on Amontec JTAGkey-3 SWD implementation in openocd to let say their 2232 has swd ...

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Tomek CEDRO
On Thu, Oct 20, 2011 at 1:49 AM, Peter Stuge pe...@stuge.se wrote: It might be really easy to make the device speak SWD. Devices already speaking SWD for some time, need some small support in Target implementation :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Tomek CEDRO
On Thu, Oct 20, 2011 at 1:52 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Thu, Oct 20, 2011 at 1:49 AM, Peter Stuge pe...@stuge.se wrote: It might be really easy to make the device speak SWD. JLink specification is open, from what Ive seen it should be relatively easy to implement generic

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Michael Ashton
On Wed, Oct 19, 2011 at 4:53 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Thu, Oct 20, 2011 at 1:52 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Thu, Oct 20, 2011 at 1:49 AM, Peter Stuge pe...@stuge.se wrote: It might be really easy to make the device speak SWD. JLink specification

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Michael Ashton
On Wed, Oct 19, 2011 at 4:49 PM, Peter Stuge pe...@stuge.se wrote: Michael Ashton wrote: On Wed, Oct 19, 2011 at 8:56 AM, Laurent Gauch wrote: certainly olime waits on Segger JLINK SWD implementation in openocd to let say their arm jtag ew has swd certainly olime waits on Amontec

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Xiaofan Chen
On Thu, Oct 20, 2011 at 11:54 AM, Michael Ashton d...@gtf.org wrote: JLink specification is open, from what Ive seen it should be relatively easy to implement generic (tranfer/bitbang functions) driver for this device :-) I noticed that too. Segger's GDB server is Windows-only, which can be

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-19 Thread Peter Stuge
Michael Ashton wrote: It might be really easy to make the device speak SWD. Might be, but I needed to get something working quickly and reliably -- it's a commercial project. --mpa I guess you already know that SWD support in OpenOCD is not so complete. If you still want to try to use

Re: [Openocd-development] arm-jtag-ew + swd

2011-10-18 Thread Tomek CEDRO
On Tue, Oct 18, 2011 at 2:47 AM, Michael Ashton d...@gtf.org wrote: Hi, I'm wondering if anyone can say whether it's possible, or might ever be possible, to use the Olimex ARM-JTAG-EW with SWD in OpenOCD? I can't find any mention of SWD in arm-jtag-ew.c, but I'm not sure whether that really

[Openocd-development] arm-jtag-ew + swd

2011-10-17 Thread Michael Ashton
Hi, I'm wondering if anyone can say whether it's possible, or might ever be possible, to use the Olimex ARM-JTAG-EW with SWD in OpenOCD? I can't find any mention of SWD in arm-jtag-ew.c, but I'm not sure whether that really means anything. thanks! --Michael