Hello, everyone. :3
I'm trying to use my ArduinoDue as programmer for external micronontrollers (attiny2313, to be exact). Technically this chip should be able to work on 3.3V, so I'm using no level translators or voltage converters, which simplifies the task (and I don't know how to do it yet anyway ._.).
I've googled it up and did what I could, but it just doesn't work. And now I'm desperate for help.
The first thing I did is loading the ArduinoISP on the Due, only to see it refusing to compile with errors. So I used modified sketch from this topic, and this time uploading succeeded. I've also connected the output leds, so now I can see it is heartbeating. However, whenever I try to connect to ATTiny2313 with avrdude, I receive following errors:
"avrdude -c avrisp -p t2313 -PCOM3 -b19200" -> "stk500_getsync(): not in sync: resp=0x00"
"avrdude -c arduino -p t2313 -PCOM3 -b19200" -> big delay, blinking leds, then "stk500_getsync(): not in sync: resp=0x00".
When I try to use "arduino" as avrdude programmer (example 2), it seems to be resetting, judging by the blinking pattern. I've also tried both native and programming port, with same results... uh-oh.
Update: when I was writing previous sentence and, in parallel, trying to make this thing work, I suddenly leaped forward. Now, finally, avrdude does succesfully recognizes Due (connected to native port). It doesn't reset, happily sees it as a programmer, but... now it says that my chip has an invalid signature:
Device signature = 0xffffff
Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
I thought it was the wiring, but no. All the wires are connected right where they should, if the comment in the ArduinoISP.ino is correct.
What am I supposed to do? Should I use another sketch? Disable the reset somehow? Use some advanced technique of wiring?..
Thank you in advance. :3
P.S. Please, pardon my bad writing and some out-of-place phrases, I just don't know English that well to say things more directly and polite.