![]() |
| XUELIN electronics is a professional company with more than 10 years' experience. We are dedicated to design and manufacture MCU development board and offer HW/SW package for C51 programmers and funs. Welcome to this online ebay store for products by XUELIN electronics( www.51c51.com ). Enjoy it. |
xl2000 Frequently Asked Questions If
you are a beginner, then I strongly recommend that you carefully read
the following. When you have something wrong in the experiment, you
can get back here anytime to have a review.
a. Check if power is on, and power indicator light is on.
c. Check if any other software occupies serial port, such as
other programmer, debugger or keil uv2 simulation software. The same
serial port can only support one program at the same time, else
confliction exists.
d. Check if serial port selection is OK. You can open Control
Panel/System/Hardware property /serial ports and see the port number.
Make sure the selection is consistent with the allocation number.
a. Check if the chip on the board socket is 89S51. Other chip
does not work.
b. Check if the serial port is connected correctly with pin
lines. The result can only be displayed on some experimental resources
such as LCD/LED. This output resources should be connected to CPU
output port by pin lines correctly.
a. Check if the simulation module in the package is locked well
on the socket.
b. Check if keil uv2 software version is OK. Strongly suggest
using the keil uv2 software in the package shipped to you. ( Some
other versions keil is not compatible.) Attention: the keil software
must be installed under the root of c disk, which means c:\. Other
directory does not work. (Refer to Chapter V, XL2000 simulating
operation guide). The file must be named ascii and placed under ascii
folder.
c. Check if the COM port configuration is OK. Because
simulation and programming are both using COM ports, when doing
simulation, other software that is using COM port must be closed.
d. Check if programming /simulation button state is OK. ( down
button means simulation)
a. Check if the external board is reset well, the oscillator is
OK and the programming functionality is OK of the board?
b. Check if the simulation head is plugged correctly. The first
PIN(red) must be connected to the first PIN of the CPU. You can verify
it with a multi-meter.
In the simulation mode, some system resources are occupied to
support the simulation functionality. The situation is not 100% same
as the real programming running environment. If you have doubts about
the simulation result, then please switch to ISP programming mode.
Under circumstances, I suggest the use of
programming–experiment mode.
Compared with 89S51 chip, 2051 is only lack of p0 and p2 port.
The programming model and the instructions are both the same. So you
can use 2051 chip as your wish only need to pay attention to avoiding
the use of p0 and p2 port. If you must use 2051, then we can offer you
other programmers with a discount.
89S52 is an upgrade version of 89C51 and their instruction set
is completely compatible, and can substitute for each other. Compared
with 89C51, 89S52 has the advantage of lower price and longer life
expectancy. At the same time, 89S52 is configured with the watchdog
and ISP downloading functionality.
51tracer debugger simulator FAQ Why
the connection cannot be established under simulation mode?
panel\system\hardware\device
manager. If you can see the COM port number information shown like
below photo. If not, please reinstall the USB driver or change to
another PC and have a try: sometimes, if the USB port number is
changed, USB driver should also be reinstalled.
Simulator
cap could provide 5v/500ma power supply for the target board, in
case, it is enough. If you fell it is not enough, you can
provide an extra 5V power by yourself. The system is designed for
protecting it from too high voltage power supply.
Maybe
the simulator cap connection is not tight. If possible, please unpack
the simulator and have a measure on it by a multimeter.
When
using 51TRACER simulator, the clock and reset of the target board is
taken over by the simulator.
Please
insert one line before main() function if C code:
char code dx516[3] _at_ 0x003b; Please
Skip interruption vector area until 0050H if ASM code, like:
org 0000H If
you do not follow above instruction, when loading program, the
simulator will generate “dididi”alarm sound and the simulation
result maybe not correct. As
the development of the single chip machine technology, 00~40H is
occupied by more and more new registers, not the original 00~30H. If
your program is still 30H, please adjust it to 40H or 50H, 80H. If you
have any question about it, please refer the program examples in the
CD, they are all tested.
Below
is the photo of simulator-XL2000 connection (connect USB to PC, simulator to target board, note
the frequency) |
|