Skip to main content
Associate III
October 1, 2026
Question

STM32N6570-DK application only starts after USB power cycle

Hello,

I am using an STM32N6570-DK and I am seeing an issue when trying to start a TouchGFX application after programming the board.

My setup is:

  • STM32N6570-DK

  • TouchGFX Designer 4.26.1

  • STM32CubeMX 6.18.1

  • STM32CubeIDE 2.2.0

  • STM32CubeProgrammer 2.23.0

  • ST-LINK firmware: V3J17M11 STM32 Debug+VCP

I created a new project using TouchGFX Designer 4.26.1. The only additional component I added was a simple colored screen, just to have something visible when the application starts.

I then generated the TouchGFX code from Designer and generated the project using STM32CubeMX 6.18.1 for STM32CubeIDE 2.2.0. The complete project builds successfully without any errors.

To program the board, I do the following:

  1. Set BOOT0 = 0

  2. Set BOOT1 = 1

  3. Press the RESET button

  4. Use the LoadAll.bat script located in the project's Flash scripts folder, from the CubeIDE/Debug, to program the application

The programming process completes successfully.

After programming, I then:

  1. Set BOOT1 = 0

  2. Press RESET

However, the application does not start.

The only way I can get the application to start is to completely disconnect the USB cable from the STM32N6570-DK and connect it again. After the USB power cycle, the application starts normally.

What is strange is that I do not remember this behavior with the earlier STM32N6 software packages/tools. When STM32N6 was around version 1.0 / 1.1, I could program the board, switch BOOT1 back to 0, press RESET, and the application would start immediately. A USB power cycle was not required.

Has anything changed in the newer STM32N6 firmware package, boot configuration, Flash programming scripts, or STM32CubeProgrammer/ST-LINK behavior?

Is pressing RESET after changing BOOT1 supposed to be sufficient, or is a full power cycle now required for some reason?

Any suggestions on what I should check would be appreciated.

2 replies

ST Technical Moderator
October 8, 2026

Hello,

What is the clock source for your XSPIs?
We have changed this from PLL to HCLK at some point, because we found that the PLLs created problems when resetting the chip.

TerZerAuthor
Associate III
October 8, 2026

Hello,

The clock source is HCLK.