Thursday, June 29th 2017, 12:49pm 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.

cei

Beginner

Date of registration: Oct 11th 2010

Posts: 1

1

Monday, October 11th 2010, 2:22pm

J-Link gdbserver and ARM Cortex

Hi,

when using the J-Link gdbserver I'm facing some issues when accessing registers.

1.) "monitor regs" returns me register in the ARM7/9 format. Moreover, the first time I call "monitor regs" after starting gdbserver I get the following error message: "_ReadRegIfNeccessary(): Register 34 is not marked as valid"
2.) Accessing special Cortex system register (for instance MSP or PSP) is not possible:
monitor reg pc
Reading register (PC = 0x000000dc)
monitor reg msp
Unsupported register !

Any way to access them?

More info:
I use gdbserver V4.20h with command line parameter "-if swd"
I see this issues on Cortex M0 as well as on M3 (LPC1114 and LPC1343 respectively)

Thanks in advance for your answer,
Christian.