ARM Technical Support Knowledge Articles

BYTES IN RAM APPEAR TWICE

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

I write the string "TESTSTRING" into an array in external RAM. When I send this string to the serial interface it is transmitted as "TTSSSSRRNN". The characters are doubled and every second character is missing. What's wrong?

ANSWER

The RAM of your board can only be accessed as word (16 bit) and not as byte (8 bit). There are two possible reasons for this problem:

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-07-19 09:56:06

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