[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avrdude, read fuse bits?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] avrdude, read fuse bits? |
Date: |
Tue, 2 Aug 2005 23:52:37 +0200 (MET DST) |
Torsten Mohr <address@hidden> wrote:
> $(ADUDE) -u -Ulfuse:r:$(FUSE_L):m
File type `m' is an immediate value: the value is not taken from a
file but present on the command-line directly (in place of a file
name). Obviously, this only makes sense for write (to the AVR)
operations, not for read operations.
> 2.
> Can i get _less_ output from avrdude, just the bits would
> be fine.
All informational output is sent to fd 2 (stderr). Drop stderr, and
use stdout for the output file:
$ avrdude -p m128 -c ponyser -P /dev/cuaa6 -U lfuse:r:-:r 2>/dev/null | hd
00000000 fe |รพ|
00000001
> Maybe a way to just show _all_ fusebytes?
Not yet. There's been the idea to have a combined fuse memory space,
but that hasn't been implemented by anyone so far.
> 3.
> Is there an option to show the version of avrdude?
avrdude -v (and no other parameters)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)