2026-04-20 7:00 AM - last edited on 2026-04-20 7:05 AM by Andrew Neil
I have project consisting of FSBL+Application (writing AI code in application), I want to debug application code, but unable to do it .
My core doubt is should I go via FSBL debugging or Application debugging while working with real time detection in AI ? I am very much confused in this application debugging, kindly address it.
I have ensured the external memory loader in cube Programmer as well as in debugger settings is same & loaded .
I had flashed the binaries in cube programmer FSBL-trusted bin at 0x70000000 and application trusted-bin at 0x70100000 and signed them also.
I have attached a word document having screenshots of debugger settings and problems coming in debugging for each directly application and via FSBL. & one screenshot of external memory settings in .ioc file.
Thanks & Regards
Chanchal
2026-04-22 6:30 AM
While going via FSBL debugging , I am following these steps
Checked for External Loader in cube programmer, Mass erase memory in cube programmer, Flashing trusted binaries of fsbl at 0x70000000 and appli at 0x70100000, closing cube programmer , open IDE and debug fsbl project.
Sometimes it is showing STM32 programmer failed and sometimes it is jumping to BOOT_Application, enters main code and crashes showing target not responding and it doesnt stop from stop button also.
2026-04-28 12:11 AM
I am still stuck in this problem. Kindly help.
I want to run AI application in my project. Right now when I am debugging through FSBL , It is showing hard fault. I am attaching the screenshots of FSBL debugger settings and Problem coming with it.
I tried debugging application directly also, It goes till aiinit() and crashes as it does not have individual system clock config() being present in fsbl only.
Can you suggest me what can be the probable issues of NPU crashing?
After jumping to Boot_Application, It crashes.