cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 Target not responding

EmbeddedChris
Associate

Hello all,

I'm working with the STM32N6-Discovery board on a camera application. I'm finding every so often when launching the debugger it will get a "Target not responding" error. Sometimes days go by where I can't debug my code until it randomly starts working again. Power cycling and restarting CubeIDE doesn't help. I know it isn't my code as the ST video encoder examples also give me the same error despite working fine the day before. I've also tried adding a breakpoint on the reset vector to see if it was a system init problem, however the error occurs before the code starts running.

 

IDE - CubeIDE 1.18.1

Board - STM32N6570-DK

 

I'm wondering if it's a memory or library issue as when I temporarily remove all camera and encoder related code from my project, it runs fine.

 

[6.593] WaitConnection(): Accepted connection on port 61234...
[6.593] WaitConnection(): Waiting for connection on port 61234...
[6.594] run(): GDB session thread running
[6.594] handleSessionEvent(): GdbSessionManager, session started: 2
[6.594] Device_GetStatus(): ST-LINK device status: Failed to get status, Target not responding, retrying... 32

0 REPLIES 0