cancel
Showing results for 
Search instead for 
Did you mean: 

Crash Debugging on STM32N6-DK: ATON_ENABLE(EPOCHCTRL)

misaki
Associate

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 2
Julian E.
ST Employee

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.
misaki
Associate

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.