Parallel Port Architecture (Windows CE 5.0)
Five popular types of parallel ports exist. You can configure many ports to work in any of these modes. The following table shows the types of parallel ports.
Parallel port type | Description |
---|---|
Standard parallel port (SPP or AT) | Standard parallel ports send 8 bits of data in parallel mode, but receive data only 4 bits at a time. |
Bi-directional (PS/2 or BPP) | Bi-directional parallel ports send and receive data 8 bits at a time. |
Enhanced parallel port (EPP) | Many EPP ports can handle PS/2 bi-directional communications. |
Extended capability port (ECP) | ECP can handle PS/2 bi-directional communications, but must be put in this mode by software. Several BIOS setup programs offer the ability to perform this task. You can also run a software application to select the bi-directional mode of an ECP port by setting the most significant bits (bits 7, 6, and 5) of (LPT1 PORT ADDRESS + 0x402) to 001. Relying on a software solution could cause problems if you forget to run the application or if other software changes the port mode. Therefore, if your parallel port supports only ECP, you should install a separate parallel port ISA card. |
ECP+EPP | A standard ECP port can be put in a mode to emulate a bi-directional PS/2 port, but an EPP port cannot. An ECP+EPP port can be put into ad additional mode to emulate EPP. ECP+EPP ports have the same configuration challenge as described for ECP ports. |
Parallel Cable Customization
You need a custom parallel cable to use Target Control to transfer an run-time image. This cable requires a DB-25 male connector at both ends. The following table shows how to map the pins.
Pin | Mapped to |
---|---|
1 | 10 |
2 | Same |
3 | Same |
4 | Same |
5 | Same |
6 | Same |
7 | Same |
8 | Same |
9 | Same |
10 | 1 |
11 | 14 |
12 | 16 |
13 | 17 |
14 | 11 |
15 | Not connected on either end |
16 | 12 |
17 | 13 |
18 | Same |
19 | Same |
20 | Same |
21 | Same |
22 | Same |
23 | Same |
24 | Same |
25 | Same |
See Also
Send Feedback on this topic to the authors