2025-12-17 2:09 AM
Hello everyone,
I’m testing the STM32N6 Neural-ART Hello World project (https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_stm32n6_projects.html#ref_hello_world_project).
The project runs correctly when launched from CubeIDE, but fails when booting from Flash. I have observed that the boot from Flash does happen, I reach main() and If I do not call: SystemClock_Config_HSI_no_overdrive(); I can see my debug prints. However, if I do call it, nothing is printed. This strongly suggests a clock initialization issue or a difference between CubeIDE startup vs Flash boot. I also printed several clock values (CPU, SYS, XSPI1/2, etc.) and they differ between the two boot methods.
Additional info:
MEMORY
{
AXISRAM1_S (xrw) : ORIGIN = 0x34000000, LENGTH = 1024K
}
to:
AXISRAM1_S (xrw) : ORIGIN = 0x34180400, LENGTH = 1024K
SCB->VTOR = 0x34000000;
to:
SCB->VTOR = 0x34180400;
Any insight would be appreciated.
Thanks in advance!