#1448
SuperMario
Teilnehmer

Hallo Vincent,

ich habe leider schon einige Stunden mit dem Problem zu kämpfen!
Also wenn ich „Arduino Due“ auswähle, dann funktioniert die Überprüfung OHNE Fehler.
Wenn ich aber „Arduino Due for Repetier“ auswähle kommt folgender Fehler:

C:\Users\Privat\AppData\Local\Temp\buildc4b40bff10f7708d0e7ab479ee8e6592.tmp/core\core.a(wiring_analog.c.o): In function `analogWrite‘:
C:\Users\Privat\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.9\cores\arduino/wiring_analog.c:349: undefined reference to `g_pinStatus‘
C:\Users\Privat\AppData\Local\Temp\buildc4b40bff10f7708d0e7ab479ee8e6592.tmp/core\core.a(wiring_digital.c.o): In function `pinMode‘:
C:\Users\Privat\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.9\cores\arduino/wiring_digital.c:82: undefined reference to `g_pinStatus‘
C:\Users\Privat\AppData\Local\Temp\buildc4b40bff10f7708d0e7ab479ee8e6592.tmp/core\core.a(wiring_digital.c.o): In function `digitalWrite‘:
C:\Users\Privat\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.9\cores\arduino/wiring_digital.c:113: undefined reference to `g_pinStatus‘
C:\Users\Privat\AppData\Local\Temp\buildc4b40bff10f7708d0e7ab479ee8e6592.tmp/core\core.a(wiring_digital.c.o): In function `digitalRead‘:
C:\Users\Privat\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.9\cores\arduino/wiring_digital.c:136: undefined reference to `g_pinStatus‘

collect2.exe: error: ld returned 1 exit Status

Laut der Readme.txt Datei die beim Online Configurator erstellt wurde, ist es nicht mehr notwendig ab Version 1.6.5 die Dateien in den Local Arduino Ordner zu kopieren!

Auszug:

For Arduino 1.6 and newer

At least with Arduino 1.6.5 there is no need to install the Repetier additions.
Only if you use the Alligator board you still need to copy the files.
To test if watchdog is working correctly, send M281 which should trigger
the watchdog.

Install latest Arduino IDE and in Tools->Board->Boards Manager download the
Arduino Sam Boards to get basic structure for Due base boards.

boards.txt needs to be copied to C:\Users\<your user name>\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.5

It contains the 2 original entries plus a new one called Arduino Due for Repetier.
If you have modifed the boards.txt before, add only the last entry in boards.txt.

Copy the folder arduino_due_repetier to
C:\Users\<YourUserName>\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.5\variants

After a restart you have a new board in your list. Use it only if you
compile with watchdog feature enabled (which is the preferred way for increased safety)

Also müsste es nun mit der „nur“ Arduino Due Auswahl auch funktionieren oder weißt du eine bessere Lösung?
Ich habe mehrmals die Treiber deinstalliert, die COM Board Nummer und die Übertragungsrate geändert aber nichts hat geholfen. Ich glaube nicht an ein Treiber Problem. Der Watchdog ist bei der Online-Configuration aktiviert.

Vielen Dank und Gruß
Mario