URL:
<http://savannah.nongnu.org/patch/?6352>
Summary: Far pointer library
Project: AVR C Runtime Library
Submitted by: carloslamas
Submitted on: Friday 12/21/2007 at 14:40
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This code is to intended to access the whole flash memory in devices with
flash address space bigger than 64KB.
The macro GET_FAR_ADDRESS() is the best version I've got after testing
several ones but is not always a direct replacement of the & operator for
getting far pointers. It has not been tested on ATmega2560, not even in
simulation.
The string and memory copy functions for far program memory xxxx-PF() are
still in beta stage and need more tests (not known bugs but not extensively
tested). They had been parked in my hard disk for a long time but the big ROM
devices users claim for some standard way to access the data in avr-libc.
Comments are welcomed.
Carlos Lamas.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 12/21/2007 at 14:40 Name: extra pgmspace.zip Size: 26kB By:
carloslamas
Sources to access the flash beyond 64KB
<http://savannah.nongnu.org/patch/download.php?file_id=14680>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6352>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev