[SOLVED] JLink and Working with BeagleBoard-XM

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

  • [SOLVED] JLink and Working with BeagleBoard-XM

    Hi,



    I have been trying to get JLink working with a Beagleboard-XM (which is a TI DM3730 ARM Cortex-A8 ). I have used a ARM 20 pin to TI-14 pin adapter from Lauterbach.



    I keep seeing the following error returned:


    Source Code

    1. SEGGER J-Link Commander V4.20h ('?' for help)
    2. Compiled Oct 5 2010 19:11:57
    3. DLL version V4.20h, compiled Oct 5 2010 19:11:41
    4. Firmware: J-Link ARM V8 compiled Oct 5 2010 08:59:59
    5. Hardware: V8.00
    6. S/N:
    7. OEM: SEGGER-EDU
    8. Feature(s): FlashBP, GDB
    9. VTarget = 1.792V
    10. Info: TotalIRLen = 6, IRPrint = 0x01
    11. Info: Found TI ICEPick. Enabling device at position 0.
    12. Info: ARM AP[0]: 0x14770001, AHB-AP
    13. Info: ARM AP[1]: 0x04770002, APB-AP
    14. Info: ARM AP[2]: 0x14760010, JTAG-AP
    15. Info: Found Cortex-A8 r3p2
    16. Info: 6 code breakpoints, 2 data breakpoints
    17. ****** Error: DBGEN is not asserted.
    18. No devices found on JTAG chain. Trying to find device on SWD.
    19. WARNING: CPU core not found.
    20. ****** Error: Parity error (Data = 0xFFFFFFFF, ReceivedParity = 1)
    21. No device found on SWD.
    22. Did not find any core.
    23. Info: TotalIRLen = 6, IRPrint = 0x01
    24. Info: Found TI ICEPick. Enabling device at position 0.
    25. Info: ARM AP[0]: 0x14770001, AHB-AP
    26. Info: ARM AP[1]: 0x04770002, APB-AP
    27. Info: ARM AP[2]: 0x14760010, JTAG-AP
    28. Info: Found Cortex-A8 r3p2
    29. Info: 6 code breakpoints, 2 data breakpoints
    30. ****** Error: DBGEN is not asserted.
    31. No devices found on JTAG chain. Trying to find device on SWD.
    32. WARNING: CPU core not found.
    33. No device found on SWD.
    34. Did not find any core.
    35. J-Link>
    Display All


    When I adjust the speed to fixed (2000, 4000, or 6000 kHz), this error goes away but then I can't halt. Doing a reset doesn't solve this either.

    Admittedly I am new to all of this so the fix might be simple! Any help would be really fantastic.

    Thanks in advance,

    Alex.

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

  • Hi Alex,

    the beagle board (to be more specific the OMAP3530 on it) needs a special setup sequence to
    a) put the ARM core into the scan chain (the ICEPick has to be configured)
    and
    b) Assert the DBGEN signal

    This can be done by using a J-Link script file (see chapter 5.10 in UM08001 for more information about script files).
    The J-Link software and documentation package comes with sample script files for different devices.
    They are located at: $JLINK_INST_DIR$\Samples\JLink\Scripts

    In your case, you should copy the ScriptBeagleBoard_OMAP3530.JLinkScript
    to the base directory were the DLL is located and rename it to Default.JLinkScript

    The DLL always checks if there is a Default.JLinkScript file present in the DLL directory,
    to allow the use of script files even if the debugger etc. does not provide a way to configure one.

    Hope it helps.

    Best regards
    Alex
    Images
    • BeagleBoard.gif

      11.52 kB, 668×391, viewed 2,167 times
    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.
  • JLink on Linux OS, trying to connect to BeagleBoard-xM

    I was searching Segger's forum and found this post about the JLink working with the Beagelboard-xM. The error message AlexL received is very similar to the error message that I receive when attempting to connect to the Beagleboard-xM. However, there are no sample OMAP scripts in the Linux Beta file that I download from Segger's website. There is however a Default.ini file. If there are sample scripts for Linux available for the cortex-A8, would someone be able to post them. If not, does someone know a work around to get the Jlink to communicate with OMAP processor on the beagleboard?

    Currently using 32-Bit version of Kubuntu 10.04 LTS on a Dell PC as development environment.