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

"Detected board" incorrect #495

Closed
kyeb opened this issue Mar 10, 2018 · 10 comments
Closed

"Detected board" incorrect #495

kyeb opened this issue Mar 10, 2018 · 10 comments
Assignees

Comments

@kyeb
Copy link

kyeb commented Mar 10, 2018

Every time I plug my ESP32 Dev Module in with vscode open, I get a suggestion to switch to a different board - it tells me it detected an ESP8266. I have used an 8266 in the past, but the current workspace is configured for the ESP32.

screenshot

@czgtest
Copy link
Contributor

czgtest commented Mar 12, 2018

@kyeburchard we will try to investigate it.

@czgtest
Copy link
Contributor

czgtest commented Mar 15, 2018

I plug Huzzah Esp8266 , Sparkfun Esp8266 Thing Dev and Mxchip AZ3166 in with vscode open,
it can detect the right board and port, Because I don't have ESP32 Dev Module board , now I can't repro on the issue.

image

image

@kyeb
Copy link
Author

kyeb commented Mar 15, 2018

For me, it correctly identifies my SparkFun ESP8266 Thing Dev, but incorrectly identifies my ESP32 Dev Module as an Adafruit Feather HUZZAH ESP8266. I have tried reinstalling the extension and a few other things. Are there any logs or something I can find and attach?

@Sneezry
Copy link
Member

Sneezry commented May 7, 2018

@kyeb Sorry for late response. Board detection depends on product ID and vendor ID of your board, so I need know your board's PID and VID.

You can find them from device manager. Or if you have node installed, you can find them with a simple node script:

const serialport = require('serialport-lite').SerialPortLite;
serialport.list().then(console.log);

Install serialport-lite by running npm install serialport-lite

@kyeb
Copy link
Author

kyeb commented May 7, 2018

@Sneezry No worries. The response I get from running that node script is the following:
[ { port: 'COM3', vendorId: 4292, productId: null } ]
Let me know if I can provide any other info.

@Sneezry
Copy link
Member

Sneezry commented May 8, 2018

It seems your board has the same identity with Adafruit HUZZAH ESP8266.

Do you want the extension to popup both Adafruit HUZZAH ESP8266 and ESP32 when it finds the specific identity, or just remember your choice to stop popup Adafruit HUZZAH ESP8266 notification?

@kyeb
Copy link
Author

kyeb commented May 8, 2018

Interesting, I wonder why they would have the same identity...?

Just remembering my choice of "no" and stopping the notification for next time would be awesome (it's really annoying to be notified every time when plugging in and unplugging a bunch).

@Sneezry
Copy link
Member

Sneezry commented May 8, 2018

In fact, PID and VID is not binding to board, but USB control chip. Both HUZZAH and ESP32 use the same chip.

@kyeb
Copy link
Author

kyeb commented May 8, 2018

I see. The language that "Detected board Adafruit HUZZAH ESP8266" is somewhat misleading in that case.

@Sneezry
Copy link
Member

Sneezry commented May 14, 2018

We have added a new option to ignore specific board when popup board detection in v0.2.15

@Sneezry Sneezry closed this as completed May 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants