avrdude: AVR device not responding

Hi there,

Just getting started with my first project. Im using a serial ISP programmer to program an ATMega162, and Im having trouble using avrdude to do, well, anything! avrdude reports:

--------------------------------------------------------------------------------------------------- C:\Utils\WinAVR\bin>avrdude -p m162 -P COM1 -c ponyser -U lfuse:r:-:h - U hfuse:r :-:h

avrdude: AVR device not responding avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

avrdude done. Thank you.


However, when I upload hex files using avrprog from AVR Studio, it works sweet as! Anyone have any idea what Im doing wrong in avrdude? Id like to use it, as the tutorials Im working from use it, and avrprog doesnt seem to be able to set fuse bits (plus avrdude is runnable from within my IDE :P)


Reply to
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.