Hi folks,
I'm trying to set the low fuse on an at90usb1278 (attached to a AT90USBKey
board). In particular, I'm trying to program CKOUT.
I'm using this guy as a programmer:
http://www.xilinx.com/support/programr/jtag_cable.pdf (it's worked in the
past for jtag programming cpld's, and it appears one can use it to ISP
program avr's).
Verbose output below -- I seem to be communicating, but the fuse write
doesn't appear to take. Any ideas?
>avrdude -c xil -p usb1287 -v -v -u -U lfuse:w:0x1E:m
...
bitbang_cmd(): [ AC 53 00 00 ] [ 0F FF 53 00 ]
avrdude: AVR device initialized and ready to accept instructions
Reading | | 0% 0.00s
bitbang_cmd(): [ 30 00 00 00 ] [ 00 30 00 1E ]
bitbang_cmd(): [ 30 00 01 00 ] [ 00 30 00 97 ]
bitbang_cmd(): [ 30 00 02 00 ] [ 00 30 00 82 ]
avrdude: Device signature = 0x1e9782
bitbang_cmd(): [ A0 0F FC 00 ] [ 00 A0 0F FF ]
bitbang_cmd(): [ A0 0F FD 00 ] [ 00 A0 0F FF ]
bitbang_cmd(): [ A0 0F FE 00 ] [ 00 A0 0F FF ]
bitbang_cmd(): [ A0 0F FF 00 ] [ 00 A0 0F FF ]
avrdude: reading input file "0x1E"
avrdude: writing lfuse (1 bytes):
Writing | | 0% 0.00s
bitbang_cmd(): [ 50 00 00 00 ] [ 00 50 00 5E ]
bitbang_cmd(): [ AC A0 00 1E ] [ 00 AC A0 00 ]
bitbang_cmd(): [ 50 00 00 00 ] [ 1E 50 00 5E ]
bitbang_cmd(): [ 50 00 00 00 ] [ 00 50 00 5E ]
bitbang_cmd(): [ 50 00 00 00 ] [ 00 50 00 5E ]
[... repeated ...]
***failed;
[...]
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x1e != 0x5e
avrdude: verification error; content mismatch
--
View this message in context:
http://www.nabble.com/Programming-lfuse-on-a-usb1287-tf3611733.html#a10093000
Sent from the AVR - AVRdude - Dev mailing list archive at Nabble.com.
_______________________________________________
avrdude-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avrdude-dev