Pb communication with J-Link

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

  • Pb communication with J-Link

    Dear,

    I use the software IAR Embedded Workbench, the microcontrolleur is an MAC7111 (arm7) and my version of the driver J-Link is the v3.88

    Sometimes I can program my microcontrolleur but the rest of the time I have the following message :

    "Bad JTAG communication : Write to IR : Expected 0x1, got 0x2 (TAP Commande : 2) @ Off 0x5"

    If I choose "try again" the message is :

    "Can not read register (R15 (PC)), CPU may not be halted"

    then it is writing :

    "Warning: Write failed (target is running) at Memory address 0x40000000"

    (it the the address of the ram)

    When there is no problem connexion I have the following messages in the log windows :

    Mon Aug 11 09:58:54 2008: The stack pointer for stack 'CSTACK' (currently 0xFDBD5BFE) is outside the stack range (0x40000000 to 0x40000400)
    Mon Aug 11 09:58:54 2008: The stack pointer for stack 'IRQ_STACK' (currently 0x93DEFDB9) is outside the stack range (0x40000400 to 0x40000800)
    Mon Aug 11 09:58:54 2008: The stack pointer for stack 'FIQ_STACK' (currently 0xF74B62D9) is outside the stack range (0x40000800 to 0x40000840)

    I don't know if there is a relation between the twice problem but I think you can help me at least for the first.



    Faithfully,

    Nicolas