ARM Technical Support Knowledge Articles

ATMEL DEVICES WITH EXTERNAL UART DO NOT WORK

Applies to: FlashMON Flash Memory Target Monitor

Answer


Information in this article applies to:


QUESTION

I want to use FlashMon on my T89C51CC01 or T89C51RD2 with an external UART. To do this, I set SERIAL to 2 in the CONFIG.INC.

; SERIAL: Defines the UART and the baudrategenerator
SERIAL        EQU  2         ; 0 = on-chip UART with timer1...
                             ; 1 = on-chip UART with timer2...
                             ; 2 = use external 16550/16450 UART...

When my application downloads communication breaks down and the error

CONNECTION TO TARGET SYSTEM LOST

is reported. What's wrong?

ANSWER

It is not possible to use an external UART with FlashMon and Atmel devices.

During flash programming, MOVX instructions may only address one flash page before it is programmed. However, MOVX instructions are required to get the data from the external UART (since it is mapped into XDATA space).

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-02-14 18:14:45

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