Problem // Debuging XMC1404 via SWD_1

  • Hello, I have a problem and hope you can help me solve it. I am trying to debug an XMC1404 with a JLink base. I have already set the BMI to SWD_0 on a test board and could debug without problems. However, I now have the problem that on my real board I am debugging via SWD_1(i cant access the SWD_0 pins). I have successfully set the BMI to SWD_1 again but now I can't get a connection as you can see in the error message. Do I have to configure something different in the Jlink or am I missing something ?

    Many thanks in advance for any kind of support :whistling:

    error:
    Connecting to target via SWD
    Performing XMC1000 connection sequence.
    Trying to identify target via SPD
    Could not identify target via SPD. Trying again via SWD.
    Performing XMC1000 connection sequence.
    Trying to identify target via SPD
    Could not identify target via SPD. Trying again via SWD.
    Error occurred: Could not connect to the target device.
    For troubleshooting steps visit: https://wiki.segger.com/J-Link_Troubleshooting

    BMI: SWD_1
    PINS: P1.3/P1.2

  • Hello,

    The error message indicates an issue at the SWD protocol level, which typically points to a problem with the physical connection or target configuration.
    We recommend carefully checking the SWD pin connections to ensure they are correctly wired, and verifying that the BMI is properly set for the intended SWD port.
    No additional configuration on the J-Link side is required in this case.

    Best regards,
    Simon

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!