2025-06-11 7:34 AM - last edited on 2025-06-11 7:47 AM by mƎALLEm
I Tried to flash the uart code in stm32 N657 Nucleo Board, but it is not responding, i was able to make the Leds, blink in the N6 board. Please help me out, i am using the uart example printf code in the N6 stm32 package. I tried the normal method used in the STM32 F4 MCUs, also the selection of peripherals are different in the IOC file. also please explain how to configure the RCC and other peripherals in the IOC file of these N6 boards
2025-06-12 2:28 AM
Hello @VicxSri and welcome to the community;
What do you mean by "I Tried to flash the uart code in stm32 N657 Nucleo Board, but it is not responding,"?
Do you get an error message? If yes could you please share a screenshot of this error?
If you download the STM32CubeN6 package from GitHUB; I recommend you to look at Downloading STM32Cube packages from GitHub correctly or you can download from st.web site.
On my side, I tested the example UART_Printf and it works correctly.
For ".ioc" peripheral configuration, I advise you to refer to How to create an STM32N6 FSBL load and run.
Thank you.
Kaouthar
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-06-12 6:19 AM
I didn't receive errors messages, what i was trying to say is that i didn't receive any output in the tera term.
2025-06-12 6:35 AM
Hello @VicxSri;
Thank you for this clarification.
Please make sure that:
- You choose the adequate serial port as shown in the below figure:
- The HyperTerminal is configured with the correct value
For UART_Printf Example the HyperTerminal configuration (as mentioned in the readme) is:
For UART_Console Example the HyperTerminal configuration (as mentioned in the readme) is:
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-06-19 1:14 AM
Hey, i am still having issues, i am not able to see the output, can you like teach step by step so i can follow up. I have been trying for so many days and i am still not able to figure it out.
2025-06-19 1:23 AM
@VicxSri wrote:i am still having issues,
But you have marked this as solved?
If it's not solved, here are instructions to un-mark it.
Here are some getting started links for the UART:
Implementing UART receive and transmit functions on an STM32.
Wiki: Getting started with UART.
Some tips for debugging serial comms.
See also: FAQ: STM32 HAL UART driver - API and Callbacks.
2025-06-19 1:32 AM
See, i have worked with the STM32 F4,F1,F7 series, and i know how the apis work and the stuff, the issue i am facing with the N6 series, that it's complicated, to debug, and to dump the code in this N6 chip, and its very hard to debug, there are no proper, tutorial teaching to program this MCU, so i am requesting a step by step tutorial to ST microelectronics.
I have tried all the steps in the Readme.md file, all i was able to do was toggle the led from C:\Users\{name}\STM32Cube\Repository\STM32Cube_FW_N6_V1.0.0\Projects\NUCLEO-N657X0-Q\Examples_MIX\UART, and this is an uart tutorial code, also the uart does not work, the toggle worked. so if you would give some tutorials, i will be easy for us.
Thank you
2025-06-19 1:51 AM
Hello @VicxSri;
1- Download the STM32CubeN6 firmware from ST.web site.
2- Open the UART_Printf using STM32CubeIDE as shown in the below figures:
5-
3- Build the project: make sure that the the build finished without error
4- Connect the board and click on debug
5- Open tera term and change the settings
6- click on resume to execute code and to see the message in tera term
I hope this help you.
Thank you.
Kaouthar
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-06-19 1:53 AM
Thank you.
Well this is for debugging, please tell me how to dump the code in the external flash and to run it while booting.
2025-06-19 2:08 AM
Hello @VicxSri ,
These FAQs can help you to run the code from external memories:
- How to debug STM32N6 using STM32CubeIDE
- How to execute code from the external serial NOR using the STM32N6
- How to create an STM32N6 FSBL load and run
Thank you.
Kaouthar
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.