
EV (Customer) asked a question.
P1AM quit uploading
I was able to install the Arduino IDE, add libraries, create programs controlling both base I/O's and third party shields. Then one day uploading quit working. I get following:
Error opening serial port '/dev/ttyACM0'. (Port not found)
Interestingly I am able to retrieve the board info from tools menu.
I am running in the Ubuntu 18 environment.
Any ideas?
After putting the board into boot loader by pressing can you upload the blink sketch.
Does this issue occur after uploading the blink example sketch?
If you are able to can you share your code either in forum here or via a private message?
Here is the code:
Can you point me to the blink example you have in mind?
I will be using the IDE and a regular upload to the P1AM, correct?
Thanks.
see attached....all examples are under File -> Examples
Blink
Thank you for the code. I could not find it in examples.
I attempted to upload it after I put the controller into the bootloader mode, but same thing.
Here is the error output:
Sketch uses 10072 bytes (3%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2055)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: processing.app.SerialException: Error touching serial port '/dev/ttyACM0'.
at processing.app.Serial.touchForCDCReset(Serial.java:107)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
... 5 more
Caused by: jssc.SerialPortException: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.
at jssc.SerialPort.openPort(SerialPort.java:167)
at processing.app.Serial.touchForCDCReset(Serial.java:101)
... 6 more
Are you running ubuntu natively or on a virtual machine?
Are you running Arduino with sudo privileges?
What version of the Arduino IDE are you using?
I run Ubuntu natively. The arduino is 1.8.13 version and I cannot run it with sudo privileges. I get
mkdir: cannot create directory '/run/user/0': Permission denied
when I try.
Thank you..