Keil™, An ARM® Company

Technical Support

MCB2300: PROBLEMS WITH BATTERY BACKUP RAM


Information in this article applies to:

  • MCB2300 Evaluation Boards

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

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Tuesday, September 04, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure