cancel
Showing results for 
Search instead for 
Did you mean: 

Debug issue on STM32N6570-DK: Target not responding

yangweidage
Associate II

 

Hello,

I am working with the STM32N6570-DK board and running the STM32N6-GettingStarted-ObjectDetection example. When I debug the program in CubeIDE (The MCU runs in Dev mode), I encounter the following issue:

  • In the main loop, when the function LL_ATON_RT_RunEpochBlock is called, the debugger reports:

    Target is not responding, retrying...
  • At this point, pressing the NRST button on the board does not reset the MCU. 

  • The only way to recover is to power cycle the board.

Any suggestions would be greatly appreciated.

Thanks in advance!

 
1 REPLY 1
Julian E.
ST Employee

Hello @yangweidage,

 

I do not reproduce the issue.

I did try with the version 2.1.1 of the package that came out 5 days ago. Maybe explaining the difference.

GitHub - STMicroelectronics/STM32N6-GettingStarted-ObjectDetection: An AI software application package demonstrating simple implementation of object detection use case on STM32N6 product.​

 

I just:

  1. cloned the repository
  2. opened stm32cubeProgrammer
  3. downloaded the weights in /binary/STM32N6570-DK_network_data.hex
    Select the external loader first:
    JulianE_0-1757425848586.png
  4. I opened the project in stm32cubeIDE 1.18.1 (Are you using the 1.19?)
    The project being in \Application\STM32N6570-DK\STM32CubeIDE\.project
  5. Then I set a debug point in main.c Run_Inference()
  6. Launched the debug

I have no issue stepping over it.

 

Could you confirm that it is what you did and detail the versions of the tool you are using please?

 

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.