BASIC stamp manual v2.2

Using the BASIC Stamp Editor
Page 48 BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com
Loopback Echo Interpretation
Yes Yes
Serial port and serial cable properly connected. BASIC Stamp
properly inserted into socket. If no BASIC Stamp is detected, it is
probably because the BASIC Stamp is not connected to power.
Other causes could be: 1) low battery, 2) Reset pin of BASIC Stamp
is connected to Vdd (it should be left disconnected), 3) the BASIC
Stamp is damaged or 4) there is some other type of communication
error (software or hardware).
Yes No
Serial port and serial cable properly connected to the development
board. BASIC Stamp improperly inserted into socket (i.e.: inserted
backwards or not inserted at all).
No Yes
Serial port and serial cable may be improperly connected, or you
may not be using a standard BASIC Stamp development board.
The Echo indicates there may be a BASIC Stamp properly
connected to the port (the Loopback is not required for successful
connection) or there may be another device connected to the serial
port.
No No
Serial port and serial cable are not properly connected, or not
connected at all, to the BASIC Stamp 2 (and higher) modules.
Could also be an indication of a serial port hardware/software
problem. When using a BS1 Serial Adapter, this Loopback and
Echo is normal and expected.
Table 3.5: Using Loopback and
Echo to troubleshoot your serial
port (DB9) connection.
NOTE: When using a USB port,
the Loopback column does not
give reliable results. Usually this is
not an error and the Loopback
status can be ignored.
Selecting the “Ignore BS1 Modules unless downloading BS1 source code”
checkbox at the bottom of the Identification window optimizes
identification speed. All BS2 models can be identified very quickly. For
BASIC Stamp 1 modules, the identification process can take as much as
five seconds per communications port. Since the Identification function
checks all available serial ports for any possible model of BASIC Stamp,
the five-second timeout for BS1’s can be very inconvenient, especially if
you are not using a BS1.
When this checkbox is checked, the Identification function will not attempt
to locate BS1 modules, and thus saves time. If, however, you are
downloading BASIC Stamp 1 code, the Download function will attempt to
locate BS1 modules regardless of the setting of this checkbox. This feature
can also be found and modified via the Preferences Editor Operation
tab.
Like the Identification function, the Download function provides
information to help guide you through the downloading process. After
entering the desired source code in the editor window, you may run it in
one of three ways: select Run Run, press Ctrl+R on the keyboard, or
click on the “” toolbar icon. This will tokenize and download the code
THE DOWNLOAD FUNCTION .
S
PEED UP IDENTIFICATION WITH THE
“IGNORE BS1 MODULES CHECKBOX.