avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [patch #9163] New eeprom write block function for xme


From: Pitchumani Sivanupandi
Subject: Re: [avr-libc-dev] [patch #9163] New eeprom write block function for xmega
Date: Tue, 22 Nov 2016 10:40:40 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On Wednesday 16 November 2016 06:34 PM, Pitchumani wrote:
URL:
   <http://savannah.nongnu.org/patch/?9163>

                  Summary: New eeprom write block function for xmega
                  Project: AVR C Runtime Library
             Submitted by: pitchumani
             Submitted on: Wed 16 Nov 2016 01:04:34 PM GMT
                 Category: None
                 Priority: 7 - High
                   Status: Ready For Test
                  Privacy: Public
              Assigned to: pitchumani
         Originator Email:
              Open/Closed: Open
          Discussion Lock: Any

     _______________________________________________________

Details:

Xmega's eeprom shall be programmed byte and page-wise. Current eeprom write
block function loads one byte to eeprom at a time. Though it uses
page_erase_and_write command, it doesn't write page-wise.

Attached patch adds new eeprom_write_block function for xmega (written in C)
that loads eeprom with maximum of E2PAGESIZE at a time.

This patch also adds a function named ccp_write_io to write into CCProtected
(CCP) IO registers.

Tested the function with ATxmega128A1 explained board. Seems to work fine.

I tried comparing the cycle count only with simulator. New function shows
better results for writing more than 2 bytes.

Any comments/ suggestions?

Regards,
Pitchumani



reply via email to

[Prev in Thread] Current Thread [Next in Thread]