Home/Support/Support Forum/Bl2600 Ram Data
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Bl2600 Ram Data

0 votes
How to set BL2600 settings,keep the ram data when power lose or restart bl2600
asked Jun 4 in Rabbit Software by work97 New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
The battery backed SRAM is mapped by default in the "Compile to flash, run in RAM" compile mode, and this is the optimal and factory recommended compile

There is a Technical Note on Mapping Battery-Backed SRAM
When Running in Flash.
answered Jun 4 by Campbell Veteran of the Digi Community (684 points)
0 votes
Take a look at Samples/RestartVars/BatteryRAM/bbvars.c for an example of how to use battery-backed RAM for data storage.

For long-term storage (that's retained even without the backup battery), you can make use of the UserBlock. Look at Samples/UserBock/userblock_sample.c for an example of those APIs.
answered Jun 9 by TomCollins Veteran of the Digi Community (1,872 points)