<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ABout Storing data in Nonvoliate ram</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16151/about-storing-data-in-nonvoliate-ram</link><description> I am using the DS1643 
which contain both non voliate ram and a RTC. 
 
also, in my project, i use the timer 1 interrupt to counter the machine operation time: 
unsigned char second, min, hour; 
 
i use 
XBYTE[0x1ffe0]=second; 
XBYTE[0x1ffe1]=min; 
XBYTE</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ABout Storing data in Nonvoliate ram</title><link>https://community.arm.com/thread/110267?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2003 19:36:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:72e78681-2c74-47ad-bbe8-05c1373149f4</guid><dc:creator>Richard Collett</dc:creator><description>&lt;p&gt;I am not familiar with your device, but many RTC type chips which have an internal battery are shipped with the battery disabled, and you have to set an obscure bit in a control register to enable the battery.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ABout Storing data in Nonvoliate ram</title><link>https://community.arm.com/thread/95398?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2003 18:29:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f3cb1622-fe17-48f2-a59b-e5a2c3bce67e</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;If your code works when you reset the CPU, but doesn&amp;#39;t work when you power on the CPU, then you&amp;#39;ve got a couple of possibilities:&lt;br /&gt;
&lt;br /&gt;
1) Your code doesn&amp;#39;t really do the same thing on a reset as on a power-on start.&lt;br /&gt;
&lt;br /&gt;
2) The NVRAM doesn&amp;#39;t really keep its values when you turn the power off.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;d try to rule out #2 by setting up my emulator to stop the CPU immediately, and powering on the system.  Using the emulator to read and write the RAM, you should be able to see values there (or not).  Turn it off and back on, and see if the values you wrote via the emulator are still there.  If the chip really works, then you can move on to #1, and figure out what&amp;#39;s different about the path your code takes when the system powers on.  Perhaps there&amp;#39;s some configuration (internal or external) that survives a reset that gets scrambled by the power cycle, and access to the NVRAM isn&amp;#39;t set up properly.&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ABout Storing data in Nonvoliate ram</title><link>https://community.arm.com/thread/55109?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2003 16:48:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d4a340a0-ee39-4684-9e35-0dab2a3f4cf1</guid><dc:creator>Raul Comer</dc:creator><description>&lt;p&gt;I am using the internal backup battery type.&lt;br /&gt;
According to datasheet.&lt;br /&gt;
It can hold the data for more than 10 years.&lt;br /&gt;
&lt;br /&gt;
CAn u give some hints for me to solve this problem.&lt;br /&gt;
Because my project deadline is coming.&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ABout Storing data in Nonvoliate ram</title><link>https://community.arm.com/thread/39919?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2003 07:42:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e63237b0-5f09-47c0-8a4a-14e2edbfb6c1</guid><dc:creator>Graham Cole</dc:creator><description>&lt;p&gt;There are lots of different types of Non-volatile RAM. Are you using a battery backup type. If so, the obvious question is what happens when you remove the power? If the RAM is corrupted when power is removed, the battery is not doing its job and it is a hardware problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>