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: [EMAIL PROTECTED]
             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/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to