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

Incorrect output from Tools > Get Board Info #1489

Closed
3 tasks done
seaxwi opened this issue Sep 23, 2022 · 0 comments · Fixed by #1803
Closed
3 tasks done

Incorrect output from Tools > Get Board Info #1489

seaxwi opened this issue Sep 23, 2022 · 0 comments · Fixed by #1803
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@seaxwi
Copy link

seaxwi commented Sep 23, 2022

Describe the problem

The Tools > Get Board Info option does not correctly identify the board on the selected port. Instead it provides information based on the selected board core (i.e. Tools > Board), which I think is far less useful.

To reproduce

  1. Select Tools > Board > Arduino AVR Boards > Arduino UNO.
  2. Open Tools > Port and select any port that does not have an Arduino UNO connected.
  3. Select Tools > Get Board Info

The output will be based on the selected board, not on what (if anything) is connected to the selected port.

Here an Arduino Mega 2560 Rev3 is on the selected port (which is correctly identified in the port menu):

image

Unlike IDE 1.x, SN is not included. This feature has been requested (#1435).

But Tools > Get Board Info incorrectly identifies it as an Arduino UNO.

Screenshot 2022-09-23 at 13 31 42

Expected behavior

  • If a board can be identified on the port: Provide information about the board.
  • If no board could be identified: Show an error message, e.g. Please select a port to obtain board info or Native serial port, can't obtain info

Example output from IDE 1.8.19 for an Arduino Mega 2560 on the port and Arduino UNO as the selected board:

Screenshot 2022-09-23 at 13 30 38

Arduino IDE version

2.0.0-nightly-20220922

Operating system

macOS

Operating system version

12.4 (21F79)

Additional context

Related:


Additional reports:

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@seaxwi seaxwi added the type: imperfection Perceived defect in any part of project label Sep 23, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Sep 27, 2022
@kittaakos kittaakos self-assigned this Jan 6, 2023
kittaakos pushed a commit that referenced this issue Jan 6, 2023
include serial number of board if available

Closes #1489
Closes #1435

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 19, 2023
include serial number of board if available

Closes #1489
Closes #1435

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Feb 3, 2023
include serial number of board if available

Closes #1489
Closes #1435

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Feb 3, 2023
include serial number of board if available

Closes #1489
Closes #1435

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Feb 6, 2023
include serial number of board if available

Closes #1489
Closes #1435

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants