Problem reading Lock Bits

View: New views
3 Messages — Rating Filter:   Alert me  

Problem reading Lock Bits

by burli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I want to read Lockbits with avrdude, but I have a problem.

If the Lockbits set to 0xFF (checked with AVR Studio) avrdude reads
:010000003FC0

Tested with AT90USB162 and ATmega88.

I'm using avrdude 5.8, downloaded and compiled from svn today.

Is there a Problem with avrdude or how I have to read the information?

regards
Markus


_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Re: Problem reading Lock Bits

by Vitaly V. Ch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

readed bytes is in Intel-hex format. most like lockbits value is 0x3f.
also you can change output format for avrdude

\\wbr Vitaly Chernookiy

On Sun, Sep 27, 2009 at 6:00 PM, Markus Burrer <mb@...> wrote:

> Hi, I want to read Lockbits with avrdude, but I have a problem.
>
> If the Lockbits set to 0xFF (checked with AVR Studio) avrdude reads
> :010000003FC0
>
> Tested with AT90USB162 and ATmega88.
>
> I'm using avrdude 5.8, downloaded and compiled from svn today.
>
> Is there a Problem with avrdude or how I have to read the information?
>
> regards
> Markus
>
>
> _______________________________________________
> avrdude-dev mailing list
> avrdude-dev@...
> http://lists.nongnu.org/mailman/listinfo/avrdude-dev
>


_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Re: Problem reading Lock Bits

by Joerg Wunsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As Markus Burrer wrote:

> If the Lockbits set to 0xFF (checked with AVR Studio) avrdude reads
> :010000003FC0

Lock bits 6 and 7 are unassigned on the ATmega162, so AVRDUDE masks
them off when displaying.

--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev