Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Always "no board selected" #369

Closed
RussellAult opened this issue Oct 18, 2020 · 3 comments
Closed

Always "no board selected" #369

RussellAult opened this issue Oct 18, 2020 · 3 comments
Labels
type: imperfection Something isn't working

Comments

@RussellAult
Copy link

Describe the bug
Every time I open the IDE "no board selected" appears at the top of the screen, even if a board was selected when the sketch was saved. I then have to go in through the "Select Other Board & Port" function and search for the board.

To Reproduce

  1. Create a new sketch.
  2. Select a board for the sketch.
  3. Save the sketch.
  4. Close the IDE.
  5. Open the IDE (which re-opens the previously-saved sketch).

Expected behaviour
Board that was selected in step 2 is still selected.

Actual behaviour
no board selected appears at the top of the screen, and warnings appear about any libraries that are part of the selected Core being missing.

Environment

  • OS: Windows 10 Pro
  • Version: 0.1.2

Additional context

  • I'm using the "ATtiny25/45/85 (No bootloader)" board from ATtinyCore with a USBtinyISP-based programmer; no ports are detected, and once selected the board appears in the top bar with a red "X" beside it (although my understanding is that both of these are normal when using a programmer?).
  • Thankfully, after re-selecting the board, all of the other board-based settings (chip, clock, programmer type, etc.) appear to be their previously-saved values (and not defaults).
  • For what it's worth I've had no trouble compiling or uploading, it's just annoying to have to re-find the board every time.
@RussellAult RussellAult added the type: imperfection Something isn't working label Oct 18, 2020
@Dave528
Copy link

Dave528 commented Nov 11, 2020

This problem seems to be related to the IDE not detecting serial com ports at startup. I have the same issue with Windows 7 x64 and the Pro IDE 0.1.2 with CLI 0.13.0.

When the IDE starts the previously selected board is still shown, but with a red 'X' indicating that the board was not found. I have to manually select 'Select other board & port' from the drop down and re-select the com port.

The same problem also occurs if the board is unplugged from the USB and later re-attached. The com port is simply not found and selected.

I've been working with multiple boards including the Arduino Mega2560 R3, Mega2560 Pro Mini, Arduino Uno, Adafruit Grand Central M4, and the Arduino MKR Zero. All boards have the same effect of the com port not being detected, so I think this is a universal problem with any connected boards being selected, removed at some point and re-attached, or the IDE being started even with the board plugged in first.

@RussellAult
Copy link
Author

@Dave528 That sounds like it might be a whole separate issue; in my case the previously-selected board is never shown.

@ubidefeo
Copy link

The last version supports remembering the last used board

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: imperfection Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants