Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nucleo_h753zi does not output data from a serial port that connected to stlink #2314

Closed
asukiaaa opened this issue Mar 21, 2024 · 2 comments
Closed
Labels
invalid This doesn't seem right

Comments

@asukiaaa
Copy link
Contributor

asukiaaa commented Mar 21, 2024

I cannot get serial output from nucleo-h753zi via stlink.
(nucleo-h753zi is supported from current latest version 2.7.1.)
Is there any way to resolve this?
I could get output from CDC on other usb serial port.

The code I tried.

#include <Arduino.h>

void setup() {
  Serial3.setRx(PIN_SERIAL_RX);
  Serial3.setTx(PIN_SERIAL_TX);
  Serial3.begin(115200);
  Serial.begin(115200);
}

void loop() {
  Serial3.println("hello from Serial3 at " + String(millis()));
  Serial.println("hello from Serial at " + String(millis()));
  delay(1000);
}

With CDC
image

Without CDC
Screenshot from 2024-03-21 19-33-53

Desktop (please complete the following information):

  • OS: Ubuntu22.04
  • Arduino IDE version: 1.8.19
  • STM32 core version: 2.7.1
  • Tools menu settings: See attached screen shots.
  • Upload method: Mass Storage

Board (please complete the following information):

  • Name: nucleo-h753zi
@fpistm
Copy link
Member

fpistm commented Mar 21, 2024

Hi @asukiaaa
I've never tested the Nucleo H753, it is a community contribution. I only reviewed variant definition.
It was added thanks #2130 and the author tested it with success.

Will try to get a board but don't know when nor if I can get one.

Did you made some hardware change on your board?
What is the board version ?

@asukiaaa
Copy link
Contributor Author

asukiaaa commented Mar 21, 2024

Hi @fpistm
Thank you for the response.

I tried with using other nucleo-h753zi board then it was succeeded in printing.
Also, I tried with previous h753zi then it also succeeded.
Maybe had some trouble around serial reading process but it's fine now.

Thank you for the information and sorry for bothering you.

I'm using NUCLEO-Z753ZI$AT1
IMG_20240322_010800~2

@fpistm fpistm added the invalid This doesn't seem right label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants