EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Segger J-Link under Linux

Started by Xiaofan Chen October 8, 2008
I just downloaded Segger J-Link Beta Software and
at least it seems to be talking to the J-Link under
Ubuntu 8.04. Any host debugging software for it?

http://www.segger.com/download_jlink.html

mcuee@Ubuntu804:~/Desktop/arm/JLink-Linux$ ./start
SEGGER J-Link Commander V3.75t ('?' for help)
Compiled Dec 10 2007 10:27:50
DLL version V3.75t, compiled Dec 10 2007 10:27:45
Firmware: J-Link ARM V6 compiled Jul 10 2008 18:11:14
Hardware: V6.00
S/N : 156001623
OEM : IAR
VTarget = 0.000V
JTAG speed: 30 kHz

Regards,
Xiaofan

An Engineer's Guide to the LPC2100 Series

--- In l..., "Xiaofan Chen" wrote:
>
> I just downloaded Segger J-Link Beta Software and
> at least it seems to be talking to the J-Link under
> Ubuntu 8.04. Any host debugging software for it?
>

Maybe Rowley Crossworks?
> --- In l..., "Xiaofan Chen" wrote:
> >
> > I just downloaded Segger J-Link Beta Software and
> > at least it seems to be talking to the J-Link under
> > Ubuntu 8.04. Any host debugging software for it?
> > Maybe Rowley Crossworks?

Sorry, nope.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
Paul Curtis wrote:
>> --- In l... ,
> "Xiaofan Chen" wrote:
>> >
>> > I just downloaded Segger J-Link Beta Software and
>> > at least it seems to be talking to the J-Link under
>> > Ubuntu 8.04. Any host debugging software for it?
>> >
>>
>> Maybe Rowley Crossworks?
>
> Sorry, nope.
>

OpenOCD supports the J-Link in linux without the Segger software. OpenOCD has
gone through some major changes recently but I am using svn version 717 on linux
and windows and it works fine. OpenOCD uses libusb instead to access the J-Link.

Tyson

--- In l..., "Paul Curtis" wrote:
>
> > --- In l..., "Xiaofan Chen" wrote:
> > >
> > > I just downloaded Segger J-Link Beta Software and
> > > at least it seems to be talking to the J-Link under
> > > Ubuntu 8.04. Any host debugging software for it?
> > >
> >
> > Maybe Rowley Crossworks?
>
> Sorry, nope.
>

Damn... maybe some time in the future?
Hi,

> -----Original Message-----
> From: l... [mailto:l...] On Behalf
Of
> slawcus
> Sent: 08 October 2008 18:30
> To: l...
> Subject: [lpc2000] Re: Segger J-Link under Linux
>
> --- In l..., "Paul Curtis" wrote:
> >
> > > --- In l..., "Xiaofan Chen" wrote:
> > > >
> > > > I just downloaded Segger J-Link Beta Software and
> > > > at least it seems to be talking to the J-Link under
> > > > Ubuntu 8.04. Any host debugging software for it?
> > > >
> > >
> > > Maybe Rowley Crossworks?
> >
> > Sorry, nope.
>
> Damn... maybe some time in the future?

Good question. If we supported it under Linux it would probably work under
Mac OS too. But it's a fair amount of work and we already have all the FTDI
and parallel port adapters to support along with our own CrossConnect. It's
a lot of work for not a lot of gain.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

On Thu, Oct 9, 2008 at 1:44 AM, Paul Curtis wrote:
>> > > Maybe Rowley Crossworks?
>> >
>> > Sorry, nope.
>>
>> Damn... maybe some time in the future?
>
> Good question. If we supported it under Linux it would probably work under
> Mac OS too. But it's a fair amount of work and we already have all the FTDI
> and parallel port adapters to support along with our own CrossConnect. It's
> a lot of work for not a lot of gain.

A lot of work, yes. Not a lot of gain? Not so sure. Many of us developers
get free starter kits free from NXP or its distributors. Many of the
starter kits come with the J-Link.

Xiaofan

On Thu, Oct 9, 2008 at 12:01 AM, Tyson Harding wrote:
>
> OpenOCD supports the J-Link in linux without the Segger software. OpenOCD has
> gone through some major changes recently but I am using svn version 717 on linux
> and windows and it works fine. OpenOCD uses libusb instead to access the J-Link.
>

Thanks for the information. I will try it.

Under Windows, do you use Libusb-win32 device driver or the filter driver?
The filter driver is known not to work under Windows Vista and will not
be supported in the future. If you use the device driver instead of the
Segger driver, then you can not use the Segger utility. But that is
not a problem if OpenOCD works fine.

Regards,
Xiaofan

Hi,

> On Thu, Oct 9, 2008 at 1:44 AM, Paul Curtis wrote:
> >> > > Maybe Rowley Crossworks?
> >> >
> >> > Sorry, nope.
> >>
> >> Damn... maybe some time in the future?
> >
> > Good question. If we supported it under Linux it would probably work
under
> > Mac OS too. But it's a fair amount of work and we already have all the
FTDI
> > and parallel port adapters to support along with our own CrossConnect.
It's
> > a lot of work for not a lot of gain.
>
> A lot of work, yes. Not a lot of gain? Not so sure. Many of us developers
> get free starter kits free from NXP or its distributors. Many of the
> starter kits come with the J-Link.

I am 100% sure that the cost involved in supporting the J-Link under Linux
far exceeds the extra sales it would generate.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

On Thu, Oct 9, 2008 at 7:21 AM, Paul Curtis wrote:
>> A lot of work, yes. Not a lot of gain? Not so sure. Many of us developers
>> get free starter kits free from NXP or its distributors. Many of the
>> starter kits come with the J-Link.
>
> I am 100% sure that the cost involved in supporting the J-Link under Linux
> far exceeds the extra sales it would generate.
>

Hmm, I agree. I forgot the Linux factor as J-Link is already
supported under Windows for Crossworks.

Linux might be difficult for small developers as many people would
not pay for something cost money under Linux, including me. ;-(

Xiaofan


The 2024 Embedded Online Conference