-
-
Notifications
You must be signed in to change notification settings - Fork 398
Arduino-cli cannot find Duemilanove or Uno #37
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
Comments
UPDATE:I can now compile and upload sketches to my Uno and Duemilanove with no problems even though the boards themselves are not recognised. Uno
Duemilanove
This might help someone. In the meantime though, the original problem of the boards not being recognised remains. Cheers, |
could you paste the output of |
Morning @cmaglie As requested, here is the output from HTH Cheers, Nothing Plugged In Yet
Plug in DuemilanoveDmesg Output
Lsusb Output
Plug in Uno (Clone)Dmesg Output
Lsusb Output
|
Isn't "unknown" the expected behavior for a CH340-based clone? |
Yes, @NormanDunbar your boards are cheap clones that mounts the CH340 USB2Serial converter. There is no problem with that, except that it provides a generic USB VID/PID I'll close this as invalid. If I'm missing something please comment further and it will be eventually reopened. |
Morning @cmaglie @PaulStoffregen. I accept that the Uno is a clone, I believe I mentioned it and yes, it is based on the CH341. However, the Duemilanove is genuine and isn't, it's not CH341, it's FTDI. Cheers, |
Morning @cmaglie @PaulStoffregen, A further comment. My Mega is also a clone, as it turns out, and that is recognised, apparently as a genuine Mega 2560. See above. Cheers, |
@NormanDunbar it depends on the USB VID/PID that the "board" reports to the OS. Some very old boards like the Duemilanove or some cheap clones, uses an FTDI-like chip to do UART-to-USB conversion. This chip always reports the same VID/PID so all boards using an FTDI or a CH341 will always report the same VID/PID: it's not possible to detect which board model mounts that chip. You can check the VID/PID looking at the CH340 will have
FT232 have
you will find that those IDs are shared across all boards using the same USB-2-UART chip, so the only thing you can say is that the board is using an FTDI for example, but you can't tell which board is exactly. |
@cmaglie Ok, that explains things, thank you. I'm happy in that compiling etc works fine regardless of what the board is, or is not, reported as. Thank you. Cheers, |
I can compile, but can't upload. I got this errors :
Can anyone explain, why I got that errors ? UPDATE : |
Add check for official library name prefix
I have a genuino Arduino Deumilanove and an Uno clone with the ch341 chip and a genuine Mega 2560 R3, none of which are detected by the arduino-cli and cannot be used.
Dell Vostro 1720 64bit
Linux Mint 18.3
Kernel 4.13.0-45
My user is in the
dialout
group.I installed the Linux 64bit preview version of Arduino-cli and proceeded as follows:
Then:
Search for core:
Install arduino:avr core
Check core:
Check board again:
Seems my Duemilanove is not recognised. Tried with the Uno same result. The Mega on the other hand is found:
Cheers,
Norm.
The text was updated successfully, but these errors were encountered: