Skip to content

Arduino nano "ATmega328P (Old Bootloader)" Board Not Found #933

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

Closed
DanHarJor opened this issue Sep 2, 2020 · 4 comments
Closed

Arduino nano "ATmega328P (Old Bootloader)" Board Not Found #933

DanHarJor opened this issue Sep 2, 2020 · 4 comments

Comments

@DanHarJor
Copy link

Bug Report

Current behavior

arduino-cli board list

No board FQBN or core is printed on terminal as if no board is connected. Although an arduino nano is plugged.

Expected behavior

The board should be detected and FQBN and core information should be printed with the corrosponding port.

Environment

  • CLI version : 0.10.0
  • OS and platform: Linux Ubuntu

Additional context

When using the Arduino GUI, after selecting the arduino nano bord there is an option under tools-->Processor-->ATmega328P (Old Bootloader)

after selecting this option the GUI will succeed in uploading sketches. Otherwise I recive a can't open device error

@per1234
Copy link
Contributor

per1234 commented Sep 2, 2020

Hi @PhysWiza. We have provided an explanation about this situation in the FAQ:
https://arduino.github.io/arduino-cli/latest/FAQ/#arduino-unomegaduemilanove-is-not-detected

Arduino Uno/Mega/Duemilanove is not detected

When you run arduino-cli board list, your board doesn't show up. Possible causes:

...

It mounts a USB2Serial converter like FT232 or CH340: these chips always report the same USB VID/PID to the operating system, so the only thing we know is that the board mounts that specific USB2Serial chip, but we don’t know which board that chip is on.

Although the Nano is not mentioned, the same applies to it as well. All Nanos use a general purpose USB to TTL serial adapter chip. The board detection system uses the VID/PID presented by the board, but these chips use the VID/PID provided by the manufacturer. So there is no way to know whether it's a Nano, another Arduino board, or even a non-Arduino device on the other side of that chip. So unfortunately your request is impossible to grant.

@per1234 per1234 closed this as completed Sep 2, 2020
@DanHarJor
Copy link
Author

Does this mean that I can't upload the sketch to my nano with Arduino-cli?
In the youtube tutorial he uses a nano.

https://www.youtube.com/watch?v=J-qGn1eEidA&t=196s

@per1234
Copy link
Contributor

per1234 commented Oct 1, 2020

Does this mean that I can't upload the sketch to my nano with Arduino-cli?

No. You can use your Nano with Arduino CLI, no problem. If you want help, just make a post on the Arduino Forum's dedicated board for Arduino CLI and I'll be happy to help you out:
https://forum.arduino.cc/index.php?board=145.0

EDIT: I believe it ended up being this thread: https://forum.arduino.cc/index.php?topic=707267

In the youtube tutorial he uses a nano.

He uses a Nano 33 IoT. That is a different situation from the classic Nano. The Nano 33 IoT has a unique VID/PID, so it is able to be identified by arduino-cli board list.

@DanHarJor
Copy link
Author

Yes that is the thread I created. Wow that reply was amazing. Thank you very much. So clear, concise and had everything I needed to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants