[SOLVED] STM32 report "Connecting to CPU via connect under reset failed."

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

  • [SOLVED] STM32 report "Connecting to CPU via connect under reset failed."

    Hi

    I am using J-link Ultra with GDB Server and STM32 Controller
    I am debugging using SWD connector

    Every thing was working fine, but my cable was broken and I re-soldered it.
    After That I keep Getting this Error "Connecting to CPU via connect under reset failed."
    I am using a 6 pin header for Debugging
    The Signals are as follow SWDIO, SWCLK ,TRACESWO in addition to 3.3V and GND

    Here's the log for the connection

    Source Code

    1. ""SEGGER J-Link GDB Server V6.00g Command Line Version
    2. JLinkARM.dll V6.00g (DLL compiled Aug 17 2016 13:20:32)
    3. -----GDB Server start settings-----
    4. GDBInit file: none
    5. GDB Server Listening port: 2331
    6. SWO raw output listening port: 2332
    7. Terminal I/O port: 2333
    8. Accept remote connection: localhost only
    9. Generate logfile: off
    10. Verify download: on
    11. Init regs on start: on
    12. Silent mode: off
    13. Single run mode: on
    14. Target connection timeout: 0 ms
    15. ------J-Link related settings------
    16. J-Link Host interface: USB
    17. J-Link script: none
    18. J-Link settings file: none
    19. ------Target related settings------
    20. Target device: STM32F407VE
    21. Target interface: SWD
    22. Target interface speed: 100kHz
    23. Target endian: little
    24. Connecting to J-Link...
    25. J-Link is connected.
    26. Firmware: J-Link Ultra Rev.1 compiled Dec 3 2013 14:27:53
    27. Hardware: V1.00
    28. S/N: 501200197
    29. Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    30. Checking target voltage...
    31. Target voltage: 3.27 V
    32. Listening on TCP/IP port 2331
    33. Connecting to target...ERROR: STM32: Connecting to CPU via connect under reset failed.
    34. ERROR: STM32: Connecting to CPU via connect under reset failed.
    35. ERROR: Could not connect to target.
    36. Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
    37. Shutting down...
    38. ""
    Display All


    How can I solve this problem

    Best Regards
    Hossam Alzomor