Skip to main content
Visitor II
September 20, 2023
Solved

STM32MP157 DK2 M4 debug issue

  • September 20, 2023
  • 1 reply
  • 1871 views

Dears,

I'm using STM32MP157C-DK2 board in production mode.

Now I'm debugging the firmware in M4 core. However, when I insert a breakpoint at DMA interrupt handler and wait for a while, it will crash the whole system (A7+M4) and lead to the reset.

I also tried the example SPI_FullDuplex_ComDMA_Master. It still has the same issue.

Do you have any resolution? 

Thanks for your help in advance.

 

 

    This topic has been closed for replies.
    Best answer by PatrickF

    Hi @fantasylsdo ,
    Maybe a watchdog not set to be stopped in debug state ?

    Maybe look at DBG section of RM0436 Reference Manual.

    Regards.

    1 reply

    PatrickFAnswer
    Technical Moderator
    November 6, 2023

    Hi @fantasylsdo ,
    Maybe a watchdog not set to be stopped in debug state ?

    Maybe look at DBG section of RM0436 Reference Manual.

    Regards.