L M K 0 4 9 0 6 E V A L U A T I O N B O A R D O P E R A T I N G I N S T R U C T I O N S
SNAU126
60
Appendix G: Properly Configuring LPT Port
When trying to solve any communications issue, it is most convenient to verify communication
by programming the POWERDOWN bit to confirm normal or low supply current consumption
of the evaluation board.
LPT Driver Loading
The parallel port must be configured for proper operation. To confirm that the LPT port driver is
successfully loading click “LPT/USB”
“Check LPT.” If the driver properly loads then the
following message is displayed:
Figure 18: Successfully Opened LPT Driver
Successful loading of LPT driver does not mean LPT communications in CodeLoader are setup
properly. The proper LPT port must be selected and the LPT port must not be in an improper
mode
.
The PC must be rebooted after install for LPT support to work properly.
Correct LPT Port/Address
To determine the correct LPT port in Windows, open the device manager (On Windows XP,
Start
Settings
Control Panel
System
Hardware tab
Device Manager) and check
the LPT port under the Ports (COM & LPT) node of the tree. It can be helpful to confirm that
the LPT port is mapped to the expected port address, for instance to confirm that LPT1 is really
mapped to address 0x378. This can be checked by viewing the Properties of the LPT1 port and
viewing Resources tab to verify that the I/O Range starts at 0x378. CodeLoader expects the
traditional port mapping:
Port
Address
LPT1
0x378
LPT2
0x278
LPT3
0x3BC
If a non-standard address is used, use the “Other” port address in CodeLoader and type in the
port address in hexadecimal. It is possible to change the port address in the computer‟s BIOS
settings. The port address can be set in CodeLoader in the Port Setup tab as shown in Figure 19.