avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bugs #8391] Fuse mask in boot.h wrong?


From: anonymous
Subject: [avr-libc-dev] [bugs #8391] Fuse mask in boot.h wrong?
Date: Wed, 31 Mar 2004 13:20:01 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040210 Firefox/0.8

This mail is an automated notification from the bugs tracker
 of the project: AVR C Runtime Library.




/**************************************************************************/
[bugs #8391] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8391>
Project: AVR C Runtime Library
Submitted by: 0
On: Wed 03/31/04 at 18:20

Category:  Header
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Originator Email:  address@hidden
Status:  Open


Summary:  Fuse mask in boot.h wrong?

Original Submission:  Fuse-Mask in boot.h may be wrong. In current (31 Mar 04):

/* Define the bit positions of the Boot Lock Bits. */
#define BLB12           5
#define BLB11           4
#define BLB02           3
#define BLB01           2
#define __BOOT_LOCK_BITS_MASK  (_BV(BLB01) | _BV(BLB02) 
                               | _BV(BLB11) | BV(BLB12))

didn't work for me in an AVRStuido STK500-plugin-compatible bootloader on an 
ATmega16. To fix this issue here it has been changed like this:

/* Define the bit positions of the Boot Lock Bits. */
#define BLB12           5
#define BLB11           4
#define BLB02           3
#define BLB01           2
// mt:
#define LB2             1
#define LB1             0
#define LOCK6           6
#define LOCK7           7
#define __BOOT_LOCK_BITS_MASK (_BV(LB1) | _BV(LB2) |  
                               _BV(LOCK6) | _BV(LOCK7))

BTW. The bug I've submited regarding sleep.h and ATmega169 haven't been fixed 
so far. At least a remark in the documentation (like the one in/for eeprom.h) 
would avoid time-consuming debugging on the users-side until someone has time 
to fix this bug.











For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8391>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]