I need help please @ Arduino Leonardo R3

I use an Arduino Leonardo R3 every time I try to upload I get an error message that appears and I don't know how to fix it if anyone has the solution I'm interested thank you for your attention and your help

ps: sorry for my English I'm really bad

What's the error message?

(Hint: you didn't post any error message)

(Hint #2: don't post screen images of error messages. Copy the text of the complete set of error messages and paste them into your post between code tags).

Hi @skyssy. The red color of the upload output text might give the impression that it indicates an error, but it is not so in this case. The output you posted is what we would expect from a successful upload. As long as you see a "Done uploading." notification in Arduino IDE at the end of the upload operation, all is well and you can disregard the color of the upload output text:

screenshot of red upload output text

In case you are curious about why there is this confusing coloration of the text, I'll add some explanation below. Feel free to skip it if you aren't interested in the boring details.

Arduino IDE uses a tool named AVRDUDE to upload sketches to your Arduino board.

The AVRDUDE developers made the decision to print even output that is not related to an error condition to the "standard error" (AKA "stderr") stream instead of the more common practice of printing it on the "standard output" (AKA "stdout") stream.

Each boards platform may use any arbitrary external tool to perform an upload, so Arduino IDE doesn't have any understanding of the contents of the output from the upload tool. The IDE only knows which of the streams the upload tool printed the output to. Because the stderr stream is usually used for errors or warnings, Arduino IDE colors all output received on that stream red. Likewise, the output received on the stdout stream is colored white since that stream is usually used for purely informational output.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.