Pitchumani
2015-08-17 09:23:49 UTC
URL:
<http://savannah.nongnu.org/patch/?8718>
Summary: Enable EEPROM memory map only devices with EEPROM
Data Memory Mapping Enable bit (EEMAPEN)
Project: AVR C Runtime Library
Submitted by: pitchumani
Submitted on: Mon 17 Aug 2015 09:23:48 AM GMT
Category: None
Priority: 9 - Immediate
Status: Ready For Test
Privacy: Public
Assigned to: pitchumani
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
For Xmega devices, data memory mapping of the EEPROM section can be enabled by
setting EEPROM Data Memory Mapping Enable bit (EEMAPEN). This allows us to
load/store EEPROM using load/store instructions.
But for Xmega E series, EEPROM is memory mapped in the data memory by default.
Data addresses 0x1000 to 0x1FFF are reserved for EEPROM.
So, setting EEMAPEN bit is not required for Xmega E series devices.
This patch modifies eeprom read/write functions to do memory map only if
EEMAPEN bit exists.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 17 Aug 2015 09:23:48 AM GMT Name: eeprom-mem-map.patch Size: 4kB
By: pitchumani
<http://savannah.nongnu.org/patch/download.php?file_id=34665>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8718>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
<http://savannah.nongnu.org/patch/?8718>
Summary: Enable EEPROM memory map only devices with EEPROM
Data Memory Mapping Enable bit (EEMAPEN)
Project: AVR C Runtime Library
Submitted by: pitchumani
Submitted on: Mon 17 Aug 2015 09:23:48 AM GMT
Category: None
Priority: 9 - Immediate
Status: Ready For Test
Privacy: Public
Assigned to: pitchumani
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
For Xmega devices, data memory mapping of the EEPROM section can be enabled by
setting EEPROM Data Memory Mapping Enable bit (EEMAPEN). This allows us to
load/store EEPROM using load/store instructions.
But for Xmega E series, EEPROM is memory mapped in the data memory by default.
Data addresses 0x1000 to 0x1FFF are reserved for EEPROM.
So, setting EEMAPEN bit is not required for Xmega E series devices.
This patch modifies eeprom read/write functions to do memory map only if
EEMAPEN bit exists.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 17 Aug 2015 09:23:48 AM GMT Name: eeprom-mem-map.patch Size: 4kB
By: pitchumani
<http://savannah.nongnu.org/patch/download.php?file_id=34665>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8718>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/