Skip to main content
Visitor II
December 17, 2025
Question

Issue booting Hello World Neural-ART project from Flash on STM32N6570-DK

  • December 17, 2025
  • 0 replies
  • 157 views

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:

  • I modified the linker script:
MEMORY
{
 AXISRAM1_S (xrw) : ORIGIN = 0x34000000, LENGTH = 1024K
}

to:

AXISRAM1_S (xrw) : ORIGIN = 0x34180400, LENGTH = 511K
  • I also updated set_vector_table_addr() from misc_toolbox.c:
SCB->VTOR = 0x34000000;

to:

SCB->VTOR = 0x34180400;

Any insight would be appreciated.

Thanks in advance!

    This topic has been closed for replies.