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

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

[avr-libc-dev] [bug #15512] bootloader-utilities not IR-save


From: anonymous
Subject: [avr-libc-dev] [bug #15512] bootloader-utilities not IR-save
Date: Mon, 23 Jan 2006 12:32:12 +0000
User-agent: Opera/8.02 (Windows NT 5.1; U; en)

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15512>

                 Summary: bootloader-utilities not IR-save
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Mon 01/23/06 at 12:32
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Percent Complete: 0%
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

The bootload utilities 
 boot_page_clear
 boot_page_fill
 boot_page_write
dont work correctly if they are interrupted by an interrupt. 
This is because of the security feature of bit SPMEN: flash-commands must be
made within 4 clock cycles after writing SPMEN to one.

Workaround:
disable interrupts before executing the bootload functions.

Maybe this is not really a bug, but it should be noted in the documentation.

thanks, Stefan Kleinwort




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
mikrocontroller --AT-- electronic-solutions --DOT-- de | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15512>

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





reply via email to

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