ADUCRF101: Trouble with J-Link : Found SWD-DP with ID 0x2BA01477 ; Fatal error: Session aborted!

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

  • ADUCRF101: Trouble with J-Link : Found SWD-DP with ID 0x2BA01477 ; Fatal error: Session aborted!

    Hello Segger-Support,

    I have trouble with J-Link used from "IAR Embedded Workbench IDE". If i download my
    program, so i get "J_link Dialog" with "Failed to get CPU status after 4
    retries. Retry?" after this i can only abort the current session .
    I use ADUCRF101 (IAR KickStart Kit) evaluation board.

    -- Here is the Debug Log from IAR Workbench IDE :

    Mon Jun 25, 2012 17:17:35: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\AnalogDevices\FlashADUCM3xx.mac
    Mon Jun 25, 2012 17:17:36: JLINK command: ProjectFile = D:\YASSIN\programmes\CD ADUCRF101\Beta_ADuCRF101v0.4\Code\Examples\Radio\settings\Radio_Transmit.jlink, return = 0
    Mon Jun 25, 2012 17:17:36: Device "ADUCRF101" selected (128 KB flash, 16 KB RAM).
    Mon Jun 25, 2012 17:17:36: JLINK command: device = ADUCRF101, return = 0
    Mon Jun 25, 2012 17:17:36: DLL version: V4.42b, compiled Feb 14 2012 15:26:46
    Mon Jun 25, 2012 17:17:36: Firmware: J-Link ARM Lite V8 compiled Feb 8 2012 14:32:07
    Mon Jun 25, 2012 17:17:36: Selecting SWD as current target interface.
    Mon Jun 25, 2012 17:17:36: JTAG speed is initially set to: 32 kHz
    Mon Jun 25, 2012 17:17:36: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:37: Hardware reset with strategy 7 was performed
    Mon Jun 25, 2012 17:17:37: Initial reset was performed
    Mon Jun 25, 2012 17:17:37: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:37: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:39: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:40: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:43: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:44: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:46: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:46: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 17:17:51: Fatal error: Session aborted!
    Mon Jun 25, 2012 17:17:51: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\AnalogDevices\FlashADUCM3xx128K_8K.out
    Mon Jun 25, 2012 17:17:51: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\AnalogDevices\FlashADUCM3xx128K_8K.flash

    -- and here is the message frm the J-Link control panel log :


    J-Link V4.42b DLL Log
    DLL Compiled: Feb 14 2012 15:26:46
    Logging started @ 2012-06-25 17:17
    TB1F8 000:383 JLINK_Reset() -- Type: 7
    TB1F8 000:958 JLINK_Halt()


    Could you help me resolve this problem ?
    and thanks in advance for your Support.
  • Hi Alex,

    in fact, i have two minikits and the code that i'm using in well functioning in one and not in the other (which show the error below). i retried using the new version that you mentioned but the problem persists. and here is the new Debug log :


    Mon Jun 25, 2012 18:09:11: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\AnalogDevices\FlashADUCM3xx.mac
    Mon Jun 25, 2012 18:09:11: JLINK command: ProjectFile = D:\YASSIN\programmes\CD ADUCRF101\Beta_ADuCRF101v0.4\Code\Examples\Radio\settings\Radio_Transmit.jlink, return = 0
    Mon Jun 25, 2012 18:09:11: Device "ADUCRF101" selected (128 KB flash, 16 KB RAM).
    Mon Jun 25, 2012 18:09:11: JLINK command: device = ADUCRF101, return = 0
    Mon Jun 25, 2012 18:09:11: DLL version: V4.50i, compiled Jun 22 2012 13:07:53
    Mon Jun 25, 2012 18:09:11: Firmware: J-Link ARM Lite V8 compiled Jun 19 2012 14:36:11
    Mon Jun 25, 2012 18:09:11: Selecting SWD as current target interface.
    Mon Jun 25, 2012 18:09:11: JTAG speed is initially set to: 32 kHz
    Mon Jun 25, 2012 18:09:11: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 18:09:12: Hardware reset with strategy 7 was performed
    Mon Jun 25, 2012 18:09:12: Initial reset was performed
    Mon Jun 25, 2012 18:09:12: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 18:09:16: Found SWD-DP with ID 0x2BA01477
    Mon Jun 25, 2012 18:09:30: Fatal error: Session aborted!
    Mon Jun 25, 2012 18:09:30: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\AnalogDevices\FlashADUCM3xx128K_8K.out
    Mon Jun 25, 2012 18:09:30: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\AnalogDevices\FlashADUCM3xx128K_8K.flash

    -- and here is the J-Link log :


    J-Link V4.50i DLL Log
    DLL Compiled: Jun 22 2012 13:07:53
    Logging started @ 2012-06-25 18:09
    TAB04 117:338 JLINK_Reset() -- Type: 7
    TAB04 118:579 JLINK_Halt()

    thx for your help.

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

  • Hi,

    thx Alex for replying.
    here attached a code example that reproduced the error. the same project is well functioning in the other board.
    still have a question : can the flash memory be locked or something similar by downloading a defected code ? (cause all examples that i tried to implement show up the same error !!)
    Files
    • transmit.pdf

      (60.66 kB, downloaded 1,038 times, last: )
  • Ahh, in fact it's a code from the examples provided with the miniboard (ftp.analog.com/pub/evalcd/ADuC…ntation/DasLib/index.html ) and it's supposed to be OK !
    but as i said, i tried other codes which i tested with the other board and it didn't work neither. By the way, isn't there any tool or way to erase the flash a part of this IAR -> download -> erase memory 'cause the JLink debug log show the message "Jlink_IsHalted returns Error" million times and it seems to me that the CPU couldn't be stopped or sth like that ! :S

    Best,
  • Hi,

    Hip Hip Holley !! :D finally, it's solved !
    I didn't found the problem in itself but i succeeded to erase the whole Flash memory by using the CM3WSD software.
    PS: i tried to erase the flash memory using IAR -> download -> erase memory and it showed the same error as described upper.
    Thx for all and For you Alex. :thumbup:

    Have a good day !