cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK: Flashing Issue After Reset

Selvarasu_K
Associate II

I am currently working on the STM32N6570-DK board for a camera-based project.

Development Setup
IDE: STM32CubeIDE (Version 2.1.1)
Tool: STM32CubeMX (with STM32N6 package installed)
Issue 1: Flashing & Boot Behavior
I tested the example GPIO_IOToggle program
The program is flashing and running properly
However, after pressing reset, the code is not running again

To make it run:

I set BOOT1 = LOW and BOOT2 = LOW
After reset, the AI demo code runs instead

My requirement:

How to properly flash the user application into internal flash memory
After reset, the same user code should run automatically
Issue 2: Required Examples / Guidance

I need guidance or reference examples for the following:

1. ST-LINK V3EC configuration
Serial communication setup for debugging (UART / Virtual COM)
Camera Interface
Camera bring-up
2. How to read camera data
Ethernet & Streaming
Ethernet initialization (bring-up)
UDP socket configuration
Streaming camera data to display over Ethernet


Project Goal

Capture camera data and stream it via UDP over Ethernet to a display.

Kindly provide:

Proper flashing steps/configuration
Relevant example projects or documentation
Any reference implementation for camera + Ethernet integration

This will help me move forward with the development.

Thanks in advance for your support.


See separate thread for discussion of MIPI CSI Camera Interface & UDP Ethernet Streaming

2 REPLIES 2
Len_Heske
Associate III

Hello @Selvarasu_K,

sounds like you're in Dev Boot Mode.

In this mode your code is directly written into the SRAM instead of flash memory. When you press the reset button it seems like the last saved flash code is loaded instead, hence you start running a different project.

Also, you're asking for guidance on several different things in one post, that's also a troubleshooting post. I'd suggest you to focus on one thing at a time and go from there, asking for advice on the next topics once you actually get to them.

In general, I recommend consulting the manuals, especially the reference manual RM0486 and programming manual PM0273.

Kind regards,

Len

STackPointer64
ST Employee

Hello @Selvarasu_K, and welcome to ST Community!

Have you had the chance to review our published knowledge base articles and wikis dedicated to STM32N6? If not, I suggest you do so. These links may help:

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.