cancel
Showing results for 
Search instead for 
Did you mean: 

Hello World Error Program

Mohit79
Associate

I have a problem, where there's simply no error, but the output, is not showing on the screen. The system has detected the board, and all the correct steps are followed, even though, my hello world code is not been printed. I am using stm32cubeide version 2.0.0 and im using a nucleo-h723zg. Also, the board is first showing a static red light when plugegd in to the laptop, and then a patternt that repeats ----> red, green red,green and then green for 1 second and then it keeps on going. I even flashed my whole baord and erased everything, despite that, it is showing the same behaviour. So far, I haven't recieved any error, the only thing is that i am not able to see the output on the screen of the ide that im using.  Here's a link for the led problem(chatgpt says its a firware issue evn though i downlaoded the correct firmware) 

Video link: https://youtube.com/shorts/vETuGu5Kbfg?feature=share

2 REPLIES 2
Pavel A.
Super User

The blinking red/green LED shows activity of the ST-LINK on the board, this is normal, not any error.

Your program does not print anything because the Nucleo has no printer and no screen :) You can only print to the UART connected to the "virtual com port" of the ST-LINK, or thru ITM interface. Both ways can be displayed in CubeIDE, but differently. What is your choice?

Don't take chatgpt too seriously, sometimes it just hallucinates.

 

 

 

Mohit79
Associate

Thank you for your reply! actually, i want to take inputs of the nucelo board to my cubeide ver. 2.0.0 and want to display it on the port 0. I know nucleo dosent have any screen/printer :) but i want to display it n my laptops cubeide thru ST-LINK my currecnt setup is htat ive connected my nucleo board to my laprop with a usb cable and I chose the SWD interface and my Core clock is set to 400, i even tried 64 (MHz) as the board is, and also the SWO to 2000 (KHz) as per my instructor, im only using ITM interface and no uart interface :)

Aand yes i know chatgpt just sometimes blabbers things as it dosent have anything to say and i have to admit its not that helpful lol :) thank you so much for your help!