Skip to main content
Visitor II
July 24, 2025
Question

Nucleo N6 won't flash

  • July 24, 2025
  • 1 reply
  • 701 views

Same: Target unknown error 32
From the STMCubeIDE
STM32CubeIDE
Version: 1.19.0
Build: 25607_20250703_0907 (UTC)
OS: Windows 11, v.10.0, x86_64 / win32
Java vendor: Eclipse Adoptium
Java runtime version: 21.0.3+9-LTS
Java version: 21.0.3

Flashing a Nucleo N6
Example Uart Console App
Did do the stlink firmware update, seemed to work.
Flashing other boards works...

    This topic has been closed for replies.

    1 reply

    Super User
    July 24, 2025

    Try holding BOOT0 high during reset, connect with STM32CubeProgrammer to erase the chip and recover.

    Visitor II
    July 24, 2025

     

    Tried that, STMCubeProgrammer says no STM32 device... to erase it. 
    Firmware upgrade dialog does find it with the open upgrade mode function, and flashes, says successful, but no connect in programmer, no flash from the IDE.
    I've also tried several different USB cables and ports...

    ST Employee
    July 25, 2025

    Hi @JediMasterEon 

    I'm not sure what you're trying to erase on the Nucleo board? Is it the external flash memory?
    Note that there is no internal flash in the STM32N6, so you shouldn't use the Erase function in the STM32CubeProgrammer.

    Are you in DEV_BOOT configuration? Can you confirm the BOOT0 and BOOT1 jumper settings on your board?
    Could you also check my comments in this thread:

    https://community.st.com/t5/stm32-mcus-boards-and-hardware/nucleo-n657x0-q-failed-to-start-gdb-server/m-p/756600/highlight/true#M23206

    And here also very good article which can help you:

    https://community.st.com/t5/stm32-mcus/stm32n6-fsbl-explained/ta-p/764307

    Best regards,

    Romain,