cancel
Showing results for 
Search instead for 
Did you mean: 

How to flash a brand-new STM32N657XOH3Q ?

jungle_bert
Associate II

I have two STM32N657X0H3Q microcontroller chips on hand but have no idea how to get started. I have successfully compiled, flashed and run the target program on an official development board equipped with this MCU and achieved the expected functions. However, I get stuck when working with the bare standalone chips.
My initial plan was to power on the chip and directly flash the firmware via STM32 Programmer. Yet after checking the datasheet, I learned that OTP configuration and additional setup steps are required to switch the microcontroller into external Flash operating mode.
Therefore, I am not sure if I can power up the soldered chip directly for program flashing and execution. I am looking for relevant tutorials or sample projects to guide my development with this MCU.
What I need is guidance covering the entire workflow for brand-new, factory-fresh standalone MCUs after they are soldered onto custom PCBs, rather than operation guides for pre-configured off-the-shelf development boards.

1 REPLY 1
mƎALLEm
ST Employee

Hello,


@jungle_bert wrote:

I get stuck when working with the bare standalone chips.


That supposes you followed the hardware guidelines and you've implemented the minimum hardware described in the AN5967 "Getting started with hardware development for STM32N6 MCUs" 

+ Many articles has been published by Bruno Montanari in this community:

How to debug STM32N6 using STM32CubeIDE

How to program the OTP fuse bits in the STM32N6

How to execute code from the external serial NOR using the STM32N6

How to execute code from the external PSRAM using the STM32N6

How to create an STM32N6 FSBL load and run

STM32N6 FSBL explained

Hope that helps & good luck.

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

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.