AT91SAM9RL-EK SAM-ICE error: "SAM-ICE can only be used with ATMEL devices"

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

  • AT91SAM9RL-EK SAM-ICE error: "SAM-ICE can only be used with ATMEL devices"

    I am using Atmel's AT91SAM9RL-EK evaluation kit which came with a SAM-ICE device for connecting to the dev board. After connecting the SAM-ICE to the USB port the LED goes solid. J-LINK seems to be able to communicate with it. I am using IAR for compiling and debugging. When I try to start the debugger I get the following error in a message box:
    "SAM-ICE can only be used with ATMEL devices"
    The debugging session fails. I have also tried using SAM-BA, but get the same error.

    Here is the debug log for IAR:
    Tue Feb 10 13:52:23 2009: Loaded macro file: C:\work\vkey-arm9\usb-ms\resources\iar\at91sam9rl-ek-sdram.mac
    Tue Feb 10 13:52:23 2009: DLL version: V3.72a, compiled Jun 18 2007 18:58:11
    Tue Feb 10 13:52:23 2009: Firmware: J-Link compiled Jun 28 2007 10:45:08 ARM Rev.5
    Tue Feb 10 13:52:23 2009: JTAG speed is using adaptive clocking (RTCK signal)
    Tue Feb 10 13:52:23 2009: Halting CPU core
    Tue Feb 10 13:52:23 2009: Software reset was performed
    Tue Feb 10 13:52:23 2009: Initial reset was performed
    Tue Feb 10 13:52:23 2009: J-Link found 1 JTAG device. ARM core Id: 0792603F(ARM9)
    Tue Feb 10 13:52:23 2009: Device at TAP0 selected
    Tue Feb 10 13:52:23 2009: ------------------------------ execUserPreload ---------------------------------
    Tue Feb 10 13:52:23 2009: Resetting target using RESET pin
    Tue Feb 10 13:52:23 2009: CP15.0.0: 0x41069265: ARM, Architecure 5TEJ
    Tue Feb 10 13:52:23 2009: CP15.0.1: 0x1D0D20D2: ICache: 4kB (4*32*32), DCache: 4kB (4*32*32)
    Tue Feb 10 13:52:23 2009: J-Link: ARM9 CP15 Settings changed: 50078 from 78, MMU Off, ICache Off, DCache Off
    Tue Feb 10 13:52:23 2009: Hardware reset with strategy 0 was performed
    Tue Feb 10 13:52:28 2009: SAM-ICE can only be used with ATMEL devices
    Tue Feb 10 13:52:28 2009: Error in C:\work\vkey-arm9\usb-ms\resources\iar\at91sam9rl-ek-sdram.mac at line 195, col 25: Operation error.
    Tue Feb 10 13:52:28 2009: Error while calling macro execUserPreload
    Tue Feb 10 13:52:28 2009: Failed to load debugee: C:\work\vkey-arm9\usb-ms\at91sam9rl-ek\usb-device-massstorage-project\ewp\at91sam9rl64_sdram\Exe\at91sam9rl64_sdram.out

    The command that appears to be failing on line 195 is
    if ((__readMemory32(0xFFFFFC30,"Memory")&0x3) != 0 ) {


    Here is the information I get when I start J-LINK:
    SEGGER J-Link Commander V3.74i ('?' for help)
    Compiled Sep 11 2007 14:43:12
    DLL version V3.74i, compiled Sep 11 2007 14:43:07
    Firmware: J-Link compiled Jun 28 2007 10:45:08 ARM Rev.5
    Hardware: V5.00
    S/N : 20000739
    OEM : SAM-ICE
    Feature(s) : RDI
    VTarget = 3.293V
    JTAG speed: 30 kHz
    Info: CP15.0.0: 0x41069265: ARM, Architecure 5TEJ
    Info: CP15.0.1: 0x1D0D20D2: ICache: 4kB (4*32*32), DCache: 4kB (4*32*32)
    Found 1 JTAG device, Total IRLen = 4:
    Id of device #0: 0x0792603F
    Found ARM with core Id 0x0792603F (ARM9)

    My coworker has the same kit so we have tried exchanging hardware, but he gets no error and I always get the same error. Anybody have any ideas what might be causing this error?