Skip to main content
Associate
July 23, 2025
Question

Crash Debugging on STM32N6-DK: ATON_ENABLE(EPOCHCTRL)

  • July 23, 2025
  • 2 replies
  • 256 views

I am using the STM32N6-DK board.
I am trying to execute an AI model on the STM32N6-DK board, following the instructions on the website below.
How to run AI models from model zoo on STM32N6 - STMicroelectronics Community

However, the software crashes when I try to execute it.

misaki_0-1753256649733.png

 

After examining the process, it seems to fail at the following sequence of function calls:

 

c

LL_ATON_RT_Main(&NN_Instance_Default);
LL_ATON_RT_RunEpochBlock(network_instance);
__LL_ATON_RT_ExecStartEpochBlock(nn_instance->exec_state.current_epoch_block, nn_instance);
ATON_ENABLE(EPOCHCTRL, ecId);

misaki_1-1753256758460.pngmisaki_2-1753256789503.pngmisaki_3-1753256824725.pngmisaki_4-1753256887386.png

 

 

 

The crash occurs after calling 

ATON_ENABLE(EPOCHCTRL, ecId)

What could be the potential causes for this problem?

2 replies

Julian E.
Technical Moderator
July 23, 2025

Hello @misaki,

 

You just downloaded the getting started, opened the cubeide project and flashed it?

Or are you trying to use another model? Could you please describe the steps you followed.

 

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.
misakiAuthor
Associate
July 24, 2025

Hello @Julian E. 

I followed all the steps described on this website (How to run AI models from model zoo on STM32N6 - STMicroelectronics Community).

When I performed the final step and ran the process in CubeIDE, the execution crashed.

To investigate the cause, I ran a debug process in CubeIDE and found that it crashed at the specific location mentioned above.

Thank you for your support.