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

 
 

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

bug #12324: boot_page_write_safe, etc.

Submitter:  None
Submitted:  Tue 15 Mar 2005 10:48:57 AM UTC
   
 
Category:  Library Severity:  4 - Important
Priority:  7 - High Item Group:  None
Status:  Fixed Assigned to:  None
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

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

Fixed 2005-09-29.

Anatoly Sokolov <aesok>
Group 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>
Group 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.)

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

 

Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-09-29 aesok StatusNone Fixed
    Assigned toarcanum None
    Open/ClosedOpen Closed
2005-09-06 joerg_wunsch Assigned toNone arcanum
2005-08-29 None Attached File- Added boot.h.patch, #2880
2005-03-15 arcanum Severity3 - Normal 4 - Important
    Priority5 - Normal 7 - High
2005-03-15 None Carbon-Copy- Added hej_ola --AT-- hotmail --DOT-- com

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code