cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practice to Debug AppNS when using FSBL/AppSecure/AppNonSecure on STM32N6xx ?

jrocher-althea
Associate

Hello ST team,

I am currently working on NUCLEO-N657X0-Q (STM32N6) device using a FSBL (Secure Bootloader) an APPSecure and an AppNS (Non-Secure Application).
The FSBL is correctly loaded first and then jumps to the AppSecure which jumps to the AppNS. 
Everything is working well when I prog all the apps separately using STM32CubeProgrammer

However, I'm facing difficulty debugging the AppNS easily (which is actually my end application) with STM32CUBEIDE

My questions:

  • What is the ST recommended method to debug an AppNS project ?

    • Is it recommended to boot directly into AppNS during development (bypassing FSBL temporarily)?
      (= Should I move my AppNS temporarily to the boot address, and later re-add the FSBL before production?)

Any other ways ? 

Any official guidance, best practices, or documentation references would be very helpful!

Thanks a lot for your support,
Best regards,
Johan

0 REPLIES 0