Timeline for Arduino disconnecting at upload
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 6, 2014 at 20:28 | comment | added | user480 | exactly. that's why I said I want to be prepared in case this ever happens again | |
| Mar 6, 2014 at 20:27 | comment | added | jippie | @FadiHannaAL-Kass isn't it more effective to figure out why things go wrong and subsequently fix them, rather than reinstalling your PC every time something happens that you don't understand (yet)? | |
| Mar 6, 2014 at 20:25 | comment | added | user480 | It most likely will, as I have performe the exact same process on a different Linux distro on the same machine, and everything worked fine | |
| Mar 6, 2014 at 20:24 | comment | added | jippie | @FadiHannaAL-Kass Reinstalling Linux is not going to solve your issue. In the Windows world people reboot their system, reinstall their machine. In the Unix/Linux world, we figure out why things happen and fix them. | |
| Mar 6, 2014 at 20:23 | comment | added | user480 | I might be able to get away with Installing a new Linux version, but I want to be prepared in case this happens ever again | |
| Mar 6, 2014 at 20:23 | comment | added | user480 |
I have already used ls -al to make sure the device exists. I also unplugged the board and ran the command again to make sure I am looking for the right device. The Arduino IDE is pointing to the right port as well. When I upload and get the error message, the Tools --> Serial Port menu gets disables, so that's another way to know the device has been disconnected while uploading. lsofand fuser, however, don't list a PID, so now I also know no other application is interrupting the upload process!
|
|
| Mar 6, 2014 at 20:19 | comment | added | jippie | @FadiHannaAL-Kass For example, I have a daemon running on my PC that queries my Arduino only every so many seconds. If I am attempting to program that Arduino, and the query comes along, then the program cycle fails. Maybe some serial monitoring program is running? | |
| Mar 6, 2014 at 20:14 | history | edited | jippie | CC BY-SA 3.0 |
added 461 characters in body
|
| Mar 6, 2014 at 20:09 | comment | added | jippie |
@FadiHannaAL-Kass Good question. Did fuser or lsof list a PID? Maybe there is something else going on.
|
|
| Mar 6, 2014 at 20:04 | comment | added | user480 |
If another application is using the device, how come I can still upload to the board from ino?
|
|
| Mar 6, 2014 at 20:00 | history | edited | jippie | CC BY-SA 3.0 |
added 248 characters in body
|
| Mar 6, 2014 at 19:49 | history | edited | jippie | CC BY-SA 3.0 |
added 16 characters in body
|
| Mar 6, 2014 at 19:42 | history | edited | jippie | CC BY-SA 3.0 |
added 90 characters in body
|
| Mar 6, 2014 at 19:36 | history | answered | jippie | CC BY-SA 3.0 |