Using SWD with J-Link?

  • Using SWD with J-Link?

    I use a new J-Link V6.0 with Software 3.80c.

    I want use it with GDB Server. I have a "Cortex-M3, Core Id: 0x3BA00477". = STM32F103CB

    Now, I have the connection SWD (special cable, connected like documentation). But the J-Link software make only the error:

    "Bad JTAG communikation: Write to IR: Except 0x1, got 0x0 (TAP Command : 15) @ Off 0x5."

    What can I do?

    Thank you for help, Regards Markus.

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

  • The JLink.exe says "****** Error: Could not find supported CPU core on JTAG chain"

    In the help from this tool, I have never found a switch to "SWD", or scan the J-LINK automaticly the SWD Bus?

    If I connect my device as JTAG then the result is :
    Info: totalIRLen = 9, IRPrint = 0x0011
    Infog: Found Cortex-M3, Little endian.
    Info: TPIU fitted.
    Info: FPUnit: 6 code (BP) slots and 2 literal slots
    Found 2 JTAG devices, Total IRLen = 9:
    Id of device #0: 0x3BA00477
    Id of device #1: 0x16410041
    Cortex-M3 identified

    I use the Olimex development Board "STM32-P103"

    Thank you for help. Regards Markus.
  • Hello Markus,

    To switch between JTAG and SWD interface in JLink.exe just type the command:
    "si <interface>" where <interface> is 0 (JTAG) or 1 (SWD)

    Currently J-Link GDB Server does not support SWD.

    Best regards,

    Alex
    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.
  • Hello,

    the new version of the J-Link ARM GDB Server will support the target interfaces JTAG and SWD.
    Switching between the interfaces can be done via a new monitor command:
    monitor interface JTAG | SWD

    The new beta Version of the J-Link software (V4.03x) will be released today.
    It will be available for download on our website: segger.com/download_jlink_beta.html

    Best regards

    Alex
    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.