V2.3 Page 4 of 15 February 2007
driver that communicates with the FT245RL device via the Windows USB stack and a DLL that
interfaces the application software (written in VC++, C++ Builder, Delphi, VB, etc.) to the WDM
driver. An INF installation file, uninstaller program, and D2XX Programmer’s Guide complete the
package.
The D2XX direct drivers add support for simultaneous access and control of multiple FT245RL
devices. The extended open function (FT_OpenEx) allows the device to be opened either by its
product description or serial number, both of which can be programmed to be unique. The list
devices function (FT_ListDevices) allows the application software to determine which devices are
currently available for use, again by product description or by serial number.
Download FTDI Application Notes AN232-03, AN232-05, AN232-06, and AN232-07 for
detailed instructions on how to install and remove the drivers.
EEPROM WRITE UTILITY
The DLP-245PB-G has the option to accept manufacturer-specific information that is written into
on-board EEPROM memory. Parameters that can be programmed include the VID and the PID
identifiers, the manufacturer's product string, and a serial number.
MPROG is the latest EEPROM serializer and testing utility from FTDI for the FT245RL device.
MPROG is based on the new D2XX drivers and will work on Windows 98, Windows ME, and
Windows 2000/XP platforms. You must install the latest release of the D2XX drivers in order to
run this application. (Refer to the MPROG user’s guide for details on the program’s use.)
If you have VCP drivers installed on the PC that will be used to perform the EEPROM memory,
you must uninstall these drivers using the Add-Remove-Program and install the D2XX drivers
prior to running the MPROG.
V2.3 Page 5 of 15 February 2007
QUICK START GUIDE
This guide requires the use of a Windows 98/2000/XP PC that is equipped with a USB port.
1. Download the DLL (D2XX) version of the device drivers from either dlpdesign.com
or
ftdichip.com
. Unzip the drivers onto a blank floppy disk or into a folder on the hard drive.
2. The DLP-245PB-G can be configured to receive its operating power from the USB port or
from user electronics. Pins 18, 19, and 20 allow for this configuration. (Refer to the Pinout
Description in the next section for a detailed description of the DLP-245PB-G electrical
interface.)
Note
: The board will not operate until a power source has been selected as mentioned in
Step 2.
3. Connect the DLP-245PB-G board to the PC via a standard A-B, 6-foot USB cable. This
action initiates the loading of the USB drivers. When prompted, select the folder where the
DLL version of the device drivers was stored in Step 1. Windows will then complete the
installation of the device drivers for the DLP-245PB-G board. The next time the DLP-245PB-
G board is attached, the host PC will immediately load the correct drivers without any
prompting. Reboot the PC if prompted to do so.
The DLP-245PB-G is shipped with default VID, PID, etc. values programmed into the EEPROM
memory. You only need to run MPROG if you want to change the default values.
At this point, the DLP-245PB-G is ready for use. Note that the DLP-245PB-G will appear
non-responsive if data sent from the host PC is not read from the FT245RL device by the
16F877A microcontroller.
If changing drivers from the VCP to the DLL type (or vice versa), you must first uninstall the
currently loaded drivers. To accomplish this, first disconnect the DLP-245PB-G adapter from the
host computer and then use Add-Remove-Programs in Control Panel.
V2.3 Page 6 of 15 February 2007
TOKEN I/O
The 16F877A microcontroller on the DLP-245PB-G is shipped from the factory preprogrammed
with firmware that provides rudimentary access to the port pins via either the VCP or DLL drivers.
Features include the ability to read and write individual port pins as well as 8-bit port reads and
writes.
The firmware in the DLP-245PB-G also provides access to the 16F877A’s A/D converter,
EEPROM memory, and communications with digital temperature-sensing devices.
Commands sent to the Token I/O firmware must adhere to a specific communications protocol.
Each command sequence contains the following information:
Byte 0: Number of bytes in command sequence
Byte 1: Command
Byte 2…n-1: Parameter/Data bytes
Byte n: Checksum
The checksum is computed by exclusive-OR-ing every byte in the string. If the same checksum
is calculated by the 16F877A upon receipt of the packet, then a single-byte reply of 0x55 is
returned to the host. In the event of a checksum error, the 16F877A will return an error code of
0xAA. For example, setting port PIN_A1 high would require the following string of bytes:
0x03, 0xA6, 0x29, 0x01, 0x8D
Definition of the Bytes
:
0x03 – Number of bytes in command (checksum excluded)
0xA6 – Command for set port pin high/low
0x29 – Affected port pin
0x01 – Desired state of port pin
0x8D – Checksum of previous 4 bytes
The port pins equate to hexadecimal numeric constants as defined here:
PORT A
:
PIN_A0 0x28, PIN_A1 0x29, PIN_A2 0x2A,
PIN_A3 0x2B, PIN_A4 0x2C, PIN_A5 0x2D

DLP-245PB-G

Mfr. #:
Manufacturer:
DLP Design
Description:
MODULE USB-MCU FT245RL W/16F877A
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet