Skip to content
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

IDE cannot cope with Arduino Nano Every being blocked #1950

Open
3 tasks done
oldtomdevel opened this issue Mar 11, 2023 · 0 comments
Open
3 tasks done

IDE cannot cope with Arduino Nano Every being blocked #1950

oldtomdevel opened this issue Mar 11, 2023 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@oldtomdevel
Copy link

Describe the problem

I am using the Arduino Nano Every with Arduino IDE V2.0.4 on Linux.
While everything works perfect most of the time, I encounter sometimes the problem that it is not possible at all to upload a new program to the arduino. It happens randomly. There are a lot of people who encountered the same problem and reported that in the arduino forum (e.g. see https://forum.arduino.cc/t/no-upload-to-arduino-nano-every-possible/1033767 ) or somewhere else in internet blogs. There are a lot of explanations and solutions given. However, most given solutions do not work.
If we look into detail, we can see that there are two problems. First of all, the Arduino Nano Every sometimes randomly does not communicate and does not accept any upload. Secondly, after a failed upload the IDE diables the upload button and refuses any effort to start communication with Arduino by serial monitor.
After some time I found out that it is possible to solve problem no. 1 (Arduino not accepting any upload) by the classical "1200 baud touch" (even though some people argue that this must not work due to the different architecture of Nano Every - anyway, here it always works!). But due to problem no. 2, doing this using the serial monitor in IDE is possible only after a complete restart of the IDE.
Therfore, the bug is the reaction of IDE to the communication problem with Arduino Nano Every. IDE should not disable further uploads and refuse communication. Instead, it should first try a reset by "1200 baud touch" and try a new upload afterwards.

To reproduce

Unfortunately, the situation of Arduino Nano Every blocking any upload happens randomly. No Trigger is known.

Expected behavior

IDE should be able to cope with that situation as this happens from time to time.

Arduino IDE version

2.0.4

Operating system

Linux

Operating system version

Linux Mint 20 Cinnamon

Additional context

No response

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
@oldtomdevel oldtomdevel added the type: imperfection Perceived defect in any part of project label Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant