bugAVR C Runtime Library - Bugs: bug #12324, boot_page_write_safe, etc.

 
 

bug #12324: boot_page_write_safe, etc.

Submitted by:  None
Submitted on:  Tue 15 Mar 2005 10:48:57 AM UTC  
 
Category: LibrarySeverity: 4 - Important
Priority: 7 - HighItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: NoneOriginator 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.

 

Thu 29 Sep 2005 04:26:00 PM UTC, comment #4:

Fixed 2005-09-29.

Anatoly Sokolov <aesok>
Project Administrator
Mon 29 Aug 2005 12:58:11 PM UTC, comment #3:

Here is the patch!

It should be correct..

Ludek STEPAN

Anonymous
Wed 16 Mar 2005 06:42:09 AM UTC, comment #2:

I use WinAvr package 20050214 so I suppose that is the version 1.2.2, so maybe it is allready fixed in the version 1.2.3. I made these changes in boot.h:
#define boot_page_erase_safe(address) \
do { \
boot_spm_busy_wait(); \
eeprom_busy_wait(); \
boot_page_erase (address); \
} while (0)
// __boot_eeprom_spm_safe (boot_page_erase, address, data)

to make it compile , otherwise I got the compile error:

macro "boot_page_erase" passed 2 arguments, but takes just 1

when using:
...
boot_page_erase_safe((addr),0xff);
..

and the error:

macro "boot_page_erase_safe" requires 2 arguments, but only 1 given

when using:
...
boot_page_erase_safe((addr))
...
(ofcourse!)
/best regards Ola Blom

Anonymous
Tue 15 Mar 2005 11:01:36 PM UTC, comment #1:

What version of the library do you see this?

Do you have a test case?

Eric Weddington <arcanum>
Project Administrator
Tue 15 Mar 2005 10:48:57 AM UTC, original submission:

the safe wraper for the boot loader functions makes error when compiling, due to that the statement
#define __boot_eeprom_spm_safe(func, address, data)
assumes that the func has a data paremeter, true for __boot_page_fill_normal, but not for the others

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #3415:  boot.h.patch added by None (3KiB - text/x-patch - patch for boot.h)

 

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 8 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 29 Sep 2005 04:26:00 PM UTCaesokStatusNone=>Fixed
  Assigned toarcanum=>None
  Open/ClosedOpen=>Closed
Tue 06 Sep 2005 07:13:09 PM UTCjoerg_wunschAssigned toNone=>arcanum
Mon 29 Aug 2005 12:58:11 PM UTCNoneAttached File-=>Added boot.h.patch, #2880
Tue 15 Mar 2005 04:58:26 PM UTCarcanumSeverity3 - Normal=>4 - Important
  Priority5 - Normal=>7 - High
Tue 15 Mar 2005 10:48:57 AM UTCNoneCarbon-Copy-=>Added hej_ola --AT-- hotmail --DOT-- com

Back to the top


Powered by Savane 3.1-cleanup1