cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo N6 won't flash

JediMasterEon
Associate

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...

3 REPLIES 3
TDK
Super User

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

If you feel a post has answered your question, please click "Accept as Solution".

 

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...

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,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.