cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 project Hex file generation and programming problem

Levy-hy
Associate

I'm trying to deploy my own AI models on the STM32N6570-DK board. To speed up this process, I directly use the example project "STM32N6-GettingStarted-ImageClassification-main" from the official website. 

https://www.st.com/en/development-tools/stm32n6-ai.html 

My own network is generated with ST Edge AI developer Cloud. Code replacement and adjustments have been completed, and the project can be successfully built.

When programming the example hex files, everything works fine. However, after programming my own hex files in STM32Programmer, the board either stays at last project or just doesn't react(the lcd goes black). 

I followed the procedures of programming hex files:

1. program ai_fsbl.hex, which is already in the folder

2. program network_data.hex generated following this post

https://community.st.com/t5/edge-ai/how-to-generate-a-hex-file-for-a-neural-network-model/td-p/814889 

3. program project_name.hex, which is the output of building the project and can be found in the debug folder. I tried both signed and unsigned versions, but neither worked.

It's hard for me to identify where the problem lies. Perhaps there is a problem with the hex file generation or my code. I’m stuck here and I hope someone could help me solve this problem!

 

0 REPLIES 0