ARM Technical Support Knowledge Articles

PROBLEMS WITH BATTERY BACKUP RAM

Applies to: MCB2300 Evaluation Board

Answer


Information in this article applies to:


QUESTION

I have written a program that writes into the Battery RAM. When I am using char or short variables the program doesn't work.

Also, when I change values in the Memory Window of the µVision Debugger, writing to the memory window overwrites 4 subsequent bytes.

What can be wrong?

ANSWER

The battery backup RAM in the LPC2300 and LPC2400 devices supports only 32-bit write operations. Therefore it is impossible to write to a char or short variable in this memory area.

That is also what causes the overwrite effects in the µVision Memory Window. The Memory Window works properly when you switch to long value output format.

MORE INFORMATION

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2007-09-04 06:37:33

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential