ARM Technical Support Knowledge Articles

CONFIGURING FOR AT89C51SND1 DEVELOPMENT KIT

Applies to: FlashMON Flash Memory Target Monitor

Answer


Information in this article applies to:


QUESTION

I am using the Atmel AT89DVK, a development board for the AT89C51SND1. I have read Application Note 174: "Use FlashMon on AT89C51SND1" which was written for this board.

I followed the instructions in this application note, but I am unable to get Flashmon to connect to my board.

I receive the following error:

CONNECTION TO TARGET SYSTEM LOST

What am I doing wrong?

ANSWER

The hardware on the AT89DVK development board differs from the demo board that was used in the application note. Additional steps are required to get the board up and running.

A true RS-232 transceiver must be between the PC and the AT89DVK development board. One option is a MAX232 or equivalent chip. Another option is to use a RS232 to Logic Level Serial Converter cable.

Finnaly, the defualt XDATALEN value in the startup.a51 file must be changed from:

XDATALEN    EQU 800H    ; the length of XDATA memory in bytes.

to:

XDATALEN    EQU 400H    ; the length of XDATA memory in bytes.

The FLASH monitor from KEIL requires XDATA (either internal XRAM or external XDATA). Changing the above setting prevents the startup code from erasing all of the internal XRAM, including the XRAM memory used by Flashmon. The upper XRAM memory, which is used by Flashmon, will be preserved.

The files attached to this article contain:

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-05-28 22:29:39

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