GDB server debuging help need

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

  • GDB server debuging help need

    Hello
    i successfully connected my one of phone with jlink
    i able to read CFI info flash read also work fine.

    program phone etc option are not enable don't know reason but anyway.
    here is connection details

    Source Code

    1. - Connecting via USB to J-Link device 0
    2. - J-Link firmware: V1.20 (J-Link ARM V7 compiled Jun 30 2009 11:05:27)
    3. - JTAG speed: 5 kHz (Fixed)
    4. - Initializing CPU core (Init sequence) ...
    5. - Initialized successfully
    6. - Using adaptive clocking instead of fixed JTAG speed
    7. - J-Link found 1 JTAG device. Core ID: 0x200B10E1 (ARM9)
    8. - Reading CFI info ...
    9. - CFI info read successfully
    10. - Connected successfully


    but i really need help on GDB server using when i open GDB server its show always error with all possible my test phones.

    Source Code

    1. Listening on TCP/IP port 2331
    2. J-Link connected
    3. Firmware: J-Link ARM V7 compiled Jun 30 2009 11:05:27
    4. Hardware: V7.00
    5. Feature(s): RDI, FlashBP, FlashDL, JFlash, GDBFull
    6. J-Link found 1 JTAG device, Total IRLen = 4
    7. JTAG ID: 0x200B10E1 (ARM9)
    8. Could not read unit serial number.


    "Could not read unit serial number." always this error i was thinking its because of CFI details but now my phone work fine with auto cfi detection.
    i am using IDA PRO with remote debuger option with ip address 127.0.0.1 with port listed in GDB server 2331 but GDB server always show "connection terminated ip xxxxxxxxxxxx"

    any one help on this?
  • Hi,

    could you please post a complete output of JLink.exe (including SN of the J-Link and the features)
    when your J-Link is connected to the target device?


    - 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 thanks alex for reply here is log.

    Source Code

    1. SEGGER J-Link Commander V4.12 ('?' for help)
    2. Compiled Feb 26 2010 19:23:14
    3. DLL version V4.12, compiled Feb 26 2010 19:22:53
    4. Firmware: J-Link ARM V7 compiled Jun 30 2009 11:05:27
    5. Hardware: V7.00
    6. S/N : -1
    7. Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDBFull
    8. Info: TotalIRLen = 4, IRPrint = 0x01
    9. VTarget = 2.523V
    10. Info: CP15.0.0: 0x41069263: ARM, Architecure 5TEJ
    11. Info: CP15.0.1: 0x1D152112: ICache: 8kB (4*64*32), DCache: 16kB (4*128*32)
    12. Info: Cache type: Separate, Write-back, Format C (WT supported)
    13. Found 1 JTAG device, Total IRLen = 4:
    14. #0 Id: 0x200B10E1, IRLen: 04, Unknown device
    15. Found ARM with core Id 0x200B10E1 (ARM9)
    16. ETM V1.3: 8 pairs addr.comp, 8 data comp, 16 MM decs, 4 counters, sequencer
    17. RTCK reaction time is approx. 126ns
    18. Using adaptive clocking instead of fixed JTAG speed.
    Display All
  • Hello stanner.austin,

    based on the output of JLink.exe you posted, we have to assume that you are using an illegal J-Link clone.
    We do not support illegal copies of J-Link.

    Could you give us some information about where you have bought your J-Link?


    Best regards
    Alex
    --------------------------------------
    SEGGER J-Link software may only be used with original SEGGER products and authorized OEM products.
    The use of the licensed software to operate SEGGER product clones is prohibited and illegal.
    segger.com/cms/terms-of-use.html
    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.
  • @alex
    hello
    this is second jlink first was never able to detect CFI i replaced with guy and he give me new jlink which able to detect CFI details for some phones.
    i am from india can you tell me where you recommend to buy so should get 100% ORIGINAL?
    i just need for DEBUGGING i am not interested in dumping or flashing chips.

    and please also tell what jilnk other product are recommended for debugging.
  • Hi,

    you can buy original SEGGER J-Link directly from us
    segger.com/cms/pricelist-j-link-related.html
    and from our distributors
    segger.com/cms/distributors.html

    >>and please also tell what jilnk other product are recommended for debugging.
    For more information about J-Link and available software for J-Link, please have a look at
    segger.com/cms/jlink.html

    PS: I have also sent you a PN. Could you please have a look at it?

    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.