cancel
Showing results for 
Search instead for 
Did you mean: 

How to understand the STM32N6 using STM32Cubemx

Z-YF
Associate

I am using a STM32N6570-DK board and I can't understand how to configurate the FSBL, Application, and the External memory stuff in Cubemx. Can anyone describe how to use and configurate these three options?

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @Z-YF ,

 

First let me thank you for posting and welcome to the ST Community.

I suggest that you take a look at this User Manual. It describes how to get started with the STM32CubeN6 MCU Package.

You can find also examples and applications coming with the preconfigured project for IAR Embedded Workbench®, Keil®, and GCC IDEs under the firmware folder.

 

Thanks.

Mahmoud

 

 

RomainR.
ST Employee

@Hi @Z-YF 

In addition to the STM32N6 Getting Started document, I suggest you also study the RM0486 and understand how the memory and execution contexts are architected. And the UM3234 to understand how BootROM works.

Keep in mind that the STM32N6 will boot on an internal BootRom and always in secure mode. You must then understand the roles of the FSBL, the secure application and the non-secure application in case you need to use isolation. And the need to sign binaries before running them from or in external flash memory.

I suggest you refer to the excellent KB articles below:
https://community.st.com/t5/stm32-mcus/stm32n6-fsbl-explained/ta-p/764307

https://community.st.com/t5/stm32-mcus/stm32n6-boot-rom-explained/ta-p/763648

https://community.st.com/t5/stm32-mcus/how-to-add-the-stm32n6-s-header-signature-as-post-build/ta-p/778436

https://community.st.com/t5/stm32-mcus/how-to-create-an-stm32n6-fsbl-load-and-run/ta-p/768206

https://community.st.com/t5/stm32-mcus/how-to-program-the-otp-fuse-bits-in-the-stm32n6/ta-p/782353

Let me know if you need any additional details.

BR

Romain,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.