Skip to content

Incorrect output from Tools > Get Board Info #1489

Closed
@seaxwi

Description

@seaxwi

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions