2025-06-08 10:34 PM
Initially I was having issues in generating the project file for ai models because of CUBE AI withe the latest update it got fixed. But while trying to build an flash the code to the Board there was issue while flashing the code the debugger was giving output as target is not responding. for checking there was no issue with the connection or debugger I tried creating a sample example from CUBE MX and while running that one it was working fine.
I have given below the screen shot of the error that i was getting.
Thanks and Regards,
Vinay
2025-06-08 11:45 PM
Hello @VinaySankar,
Could you please describe the exact steps you followed for me to reproduce it please?
You confirm using X Cube AI version 10.1.0 and cubeIDE version > 18.0.0
Have a good day,
Julian
2025-06-09 1:54 AM
From STmodelzoo I took an model compactible with STM32N6 and created a project file with CUBE MX with Cube AI. The CUBE AI version is 10.1.0,while uploading the model to the Cube MX it showed clock configuration issues, and it got self resolved the issue by itself. Then after generating the project file. I tried building the project file and flashing it to the NUCLEO board, the build was successful but while flashing the code I had the above issue.
Thanks and Regards,
Vinay
2025-06-10 4:32 AM - edited 2025-06-10 4:33 AM
Hello @VinaySankar,
I would suggest you looking at this: https://community.st.com/t5/stm32-mcus/how-to-create-an-stm32n6-fsbl-load-and-run/ta-p/768206
We are also working on a tutorial to create a basic AI app from scratch with CubeAI for the DK and Nucleo boards.
The issue regarding the FSBL you described is rooted in security and boot configuration mechanisms enforced by the STM32N6's TrustZone and BootROM setup.
FSBL Must Be Signed and Authenticated
The STM32N6, when TrustZone is enabled, expects the FSBL to be:
When you "Run" from CubeIDE:
To use the FSBL app generated by cubeMX, you need to manually sign it as described in the link above then download it using STM32CubeProgrammer (don't forget to check the external loader for the nucleo).
Have a good day,
Julian
2025-06-11 3:31 AM
Hi @Julian E.,
Thanks for the feedback, I will check with these documents try it this way as well, does this solve the issues for creating Ai application. Or did you say that you guys are currently in work to create the Ai application for the DK and Nucleo boards with Cube AI and CubeMX, is my understanding correct.
Thanks and Regards,
Vinay
2025-06-11 4:40 AM
Hello @VinaySankar,
These are two different points:
Have a good day,
Julian
2025-06-11 6:22 AM
Hi @Julian E. ,
Let me check with the current steps provided and will let you know whether the issue is resolved or not.
Thanks,
Vinay