Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] AVRDUDE 5.0 BETA Release

2005-05-15 by Pigeon

Ahh.. yes! well, I tried to do this and check and see what speed my CMU was running at... but I didn't see this. how do i get this info?
thanks again
----- Original Message -----
From: Brian Dean
Sent: Sunday, May 15, 2005 1:07 AM
Subject: Re: [AVR-Chat] AVRDUDE 5.0 BETA Release

On Sun, May 15, 2005 at 12:57:04AM -0400, Pigeon wrote:

> cable)... I use winavr.. and i lacked (or so i thought) a way to
> check fusebits.. but doesn't winavr use avrdude?

Yes.

>and how do I
> check/set fusebits?

Use interactive terminal mode to view fuse/lock bits, i.e.:

avrdude -p m32 -t
avrdude> dump lfuse
>>> dump lfuse
0000 3f ; ; |? ; |

avrdude>

To view what on-chip fuse / lock bits you have access to, use the
'part' command. For the ATmega128, you will see:

avrdude> part
>>> part

AVR Part : ATMEGA128
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout ; : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex ; : 3
PollValue ; : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom ; 4 12 64 0 no 4096 8 0 9000 9000 0xff 0xff
flash 33 6 128 0 yes 131072 256 512 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00
efuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

avrdude>

Low fuse, high fuse, and extended fuse are lfuse, hfuse, and efuse
respectively.

You can set fuses using the 'write' command. Or you can use the
command line. For example, to set the lfuse to 0x3f using the
interactive interface, you would:

avrdude -p m128 -t
avrdude> write lfuse 0 0x3f

To set the lfuse to 0x3f using the command line, you would:

avrdude -p m128 -V -U lfuse:w:0x3f:m

-Brian
--
Brian Dean
BDMICRO - ATmega128 Based MAVRIC Controllers
http://www.bdmicro.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.