FLASHMON: CONFIGURING FOR AT89C51SND1 DEVELOPMENT KIT
Information in this article applies to:
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?
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.
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:
Request the files attached to this knowledgebase article.
Last Reviewed: Saturday, May 28, 2005
of your data.