bugAVR C Runtime Library - Bugs: bug #30735, bug in example twitest

 
 

bug #30735: bug in example twitest

Submitted by:  Harald Peters <haraldp>
Submitted on:  Tue 10 Aug 2010 06:50:11 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedPercent Complete: 100%
Assigned to: Anitha Boyapati <aboyapati>Open/Closed: Closed
Release: 1.6.8Fixed Release: 1.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 10 Aug 2010 06:50:11 PM UTC, original submission:

There is a bug in function:
int ee24xx_write_page(uint16_t eeaddr, int len, uint8_t *buf)
if more than 1 byte are written 3 bytes before the end of a page, the function writes one byte more than required

wrong:
...
if (eeaddr + len < (eeaddr | (PAGE_SIZE - 1)))
endaddr = eeaddr + len;
...
correct:
...
if (eeaddr + len <= (eeaddr | (PAGE_SIZE - 1)))
===
endaddr = eeaddr + len;
...

Harald Peters <haraldp>

 

(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

 

Carbon-Copy List
  • -unavailable- added by aboyapati (Updated the item)
  • -unavailable- added by haraldp (Submitted the item)
  • -unavailable- added by haraldp
  •  

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Sep 2010 11:35:22 AM UTCaboyapatiStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>aboyapati
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.1
    Tue 10 Aug 2010 06:50:11 PM UTCharaldpCarbon-Copy-=>Added haraldp

    Back to the top


    Powered by Savane 3.1-cleanup1