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

 
 

bug #15512: bootloader-utilities not IR-save

Submitted by:  None
Submitted on:  Mon 23 Jan 2006 12:32:12 PM UTC  
 
Category: LibrarySeverity: 5 - Blocker
Priority: 9 - ImmediateItem Group: None
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 01 Sep 2006 05:36:15 PM UTCarcanumStatusNone=>Fixed
  Percent Complete0%=>100%
  Open/ClosedOpen=>Closed
Thu 24 Aug 2006 05:18:31 PM UTCarcanumSeverity3 - Normal=>5 - Blocker
  Priority5 - Normal=>9 - Immediate
Wed 19 Apr 2006 08:53:33 PM UTCjoerg_wunschAssigned toNone=>arcanum
Mon 23 Jan 2006 12:32:12 PM UTCNoneCarbon-Copy-=>Added mikrocontroller --AT-- electronic-solutions --DOT-- de

Back to the top


Powered by Savane 3.1-cleanup1