EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

SWD using J-link on OpenOCD

Started by Mario Ivancic January 4, 2014
Is this possible?
I'm trying to make it work on Windows XP and OpenOCD 0.7.0 using JLink
8.0 (actually SAM-ICE 8.0) and no success yet.

I'm using this config:

interface jlink
transport select swd
swd_mode 2
swd_delay 2

And every time I get error that transport is already selected:

Info : only one transport option; autoselect 'jtag'
Error: session's transport is already selected.
Runtime Error: embedded:startup.tcl:20:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'transport' called at file "jlink.cfg", line 12
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 20

Best regards,
Mario


Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/lpc2000/join
(Yahoo! ID required)

<*> To change settings via email:
l...
l...

<*> To unsubscribe from this group, send an email to:
l...

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/

An Engineer's Guide to the LPC2100 Series

I used gdb + openocd + jlink it works in Ubuntu 12.04, but only after updating the jlink firmware.

Bye,
MIlind

On Saturday, January 4, 2014 8:46 PM, Mario Ivancic wrote:

 
Is this possible?
I'm trying to make it work on Windows XP and OpenOCD 0.7.0 using JLink
8.0 (actually SAM-ICE 8.0) and no success yet.

I'm using this config:

interface jlink
transport select swd
swd_mode 2
swd_delay 2

And every time I get error that transport is already selected:

Info : only one transport option; autoselect 'jtag'
Error: session's transport is already selected.
Runtime Error: embedded:startup.tcl:20:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'transport' called at file "jlink.cfg", line 12
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 20

Best regards,
Mario
Hi MIlind,

What openocd version are you using and can you share your config files
for target and interface?

On 6.1.2014 6:58, Milind Kakati wrote:
> I used gdb + openocd + jlink it works in Ubuntu 12.04, but only after
> updating the jlink firmware.
>
> Bye,
> MIlind
>
> On Saturday, January 4, 2014 8:46 PM, Mario Ivancic
> wrote:
> Is this possible?
> I'm trying to make it work on Windows XP and OpenOCD 0.7.0 using JLink
> 8.0 (actually SAM-ICE 8.0) and no success yet.
>
> I'm using this config:
>
> interface jlink
> transport select swd
> swd_mode 2
> swd_delay 2
>
> And every time I get error that transport is already selected:
>
> Info : only one transport option; autoselect 'jtag'
> Error: session's transport is already selected.
> Runtime Error: embedded:startup.tcl:20:
> in procedure 'script'
> at file "embedded:startup.tcl", line 58
> in procedure 'transport' called at file "jlink.cfg", line 12
> in procedure 'ocd_bouncer'
> at file "embedded:startup.tcl", line 20
>
> Best regards,
> Mario
>

The 2024 Embedded Online Conference