2025-07-24 5:17 AM
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...
2025-07-24 6:01 AM
Try holding BOOT0 high during reset, connect with STM32CubeProgrammer to erase the chip and recover.
2025-07-24 6:49 AM
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...
2025-07-24 11:08 PM
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:
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.
2025-07-29 7:18 PM
Indeed. No program flash on chip. I did know that, must have slipped my mind... New Nucleo Excitment!
I should have just got the Discovery board. Can you let me know if my ST Account gets updated with an expense or credit line... I sent the request...
To my money manager..., maybe from Amazon, or Kindle Direct, or Adventesia Treasury.
Is there a Hexa-SPI Flash module already designed to work with the Nucleo I can order?
Maybe one with some PSRAM on it too... ?
2025-07-30 12:23 AM
Refer to the boards user manual UM3417 and UM3300:
The NUCLEO-N657X0-Q embed a 512-Mbit OctoSPI NOR Flash.
The STM32N6570-DK embed a 1-Mbit OctoSPI NOR Flash and also a 256-Mbit Hexadeca-SPI PSRAM.
Both boards are fully supported by STM32CubeProgrammer and STM32Cube_FW_N6_V1.2.0 examples and External Memory Manager Middleware.
The STM32N6 device embed up to 4.2-MByte of SRAM, 128-kByte + 64K-Byte TCM RAM with ECC and 1.5-kByte OTP memory.
Here some useful resource which can help you to start:
https://www.st.com/resource/en/datasheet/stm32n657a0.pdf
https://www.st.com/resource/en/errata_sheet/es0620-stm32n6xxxx-device-errata-stmicroelectronics.pdf
Getting started with STM32CubeN6 for STM32N6 series - User manual
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.