[ABANDONED] Can't connect to M4 core of STM32MP1 (STM32MP157)

  • I can successfully connect to both A7 cores of my STM32MP157 board with either of these commands:

    Code
    JLinkGDBServer -device STM32MP15xx_A7_0_DualFlash
    JLinkGDBServer -device STM32MP15xx_A7_1_DualFlash

    However, I cannot connect to the M4 core of the processor. If I attempt to default to the JTAG interface, it just says "ERROR: Could not connect to target" — if I connect via SWD, it shows more promise:

    I also tried upgrading to the latest version of J-Link software (6.86d), but that also didn't fix things (and ended up presenting a different error):

    Code
    Connecting to target...
    Halting target device failed. Trying again with reset
    ERROR: Failed to halt CPU.
    Failed to halt target device on connect
    ERROR: Could not connect to target.
    Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
    Shutting down...
    Could not connect to target.

    Any ideas what's going on? I was wondering if there was some sort of clock gating / power gating thing I had to enable on the Linux side of things to get the processor to work, but I didn't see anything from ST about this.

  • Hi,
    Thank you for your inquiry.

    Unfortunately, we were not able to recreate this issue:

    Setup:
    - J-Link Plus V10
    - J-Link GDB Server v6.86d
    - STM32MP15X-EVAL evaluation board (STM32MP157AAA3).

    Could you please retry with the latest J-Link Version? You can download it here.
    Are you using an evaluation board or custom hardware?
    If evaluation board, which one? If custom hardware, are you able to reproduce this on an evaluation board?

    Could you please send us a J-Link log file? How to enable:
    https://wiki.segger.com/J-Link_DLL#Enable_J-Link_Log_File

    Best regards,
    Fabian

    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!