9DOF RAZOR INSTALLATION PROBLEM

I have installed the Arduino SAMD Boards (32-bits ARM Cortex-M0+) by Arduino in the Boards Manager and it shows “installed” in blue.

After including the json URL in your Preferences,

I back to the Boards Manager tool, I have installed the “SparkFun SAMD Boards” (ver 1.2.2, Jun,18,2019)

And unforchnately I still can not see the option for “SparkFun SparkFun 9DoF Razor IMU M0” in myTools>Board>SparkFun SAMD (32-bits ARM Cortex-M0+) Boards menu.

There must be some step I am missing or one that has been left out!

I appear to have a similar issue.

Uploading using selected port: COM6

{runtime.tools.bossac-1.7.0.path}/bossac.exe -i -d --port=COM6 -U true -i -e -w -v C:\Users\FAISAL~1.ZAM\AppData\Local\Temp\arduino_build_238913/_9DoF_Razor_M0_Firmware.ino.bin -R

java.io.IOException: Cannot run program “{runtime.tools.bossac-1.7.0.path}/bossac.exe”: CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)

at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:207)

at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)

at processing.app.SketchController.upload(SketchController.java:732)

at processing.app.SketchController.exportApplet(SketchController.java:703)

at processing.app.Editor$DefaultExportHandler.run(Editor.java:2190)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.(ProcessImpl.java:386)

at java.lang.ProcessImpl.start(ProcessImpl.java:137)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

… 8 more

An error occurred while uploading the sketch

This looks to be two issues that are loosely related since they both are dealing with the SparkFun SAMD Board Definitions.

First, shachar143, v1.2.2 of these board definitions is very out of date and is not the current version. The latest version is v1.6.1 so try updating to that version. If the drop-down menu in the Boards Manager tool does not allow you to select beyond v1.2.2, something went wrong with the install process for the SAMD boards and to fix this, you most likely need to uninstall Arduino as well as find the Arduino15 folder in your AppData and delete that. After you have done that, reinstall Arduino and go through the steps to install the board definitions.

Next, gt1383b_faisal, I believe the issue is related to the problem outlined above. Please follow the steps for uninstalling Arduino and finding and deleting the Arduino15 folder and re-install the IDE. Next, follow the steps for installing the Arduino SAMD boards first and then add the SparkFun boards. That should resolve the issue with the bossac.exe error.

Thank you TS-Mark for your post. I went through previous posts on this forum and did what you suggested, i.e., uninstalled my Arduino IDE, then deleted my Arduino15 folder. I then re-installed he IDE, and was able to download and install the SAMD libraries, but I still get the exact same error unfortunately… :frowning:

I am at this point tempted to just return the board and use my existing Arduino’s and get a cheaper MPU9650 breakout board instead.

Ok… I FINALLY solved the issue… I was about to give up hope on this board after the 4th installation… so I decided to use the Arduino IDE to generate a binary file and then manually call the bossac.exe file on the command line as such:

bossac -e -w -v -b my9DOFcode.bin

… and I got it to work how I want it! Good enough for me right now…

Interesting. I ran into an issue with bossac.exe a while ago but I believe that it was resolved with a new update to the SparkFun SAMD Board Definitions. I’m glad to hear you were able to figure out a work-around here so we’ll call this issue closed for now. If you run into any other issues with the 9DoF Razor or have any other questions about it, let us know and we would be happy to help.

TS-Mark:
This looks to be two issues that are loosely related since they both are dealing with the SparkFun SAMD Board Definitions.

First, shachar143, v1.2.2 of these board definitions is very out of date and is not the current version. The latest version is v1.6.1 so try updating to that version. If the drop-down menu in the Boards Manager tool does not allow you to select beyond v1.2.2, something went wrong with the install process for the SAMD boards and to fix this, you most likely need to uninstall Arduino as well as find the Arduino15 folder in your AppData and delete that. After you have done that, reinstall Arduino and go through the steps to install the board definitions.

Next, gt1383b_faisal, I believe the issue is related to the problem outlined above. Please follow the steps for uninstalling Arduino and finding and deleting the Arduino15 folder and re-install the IDE. Next, follow the steps for installing the Arduino SAMD boards first and then add the SparkFun boards. That should resolve the issue with the bossac.exe error.

Dear TS-Mark,

Thanks for your answer (from June 18),

Yes, It is help to solve the configuration stage,

But, now I have the “bossac” problem (yes, I try reinstall again), and yes, I saw gt1383b_faisal answer, but, can we solve it without make bin file and use the command line?

I am sure the gt1383b_faisal solution give us idea/direction where to look for and to solve it in elegant way.