unknown register using gdbserver

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • 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

    The post was edited 1 time, last by cmw ().

  • 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
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • 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:
    segger.com/download_jlink_beta.html

    Best regards,
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.