[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [patch #8718] Enable EEPROM memory map only devices with
From: |
Pitchumani |
Subject: |
[avr-libc-dev] [patch #8718] Enable EEPROM memory map only devices with EEPROM Data Memory Mapping Enable bit (EEMAPEN) |
Date: |
Mon, 17 Aug 2015 09:23:49 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 |
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/
- [avr-libc-dev] [patch #8718] Enable EEPROM memory map only devices with EEPROM Data Memory Mapping Enable bit (EEMAPEN),
Pitchumani <=