Wednesday, February 21st 2018, 2:10am UTC+1

You are not logged in.

  • Login
  • Register

duane

Beginner

Date of registration: Dec 18th 2007

Posts: 4

1

Tuesday, December 18th 2007, 3:23am

jlink-3.78c - w/gdbserver - dies a horrible death and goes 'ker-plop'

Hello,

there are problems with the new version of jlink software. It crashes and exits. :(

I have:

SEGGER J-Link GDB Server V3.78c
JLinkARM.dll V3.78c (DLL compiled Dec 13 2007 20:28:39)
J-Link connected
Firmware: J-Link compiled Dec 03 2007 17:15:31 ARM Rev.5
Hardware: V5.20
S/N: 20002799
OEM: SAM-ICE
Feature(s): RDI
Listening on TCP/IP port 2331

J-Link found 1 JTAG device, Total IRLen = 4
JTAG ID: 0x3F0F0F0F (ARM7)
SAM-ICE found !

I am using this version of GDB (from linux, gdbserver is running on my windows PC)

Using GDB (insight) 6.7.1 -
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".

From GDB, I can *CONNECT* to the board.
However, if I attempt to "download" - I get 2 or 3 messages then it dies/crashes/whatever - the GDBServer goes away, it dies very fast - I cannot tell if there are 2 or 3 messages. The previous version V 3.68B - works, and does not have this problem.

The "log" file it creates useless, and does not contain anything meaningful.
It shows the two write packets - to memory, and ends.

I am sure you want the elf file to try your self, who should I send it to?

Target is atmel at91sam7ex256.

-Duane.

SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 1,516

2

Tuesday, December 18th 2007, 9:16am

Hello duane,

we will investigate this problem.
You are right, in order to reproduce the problem it would be useful to have the .elf file.
Can you please send the .elf file to the e-mail address which I will send you via PM?

Alex

This post has been edited 1 times, last edit by "SEGGER - Alex" (Dec 18th 2007, 9:24am)


SEGGER - Tobias

Super Moderator

Date of registration: Nov 27th 2007

Posts: 21

3

Tuesday, December 18th 2007, 9:10pm

Hello Duane,

We have built a new beta version of the J-Link GDB Server
which can generate a detailed logfile.

The new beta version is available for download from our website:
http://www.segger.com/download_jlink_beta.html

Can you please download this version and
send us the GDB logfile ?

To generate a GDB logfile please enable the
"Generate logfile" checkbox in the GDB Server
dialog.

You will find the logfile in the program folder of
the GDB Server. It is named "JLinkGDB.log".

Best regards,
Tobias

duane

Beginner

Date of registration: Dec 18th 2007

Posts: 4

4

Wednesday, December 19th 2007, 12:18pm

Last night - I emailed the ELF + two copies of the log file to the address you sent privately and forgot to put a note here.

Thanks.
-Duane.

duane

Beginner

Date of registration: Dec 18th 2007

Posts: 4

5

Thursday, December 20th 2007, 2:51am

Thanks - For those who do not know - the new beta version (379g) fixes the problem.

-Duane.