bugAVR C Runtime Library - Bugs: bug #15512, bootloader-utilities not IR-save

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15512: bootloader-utilities not IR-save

Submitter:  None
Submitted:  Mon 23 Jan 2006 12:32:12 PM UTC
   
 
Category:  Library Severity:  5 - Blocker
Priority:  9 - Immediate Item Group:  None
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Fri 01 Sep 2006 05:36:15 PM UTC, comment #2: 

This is not really a bug in the code. The documentation only alluded to the fact that the user needs to handle disabling global interrupts by showing this in the code example. I've changed the documentation to now explicity say that the user needs to do this.

Eric Weddington <arcanum>
Group administrator
Wed 19 Apr 2006 09:26:49 PM UTC, comment #1: 

Will not be fixed before the next avr-libc release (1.4.4).

Eric Weddington <arcanum>
Group administrator
Mon 23 Jan 2006 12:32:12 PM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-01 arcanum StatusNone Fixed
    Percent Complete0% 100%
    Open/ClosedOpen Closed
2006-08-24 arcanum Severity3 - Normal 5 - Blocker
    Priority5 - Normal 9 - Immediate
2006-04-19 joerg_wunsch Assigned toNone arcanum
2006-01-23 None Carbon-Copy- Added mikrocontroller --AT-- electronic-solutions --DOT-- de

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code