Tuesday, September 7th 2010, 8:25pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

cmw

Beginner

Date of registration: Jan 12th 2009

Posts: 4

1

Monday, January 12th 2009, 7:27pm

unknown register using gdbserver

I'm using J-link gdb server with a ARM11 chip. I can print the registers with monitor regs but when i try to read/write a specific register it fails with the error "Unknown register". J-Link commander is able to set PC fine and everything else works fine in gdb server. Can anyone help out?

Here is a sample of what is happening on both 4.00a and 4.01a

(gdb) monitor reg pc
Unsupported register !
(gdb) monitor reg r0
Unsupported register !
(gdb) monitor regs
PC = 1FFFFFD0, CPSR = 000001D3 (SVC mode, ARM FIQ dis. IRQ dis.)
R0 = 00000000, R1 = 001100D0, R2 = 2C202040, R3 = 00100008
R4 = 81A84980, R5 = 00103810, R6 = 040B1081, R7 = 40000600
USR: R8 =2C101944, R9 =00521820, R10=90000240, R11 =88002008, R12 =48002118
R13=21600209, R14=B8184004
FIQ: R8 =90080018, R9 =8A4A0002, R10=6A101220, R11 =01000024, R12 =00300950
R13=08B20829, R14=08802040, SPSR=00000010
SVC: R13=08AC0240, R14=41130000, SPSR=00000010
ABT: R13=28000182, R14=60230050, SPSR=00000010
IRQ: R13=24080020, R14=05101011, SPSR=00000010
UND: R13=49209010, R14=1F105694, SPSR=000001DB

This post has been edited 1 times, last edit by "cmw" (Jan 13th 2009, 4:11pm)


cmw

Beginner

Date of registration: Jan 12th 2009

Posts: 4

2

Wednesday, January 14th 2009, 5:50pm

Does no one from Segger have any comments? is this a bug?

SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 302

3

Wednesday, January 28th 2009, 1:32pm

Hello cmw,

sorry for the delay.

We will have a look into this. There seems to be a problem inside the J-Link GDB Server.

Best regards,
Alex

SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 302

4

Wednesday, January 28th 2009, 3:56pm

Hello cmw,

we have analyzed and fixed the problem.
The problem will be fixed in the next beta version of the J-Link software (V4.03d).
The new version will be available for download from our website:
http://www.segger.com/download_jlink_beta.html

Best regards,
Alex