IDE 2.0 problem with Arduino Leonardo

Hi,
I got Arduino Pro Micro with 32u4 from Aliexpress. It works with IDE 1.8 but if I try to upload program using IDE 2.0 I get this error. I suppose it is because when uploading, board switches COM ports but I dont know why is this a problem in IDE 2.0. Anybody know how to solve this? Thanks.

There is also a problem that if i send something over serial line, Rx led doesnt blink and it freezes but it happens only when there is no "serial read" comman in a code. This doesnt hapen with 328 boards which just blinks Rx led even withou "serial read" command in the code.

Snímek obrazovky 2024-02-07 201352
Snímek obrazovky 2024-02-07 201501
Snímek obrazovky 2024-02-07 201828

The red output can be confusing in IDE 2.x. This is the output of a succesfull upload. You can check the status with the little bell icvon in the right bottom of the IDE (ignore the fact that this is for a Mega).

image

I have moved your topic to the dedicated IDE 2.x section of the forum as this is not really a programming question

Is the cable alright?

Thank you. You are right, the code gets actually gets uploaded.

OP would never have gotten to the output in the screenshot if the cable wasn't alright.

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