I have been trying to use my Eleven to program an ATMEGA32. I loaded up the ArduinoISP sketch using Arduino v1.01 (with the 20ms fix already in place). What I find is that regardless of whether there are any actual connections to my Eleven, running something like:
- Code: Select all
avrdude -p m32 -c arduino -P /dev/cu.XXXXX
1. always succeeds
2. always reports the device signature of a ATMEGA328P
Reports abound on the internet on how this is a symptom of avrdude talking to the bootloader on the Eleven instead of the ArduinoISP code. I tried two fixes for this:
1. putting a 10uF capacitor between ground and RST
2. putting a 100Ohm resistor between +5v and RST
Neither of these solutions work. Both give me erratic behaviour, ranging from programmer not responding, to out of sync errors. In the rare cases where it does work, it still produces the same device signature as the 328P.
I tried this with a seeeduino w/ 168P, same result.
If any one can spot what I am doing wrong, or maybe know for sure why this won't work, I would be much obliged!