Jlink can find Beaglebone Black in Command Prompt window, but can't by Jlink commander, also doesn't work in IAR IDE

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

  • Jlink can find Beaglebone Black in Command Prompt window, but can't by Jlink commander, also doesn't work in IAR IDE

    I'm trying to debug Beaglebone Black using Jlink with IAR IDE 7.2. I was able to run Jlink to talk to Beaglebone Black Jtag, please see below:

    C:\Program Files (x86)\SEGGER\JLink_V498d>jlink -device am3358
    SEGGER J-Link Commander V4.98d ('?' for help)
    Compiled Apr 28 2015 13:58:44
    Info: Device "AM3358" selected.
    DLL version V4.98d, compiled Apr 28 2015 13:58:23
    Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    Hardware: V8.00
    S/N: 286370559
    Feature(s): RDI,FlashDL,FlashBP,JFlash
    VTarget = 3.384V
    Info: TotalIRLen = 6, IRPrint = 0x01
    Info: TotalIRLen = 10, IRPrint = 0x0011
    Info: CoreSight AP[0]: 0x04770001, AHB-AP
    Info: CoreSight AP[1]: 0x04770002, APB-AP
    Info: CoreSight AP[2]: 0x04760000, JTAG-AP
    Info: Found Cortex-A8 r3p2
    Info: 6 code breakpoints, 2 data breakpoints
    Info: Debug architecture ARMv7.0
    Info: Data endian: little
    Info: Main ID register: 0x413FC082
    Info: I-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
    Info: D-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
    Info: Unified-Cache L2: 256 KB, 512 Sets, 64 Bytes/Line, 8-Way
    Info: System control register:
    Info: Instruction endian: little
    Info: Level-1 instruction cache disabled
    Info: Level-1 data cache disabled
    Info: MMU disabled
    Info: Branch prediction enabled
    Found 2 JTAG devices, Total IRLen = 10:
    #0 Id: 0x3BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
    #1 Id: 0x2B94402F, IRLen: 06, IRPrint: 0x1, TI ICEPick
    Cortex-A8 identified.
    Target interface speed: 100 kHz
    J-Link>

    However when starting Jlink Commander I was given the following message:


    SEGGER J-Link Commander V4.98d ('?' for help)
    Compiled Apr 28 2015 13:58:44
    DLL version V4.98d, compiled Apr 28 2015 13:58:23
    Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    Hardware: V8.00
    S/N: 286370559
    Feature(s): RDI,FlashDL,FlashBP,JFlash
    VTarget = 3.384V
    Info: TotalIRLen = 6, IRPrint = 0x01
    Info: TotalIRLen = 6, IRPrint = 0x01
    No devices found on JTAG chain. Trying to find device on SWD.
    No device found on SWD.
    Failed to identify target. Trying again with slow (4 kHz) speed.
    Info: TotalIRLen = 6, IRPrint = 0x01
    Info: TotalIRLen = 6, IRPrint = 0x01
    No devices found on JTAG chain. Trying to find device on SWD.
    No device found on SWD.
    No device found at all. Selecting JTAG as default target interface.
    J-Link>

    Additionally, when I select Jlink as debbuger in IAR IDE 7.2, I got error as below:

    - Target interface speed: 1000 kHz (Auto)
    - Initializing CPU core (Init sequence) ...
    - Initialized successfully
    - Target interface speed: 1000 kHz (Auto)
    - J-Link found 2 JTAG devices. Core ID: 0x3BA00477 (Cortex-A8)
    - Reading CFI info ...
    - Could not find CFI compliant flash device
    - Detecting flash memory ...
    - ERROR: Could not find any flash devices
    - ERROR: Failed to connect

    My Jlink can happily talk to my other ARM boards using IAR IDE, such as STM32F107, STM32F205, STM32F373, so I can confirm that my Jlink is in working order.

    Any help is appreciated.
  • Hi,

    You are using an illegal J-Link clone.
    The use of illegal J-Link clones with this software is a violation of US, European and other international laws and is prohibited.

    In case you
    • think we are mistaken
    • acquired this J-Link through a SEGGER partner
    • want to acquire a genuine J-Link
    please get in touch with info@segger.com .

    Your forum account is suspended until further notice.
    SEGGER J-Link Software Terms of use: segger.com/terms-of-use.html



    Best regards,
    Niklas
    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.