This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM: STM32F756 SWD Communication Failurr after program

Hi all,
I started working with new procesor. I have my own pcb board with STM32F7. After upload program by SWD I have error: 'SWD Communication Failure' and I cannot debug my project, even connect normally to stm. I have to change option: Connect & Reset Options -> Connect under Reset. Why?
If erase processor connected under reset it's backing again to be visible in Keil Debugging Settings. It's look like I'm programming bad sectors or something like that.

I'm using:
Keil uVision v5.18
Keil ULink Pro programmator
STM32F756ZG processor
Ram for Algorithm: 0x2001000, size: 0x1000
Flash address: 0x08000000 size: 0x00100000

Parents
  • If your code contains any bug that makes the wrong changes to some configuration bits, then you might either disable the debugging support or maybe fail some clocking requirements.

    So it's more or less a standard issue with JTAG etc that downloaded firmware can fail the debugging interface. Connecting under reset means the processor has reached back to a known state and your code hasn't had time yet to run the code lines that makes the interface fail.

Reply
  • If your code contains any bug that makes the wrong changes to some configuration bits, then you might either disable the debugging support or maybe fail some clocking requirements.

    So it's more or less a standard issue with JTAG etc that downloaded firmware can fail the debugging interface. Connecting under reset means the processor has reached back to a known state and your code hasn't had time yet to run the code lines that makes the interface fail.

Children