I cannot read fuses on ATMEGA8515 using STK500 (I have only tested this so far) in Linux (Kubuntu 8.04) using avrdude 5.5. I have tried variations of this command such as using sudo, but nothing works.
$ avrdude -c stk500v2 -p m8515 -P /dev/ttyUSB0 -U hfuse:r:high.txt -U lfuse:r:low.txt
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e9306 avrdude: reading hfuse memory:
Reading | ################################################## | 100% 0.02s
avrdude: writing output file "high.txt" avrdude: error opening high.txt: No such file or directory avrdude: output file high.txt auto detected as invalid format avrdude: invalid output file format: -1 avrdude: write to file 'high.txt' failed avrdude: safemode: Fuses OK
avrdude done. Thank you.
According to
one should get something similar to: $ avrdude -c stk500 -p m8 -P /dev/ttyS0 -U hfuse:r:high.txt -U lfuse:r:low.txt
avrdude: Device signature = 0x003d04
avrdude: reading hfuse memory: Reading | ################################################## | 100% 0.01s avrdude: writing output file "high.txt"
avrdude: reading lfuse memory: Reading | ################################################## | 100% 0.00s avrdude: writing output file "low.txt"
avrdude done. Thank you.
Does any one here know what could be wrong with my system?
I can program the chip with my own programs.