[SOLVED] Unable to debug Atmel sama5d4 xplained board in IAR

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

  • [SOLVED] Unable to debug Atmel sama5d4 xplained board in IAR

    Hi,

    I am trying out some example given in atmel website for my board with Jlink.

    But i am getting error Failed to get CPU status after 4 retries in IAR WB. :huh:



    Following my setup:

    Board: SAMA5D4 Xplained Ultra

    JTAG: J-Link Ultra version 1.2 ( Dll version 4.98 )

    Example code in IDE: Some projects in IAR workbench version 7.30 given in atmel website for this board



    Debug log in IAR WB:


    Tue Apr 07, 2015 18:28:51: Loaded macro file: D:\Projects\SAMA5D44\arm\examples\Atmel\sama5d4x-ek\examples\pwm\build\ewarm\..\..\..\..\libraries\libboard_sama5d4x-ek\resources\ewarm\sama5d4x-ek-sram.mac
    Tue Apr 07, 2015 18:28:52: Device "ATSAMA5D44" selected.
    Tue Apr 07, 2015 18:28:52: JLINK command: ProjectFile = D:\Projects\SAMA5D44\arm\examples\Atmel\sama5d4x-ek\examples\pwm\build\ewarm\settings\pwm_sram.jlink, return = 0
    Tue Apr 07, 2015 18:28:52: Device "ATSAMA5D44" selected.
    Tue Apr 07, 2015 18:28:52: DLL version: V4.98, compiled Mar 20 2015 18:23:08
    Tue Apr 07, 2015 18:28:52: Firmware: J-Link Ultra Rev.1 compiled Dec 3 2013 14:27:53
    Tue Apr 07, 2015 18:28:52: JTAG speed is initially set to: 32 kHz
    Tue Apr 07, 2015 18:28:52: Initial reset was performed
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:52: ------------------------------ execUserPreload ---------------------------------
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:52: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    ...same stuff...
    Tue Apr 07, 2015 18:28:56: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:56: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:56: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:28:56: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Tue Apr 07, 2015 18:29:00: Fatal error: Session aborted!
    Tue Apr 07, 2015 18:29:00: D:\Projects\SAMA5D44\arm\examples\Atmel\sama5d4x-ek\examples\pwm\build\ewarm\..\..\..\..\libraries\libboard_sama5d4x-ek\resources\ewarm\sama5d4x-ek-sram.mac(103,19): Error:
    Operation error.
    Tue Apr 07, 2015 18:29:00: Error while calling macro execUserPreload
    Tue Apr 07, 2015 18:29:00: Failed to load debugee: D:\Projects\SAMA5D44\arm\examples\Atmel\sama5d4x-ek\examples\pwm\build\ewarm\sram\bin\sram.out
  • Thanks for the update. Good to hear that you are up and running now.
    Thread closed.
    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.