EmbeddedRelated.com
Forums

Command Line Software

Started by igor September 7, 2006
I am trying to verify fuse bytes by running the following ***commands.
Why I am getting: "The value of one or more fuse bytes are not
specified."

*** stk500 -dATMega128 -q 
STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005.

Scanning ports:
COM1 ... Connected to STK500 V2 on port COM1
Device parameters loaded
Programming mode entered
Reading fuse bits... 
Fuse byte 0 read (0x3F) 
Fuse byte 1 read (0xD0) 
Fuse byte 2 read (0xFF) 
Programming mode left
Connection to STK500 V2 closed

*** stk500 -dATMega128 -F3FD0 
STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005.

Scanning ports:
COM1 ... Connected to STK500 V2 on port COM1
Device parameters loaded
The value of one or more fuse bytes are not specified.




On Thu, 07 Sep 2006 19:02:29 -0500, "igor" <imalikin@stdcom.com>
wrote:

>I am trying to verify fuse bytes by running the following ***commands. >Why I am getting: "The value of one or more fuse bytes are not >specified." > >*** stk500 -dATMega128 -q >STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005. > >Scanning ports: >COM1 ... Connected to STK500 V2 on port COM1 >Device parameters loaded >Programming mode entered >Reading fuse bits... >Fuse byte 0 read (0x3F) >Fuse byte 1 read (0xD0) >Fuse byte 2 read (0xFF) >Programming mode left >Connection to STK500 V2 closed >
The "Fuse byte 0", "1", "2" output lines suggest there are three fuse bytes.
>*** stk500 -dATMega128 -F3FD0 >STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005. >
The "-F3FD0" option looks like you are specifying two fuse bytes.
>Scanning ports: >COM1 ... Connected to STK500 V2 on port COM1 >Device parameters loaded >The value of one or more fuse bytes are not specified. >
Was the program expecting you to provide a third fuse byte? -- Dan Henry
"igor" <imalikin@stdcom.com> wrote in message
news:QbednaZ7UrmILp3YnZ2dnUVZ_vednZ2d@giganews.com...
> I am trying to verify fuse bytes by running the following ***commands. > Why I am getting: "The value of one or more fuse bytes are not > specified."
<snip>
> *** stk500 -dATMega128 -F3FD0
Had you typed "stk500 -h" you would have seen the correct options. First of all, -F means verify fusebytes, so you did not specify any fuse byte at all. -f sets the first fuse bytes 0 and 1 while -E set the extended fuse byte 2 -F verifies fuse bytes 0 and 1 while -G verfies the extended fuse byte 2 Meindert