|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
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?
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:
$SET (WRCFG_ENABLE = 1) ; 0 = WRCFG is set according to the level at ; ; pin P0H.0 during reset. ; ; 1 = the following _WRCFG value is ; ; written to WRCFG in the SYSCON register ; WRCFG: Write Configuration Control Bit (SYSCON.7): _WRCFG EQU 1 ; 0 = Normal configuration of WR# and BHE# ; ; 1 = WR# pin acts as WRL#, BHE# pin acts as WRH#
Article last edited on: 2005-07-19 09:56:06
Did you find this article helpful? Yes No
How can we improve this article?