Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Cannot run program "___REMOVE___/bossac": error=2, No such f
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Cannot run program "___REMOVE___/bossac": error=2, No such f

by adampatterson on Tue Jul 21, 2020 3:38 pm

Hello!

Last year I had purchased an M4 Express and some NeoPixels. I would say the setup went well and I was able to get everything working.

Today I went running the same code and got a number of errors. I updated the IDE, and libraries and I am still having issues.

When I tried to update the boards Adafruit SAMD Boards it shows that I have 1.5.9 installed. When I select anything newer I get java.lang.NullPointerException.

I wish I had more technical knowledge of what was going on but when I connect the board to my Mac it shows up as FEATHERBOOT, when it is mounted is when it shows up in the serial ports.

If I eject the board it comes right back.
If I hit the reset button it also comes back.

I tried uploading the Blink sample code and I end up with the following error.

Code: Select all | TOGGLE FULL SIZE
ava.io.IOException: Cannot run program "___REMOVE___/bossac": error=2, No such file or directory
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
   at java.lang.Runtime.exec(Runtime.java:620)
   at java.lang.Runtime.exec(Runtime.java:485)
   at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
   at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
   at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)
   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.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: error=2, No such file or directory
   at java.lang.UNIXProcess.forkAndExec(Native Method)
   at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
   at java.lang.ProcessImpl.start(ProcessImpl.java:134)
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
   ... 11 more
An error occurred while uploading the sketch


Red LED is pulsing
Green LED is solid
CHG LED flickering


Updated bootloader:
UF2 Bootloader v3.10.0 SFHWRO
Model: Feather M4 Express
Board-ID: SAMD51J19A-FeatherM4-v0

Previous Bootloader:
UF2 Bootloader v2.0.0-adafruit.7 SFHWRO
Model: Feather M4 Express
Board-ID: SAMD51J19A-FeatherM4-v0


Any help or tips would be much appreciated!

Cheers!

adampatterson
 
Posts: 9
Joined: Fri Aug 17, 2018 4:19 pm

Re: Cannot run program "___REMOVE___/bossac": error=2, No su

by adampatterson on Tue Jul 21, 2020 4:52 pm

When Updating the board, I noticed a more detailed error message:

Code: Select all | TOGGLE FULL SIZE
java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
   at cc.arduino.contributions.packages.ContributionInstaller.remove(ContributionInstaller.java:276)
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:170)
   ... 1 more

adampatterson
 
Posts: 9
Joined: Fri Aug 17, 2018 4:19 pm

Re: Cannot run program "___REMOVE___/bossac": error=2, No su

by adampatterson on Tue Jul 21, 2020 5:47 pm

Alrighty,

I went under /Users/me/Library/Arduino15/packages/adafruit/hardware/ and deleted the samd folder and updated Java.

I then reinstalled the board, reselected the Adafruit M4 Express, and retried uploading the Blink code and it seemed to work even though it showed a problem.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

I tried my own code and it also worked fine.

So... I think this was an issue with the IDE possibly needing a newer version of Java, not too sure since I changed EVERYTHING!

adampatterson
 
Posts: 9
Joined: Fri Aug 17, 2018 4:19 pm

Re: Cannot run program "___REMOVE___/bossac": error=2, No su

by adampatterson on Tue Jul 21, 2020 5:59 pm

I uploaded a new sketch and now I can't see the USB port.

At the moment the only LED on is the CHG light which is flickering.

I am going to step away from this, for now, a little bit frustrated!

adampatterson
 
Posts: 9
Joined: Fri Aug 17, 2018 4:19 pm

Re: Cannot run program "___REMOVE___/bossac": error=2, No su

by adampatterson on Wed Jul 22, 2020 5:23 pm

Alrighty,

Seems to work fine, nothing new from yesterday.

adampatterson
 
Posts: 9
Joined: Fri Aug 17, 2018 4:19 pm

Please be positive and constructive with your questions and comments.