cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-657X0-Q fails to boot and run AI-application

amirkfir
Associate

Hey!

I'm trying to run my AI model on my NUCLEO-657X0-Q, following @Julian E. great guide in here.

I have 2 questions:

1. My model has some running issues during booting.

In the FSBL code that suppose to jump to the application (JumpToApplication) there is some crash between the start of __set_MSP() and the start of _set_PRIMASK(), I would say it maybe an error in the pointer to the application code, but when I run it step by step in the IDE's debugger it works just fine.

Do you have an idea of why would that happen / how to debug it? (I don't have printings at this stage, and turning in the LEDs in the middle of stack switch makes it fail in the debugger too).

amirkfir_0-1762257795857.png

2. When my model do run (in the debugger) I get to the point where I start the epoch block, but no outputs / epoch end, and it just gets stuck in the loop. Does it happens because it's in debugger mode, or maybe my model is not compatible? when I validated it in CubeMX AI extension it looked ok.

Is there any way to debug what happens in the NPU?

amirkfir_1-1762258035776.png

Thanks for the help!

 

0 REPLIES 0