Tony Montgomery-Smith <[email protected]> wrote: > I guess that, if PonyProg works, and AvrDude doesn't, it must be a > matter of different timings.
I'd guess that, too. Apparently, the ISP frequency satisfies the basic requirement of being less than 1/4 of the CPU frequency (otherwise you wouldn't get along at all), but probably, your cabling or driver strength is inadequate for the ISP speed, so you have to reduce it even more. In order to make AVRDUDE slower for bit-bang programming, you could introduce additional delays using the -i <N> option. The parameter <N> is the additional delay time. In theory, <N> is in microseconds, but on modern CPUs, the auto-delay calibration loop might be off by a large amount, so simply experiment with the figures. I think a good starting point is to use -i 10. Obviously, that will make the programming slower. You could alternatively try finding a better programming hardware (there are numerous commercial or DIY options for programming hardware these days), or look whether you can improve the situation by shortening the ISP cable. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
