Evening all, first post here. I'm trying to use Arduino to flash my 3d printer (xyz davinci 1.0) with repetier but the Arduino software doesn't want to connect to the Arduino due inside the 3d printer. I'm following some fairly clear instructions on GitHub, which tell me to go to tools>board>Arduino due (native usb port), however this option isn't available in the drop-down. I've tried to add it by going to file>preferences>additional boards manager URLs, but any that I add in there (I'm not entirely sure which is the correct one) either don't make anything appear in the boards manager, or if they do, they come up with an error message when I try to install them. Any ideas what is going wrong here?
Sorry I've just looked at your screenshot in detail - the 'arduino due (native)' option is the one I want, according to the GitHub instructions I'm following.
Nope, haven't been able to make any connection with it. The two due options in your screenshot aren't showing on mine. Were they on yours by default or did you have to download them?
Should there be some more options in here? Screenshots I've seen online have at least 2 or 3, is that by default or would they have been added in by the person using it?
Thanks, I've tried that, but when the download completes there are no additional options in the boards manager. The following text appears in the black box at the bottom of the IDE:
unknown protocol: c
unknown protocol: c
Error downloading https://downloads.arduino.cc/packages/package_index.json
Malformed Additional Board Manager URL 'C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam\1.6.8\variants\arduino_due_x': unknown protocol: c
Malformed Additional Board Manager URL 'C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam\1.6.8\cores\arduino\USB': unknown protocol: c
Could not find boards.txt in C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam\1.6.8. Is it pre-1.5?
WARNING: Error loading hardware folder C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam
No valid hardware definitions found in folder sam.
Malformed Additional Board Manager URL 'C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam\1.6.8\variants\arduino_due_x': unknown protocol: c
Malformed Additional Board Manager URL 'C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam\1.6.8\cores\arduino\USB': unknown protocol: c
Could not find boards.txt in C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam\1.6.8. Is it pre-1.5?
WARNING: Error loading hardware folder C:\Users\fred.trevvett\Downloads\arduino-1.8.19-windows\arduino-1.8.19\hardware\sam
No valid hardware definitions found in folder sam.
Aha, interesting thing I just noticed, it would appear that there is a different procedure for boards developed by a third party, which mine clearly is. (Source: https://docs.arduino.cc/learn/starting-guide/cores) However, I've got no idea how to identify it, I'll post a pic in a minute from my phone. I have also found a list of links relating to third party boards, which can be plugged into the 'additional boards manager URLs' field in preferences. Hopefully once the board is identified I can just use one of them.
Good news - I've installed Arduino 1.5.8 (this is what a guy was using on an old Youtube tutorial) and the Arduino DUE (Native USB Port) option is there!
However, I went to compile it, checked for errors and this came up:
Arduino: 1.5.8 (Windows 8), Board: "Arduino Due (Native USB Port)"
In file included from Repetier.h:572:0,
from BedLeveling.cpp:107:
HAL.h: In static member function 'static void HAL::serialSetBaudrate(long int)':
HAL.h:684:14: error: 'class UARTClass' has no member named 'setInterruptPriority'
Serial.setInterruptPriority(1);
^
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Any ideas what might be causing this?
Update 08:23 GMT - I've hit my max number of replies in a day limit, all replies will be added to this post!