SAM-ICE and JLink.exe

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

  • SAM-ICE and JLink.exe

    Hello,

    I want to access the SAM7S on an AT91SAM7S-EK with the SAM-ICE debugger.
    I tried the J-Link ARM driver version 3.62, 3.80 and 3.81 all with the same result:

    SEGGER J-Link Commander V3.81h ('?' for help)
    Compiled Apr 11 2008 19:26:04
    DLL version V3.81h, compiled Apr 11 2008 19:25:51
    Firmware: J-Link compiled Mar 3 2008 19:52:16 ARM Rev.5
    Hardware: V5.40
    S/N : 20004041
    OEM : SAM-ICE
    Feature(s) : RDI
    VTarget = 3.306V
    JTAG speed: 5 kHz
    Info: TotalIRLen = ?, IRPrint = 0x..00000000000000000000000000000001
    Info: TotalIRLen = ?, IRPrint = 0x..00000000000000000000000000000001

    ****** Error: Could not find supported CPU core on JTAG chain


    The board is definitely OK and the chip can be programmed with SAM-BA. Interestingly the debugger doesn't even try to reset the arm core...

    anyone help?

    BR,
    Luke
  • Hello Tobias,

    The MCU on the AT91SAM7S-EK is the AT91SAM7S256
    when entering "rx 0", J-Link returns:

    J-Link>rx 0
    Reset delay: 0 ms
    Reset type NORMAL: Using RESET pin, halting CPU after Reset
    Info: TotalIRLen = ?, IRPrint = 0x..00000000000000000000000000000001
    Info: TotalIRLen = ?, IRPrint = 0x..00000000000000000000000000000001
    Info: TotalIRLen = ?, IRPrint = 0x..00000000000000000000000000000001
    Info: Resetting target using RESET pin
    Info: Halting CPU core

    WARNING: Received 0 as core Id.
    Info: Using DBGRQ to halt CPU
    Info: Resetting TRST in order to halt CPU
    Info: Resetting target using RESET pin
    Info: Halting CPU core

    WARNING: Received 0 as core Id.
    Info: Using DBGRQ to halt CPU
    Info: Resetting TRST in order to halt CPU

    ****** Error: Could not find supported CPU core on JTAG chain
    Unable to halt ARM core


    ...which supports my assumption that theSAM-ICE cannot reset the MCU. As said earlier, the MCU is executing a program which has been programmed before with the J-LINK debugger (the black thingy).
    In another forum someone suggested that the IAR-Software (which was used with the J-LINK debugger) modified the fuses.
    Anyway, I am still clueless...

    regards,
    Luke
  • Hard to say way exactly the problem is without being able to take a closer look.

    When it comes to RESET and SAM7, the RESET pin is bidrectional! and is per default
    disabled. SO most likely a RESET does not have any effect.

    However, the chip has an ERASE pin. Connecting it to VCC for 50 ms or more should
    erase the chip and get you back into business.
    An other, less likely option is that you somehow "killed" the J-Link.

    So try erasing, if that does not fix it, hook up a scope (See trouble shooting section
    in the J-Link manual).

    Does this solve it ?
    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.