cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 FSBL vs Application

jmF
Associate II

Hi,

I'm starting to try things with the new N6 MCU serie using the NUCLEO-N657X0-Q devboard on STM32 CubeIDE 1.18.0.

I'm pretty confused with the new .ioc project configuration and the possibility to configure my board on "FSBL" or "App".

I generated a first project and I'm surprised to see that 2 subproject have been generated in my folder:

- myProject_Appli

-myProject_FSBL

Because I don't want to use FSBL my first idea is to code in Appli but the first thing I see is that there is no 

SystemClock_Config(); in my main().

I can directly see the effect of this because for exemple my Timer Clock is limited to 64MHz while it is configured to 400Mhz in the Clock config menu of the .ioc.

Is the solution just to copy/paste the SystemClock_Config(); that i can find in my "FSBL" app or am I missing something?

 

Thanks in advance for your help!

jmF

 

2 REPLIES 2
GFien.2
Associate

Hi, were you able to do it??

From what I get in the UM3249 seems it is not possible as only FSBL is reponsible for that:

"At power on, the bootROM copies the FSBL binary in internal SRAM. Once the bootROM task is over, the FSBL project in turn executes: after clock and system settings, it copies the application binary in internal SRAM. When done, the application itself starts up and runs."

But will nice to know if there is a chance to modify de freq on Applic.

Hi!

I'm sorry but I didn't try to go further since I had to focus on other things...

I guess you can try this post https://community.st.com/t5/stm32cubemx-mcus/how-to-understand-the-stm32n6-using-stm32cubemx/td-p/792483 where St employees provided many interesting links to understand all the boot process of the N6

I hope you will find your way to do what you want!

 

jmF