EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

3.3 V-- Battery-Back up for Static RAM in RCM3010?

Started by pra_shant3000 May 11, 2005
At 12:09 PM 5/17/2005, you wrote:

>Hi,
>
> Excellent, your code is working perfectly on
>RCM3010. I tried your code. RCM3010 is having only
>slow SRAM. I succeed to restore the variables even
>after the power failure. I used "Protected" keyword &
>_sysIsSoftreset(). Thanks for a sample code.
> Could you tell me about, How many no. of variable I
>can restore in the battery back up SRAM?
> In RABBITBIOS.c it is mentioned as BBRAMDATASIZE is
>Zero. Please, tell me HOW many variables I can
>restore from the battery back up SRAM? Is there any
>setting to do this?
>
>With regards,

On the 3010 all RAM is battery backed. You don't need the protected keyword
or use _sysIsSoftReset(). I use it on boards without it.

The protected is used to restore multi-byte variables if the system is
reset in the middle of an update. It slows code down as it has to make 2
copies of the data. I prefer to use simpler measures.

All of RAm is battery backed on the 3010. Even memory xalloc()'ed. I use
87k of battery-backed data on a RCM2200 (128k RAM). Same code runs on the
3010 or 3700.

The is a bios option to clear RAM on start up. This is normally disabled.
Otherwise, all RAM on boards witout fast RAM is untouched on a reset.
<Scott>

------
| Scott G. Henion| shenion@shen... |
| Consultant | Stone Mountain, GA |
| SHDesigns | PGP Key 0xE98DDC48 |
| http://www.shdesigns.org/rabbit/ |
------ --
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 5/16/2005



The 2024 Embedded Online Conference