When I try to compile unmodified ArduinoISP on Arduino Zero the file reaches several errors. Is ArduinoISP also not compatible with Arduino Zero?
I am working on a version that works on more arduino's. See Improve ArduinoISP sketch by PeterVH · Pull Request #3500 · arduino/Arduino · GitHub
This version compiles for the Zero.
I cannot test it because Zeroes are not available in Europe. It works very well on the Due. It would help me if you could try it out.
Be carefull not to connect to 5V targets, here is how I wired things up.
On the Zero the sketch uses the native usb port (by default).
Thanks Peter!
the sketch didn't worked out of the box, but after some tests we found that the Zero has some too strict check on digitalWrite()
:
The problem has been fixed here: Relax digitalWrite parameter check by facchinm · Pull Request #26 · arduino/ArduinoCore-samd · GitHub
If someone wants to try your sketch, the fix is available on Hourly builds (or from Zero's Core 1.6.2 when released).