Professional Documents
Culture Documents
USB
PICmicro®
Programmer
http://www.kitsrus.com
mailto: peter@kitsrus.com
The board is quite easy to construct but it is advisable to read through these
notes before starting. The USB chip and all other surface mount components
have been premounted to make construction easier.
WARNING
Be aware that the USB chip is sensitive to static electricity discharge and could
be damaged by mishandling of the PCB. Be careful with the board and avoid
touching any of the tracks or pads while assembling it. Try to handle it only by
the edges.
The other chip in this kit is also sensitive to static discharge. This is the
PIC16F628. Do not touch the pins and only handle it by the ends. A socket is
supplied to allow for upgrades and easy assembly.
Starting
The first thing to do is inspect the PCB for shorted or open tracks or other
damage, especially to the premounted components. Be aware of the static
warning when doing this check. When you are satisfied that all is well, then you
can proceed.
ALL COMPONENTS EXCEPT FOR THE LED AND ZIF SOCKET MOUNT ON
THE BOTTOM SIDE OF THE PCB.
Start by mounting the 6MHz crystal. Before soldering it, make sure there is a
small gap (~ 1mm) between it and the PCB. This is to keep the metal can of the
component from shorting its own mounting pads.
Next, mount the 18 pin IC socket for the PIC16F628 chip. The indented end
faces towards the USB chip. When placing the socket, make sure the pins are
flush with the top of the PCB surface and not protruding above it before
soldering.
Before soldering the USB connector, trim the 4 connector pins and the two
support pins so that these leads are flush with the PCB top surface when
inserted into the PCB.
The pins for the above two components have to be made flush with the PCB top
surface otherwise the extra pin lengths won’t allow the ZIF socket to sit flat on
the PCB surface.
Next, mount all the electrolytic capacitors. These are polarity sensitive
components so make sure they are mounted properly. The positive lead is longer
than the negative lead, and the negative lead is also marked on the side of the
capacitor. On the PCB overlay, there are holes marked [+] as the positive lead
for each of these components. There are 2 x 1uF and 1 x 10uF capacitors so
please try not to get them mixed up. See the PCB overlay for the correct
mounting positions.
There is one LED that can be mounted next. Make sure it
are oriented correctly and is mounted from the TOP PCB
side. The anode (A) is marked on the PCB and is the longer
of the two leads on the component. The Cathode has a flat
surface on the LED body and is also marked on the board
as (K).
Very carefully check your work at this stage, as the next part to mount is the ZIF
socket. After mounting, this component hides a lot of soldered connections and
will make error corrections very difficult. Inspect the board for dry or unsoldered
joints and check all components for correct orientation and placement.
Now insert the preprogrammed PIC16F628 into its socket. Pin 1 is towards the
USB socket. The finished board should look like the images shown here.
Create a USB driver sub directory into the directory where your programmer
software was installed. C:\diyprog was the default. Therefore you would have
a new directory called C:\diyprog\usb.
The drivers come in 2 flavours, plug and play support and no plug and play
support. As this programmer does not have plug and play support, that narrows it
down to 1 choice.
You will need to visit this web page and download this driver.
http://www.ftdichip.com/FTDriver.htm
Download and unzip the file into the newly created USB directory.
Now visit this other web page and download the PDF application note that
describes how to install the driver for your particular system.
http://www.ftdichip.com/FTApp.htm
Download the PDF file into the USB driver directory listed above.
Open and follow the simple directions given in the PDF file. This should only take
a few minutes to do.
When the driver installation is completed, connect a USB cable from the PC to
the programmer board. This will power the board.
At this stage you may get a message from Windows saying that it has found new
hardware.
Also the LED should flash on and change colors briefly.
If not, monitor and check the PCB components and make sure nothing gets too
hot. If the PIC gets too hot to touch, disconnect the USB cable immediately as
the PIC is most likely inserted the wrong way around. If this is the case, then
they are quite tough little chips and it may have survived. Insert it the correct way
and re-connect the USB cable. If the LED flashed as described earlier then it
should be ok.
Disconnect the cable and insert the PCB into the mounting box provided with the
kit. The PCB will be a nice snug fit and no screws should be necessary to hold it
in place.
Now run MicroPro.exe which is the Windows® driver interface supplied with the
kit.
Click [File] -> Port or double click the COM x label on screen to bring up
the COM port window. Select the COM port that you selected for use for USB
communications while installing the driver, then OK. If you don’t know what port it
is connected to, click on
Look for the Device Manager and go to Ports (COM & LPT).
You will see COM x listed next to the USB label. X will be the COM port number
for you to select in the MicroPro program.
The PC may take a short while to establish communications with the USB port.
When it has done so, the COM port number will appear on screen and the
programmer is ready for use on the USB port.
You should see the LED change color, then stay red. You should also see
Board Connected appear on the MicroPro message bar.
Now select 16F84 from the chip select menu and click on Read. You should see
the LED change to green while the programmer reads from a non existant chip.
The screen will most likely fill with 0000's or 3FFF’s.
SEMICONDUCTORS
2 27R R7, R8
1 470R R9
2 1K5 R3, R10
7 10K R4, R5, R6, R12, R14, R15, R16
1 22K R13
1 47K R11
1 56K R2
1 680K R1
CAPACITORS
MISCELLANEOUS
D VCC D
R9
470R SKT1 R16
PROGRAMMER 10K
VPP 1 40 DATA VccP
2 39 CLOCK
C7 U2 3 38 GND
100N FT232BM R12 4
5
37
36
GND
GND 6 35 VccP
30
13
26
10K
3
VCC
R7 GND
GND
7
8
34
33
DATA
CLOCK
27R C8 GND 9 32 VccP
AVCC
VCC
VCC
VCC
USBP 10 31 GND
1
USBM VccP 11 30
2
USBP 33N GND 12 29
3
4
C6 7
USBDP TXD
25 UTX VccP 13 28 GND R14
USBM 8 24 URX 14 27 DATA
100N USBDM RXD
23 15 26 CLOCK 10K
RTS#
CN1 GND
R8 6
3V3OUT CTS#
22
21 MCLR GND
16
17
25
24 VccP
AGND
GND
GND
29
17
9
GND
TR1
D1 D2 D3
1N4148 1N4148 BC856B
1N4148
VCC VPP
R1
C3 C4 C5 680K
LEDA
1uF 1uF 10uF
B B
L1
U1 R11
14
R4 R2 PGM
16F628 R13 47K
10K 56K
VCC
MCLR 4
X1 MCLR 22K
16 6 DATA
6MHZ XTAL 15
OSC1
OSC2
RB0
RB1
7 UTX R3
8 URX
17
RA0
RB2
RB3
9 1K5
Vprg
GND 18 10 VccP
RA1 RB4
LEDK
1 11 CLOCK
C1 C2 2
RA2
RA3
RB5
RB6
12 LEDK
Vprg 3 13 LEDA
R5 22p 22p RA4 RB7
Gnd
10K
5
GND
A A
Title
1 2 3 4 5 6
FTDI Old Application Notes Page
This page no longer exists and will be redirected to the new FTDI Documents page in 5
seconds.
http://www.ftdichip.com/FTDocuments.htm
Home
Documents
Products
Our documents section is a central resource for data sheets,
Drivers
application notes, installation guides and programming guides.
Documents
Vinculum Documents Click on a link below to visit that section of our document library:
Application Notes
Home
Data Sheets
Products
The table below lists the data sheets for FTDI devices. To view a
Drivers
data sheet, click on the document title. To save a copy of a data
Documents sheet, right-click on the document title and choose "Save Target
Vinculum Documents As...". Data sheets for Vinculum products will redirect you to the
Application Notes Vinculum web site where they can be saved from.
Articles
Data Sheets All of the data sheets are in PDF format and require Adobe Acrobat
Materials Content Reader to be installed before they can be viewed.
Installation Guides
Programming Guides
VDIP1 0.91
VDIP2 0.92
VDRIVE1 0.90
VDRIVE2 0.99
VF2F 0.91
VF2F2 0.90
VMUSIC1 0.90
VMUSIC2 0.98
DLP-D 1.1
DLP-PROP 1.0
DLP-RFID1 1.1
DLP-TEMP-G 2.0
DLP-TILT 1.1
DLP-TxRx-G 1.3
MM232R 1.00
TTL-232R 1.0
TTL-232R-3V3 0.9
TTL-232R-AJ 1.0
TTL-232R-3V3-AJ 0.9
TTL-232R-PCB 1.0
TTL-232R-3V3-PCB 0.9
TTL-232R-WE 1.0
TTL-232R-3V3-WE 0.9
UB232R - NA -
UC232R-10 - NA -
UC232R-10-NE 0.9
UM232R 1.02
US232R-10 - NA -
US232R-100 - NA -
DLP-245PB-G 2.0
DLP-245PL-G 2.0
UM245R 1.02
DLP-2232-DAQ -
DLP-2232M-G 1.4
DLP-2232ML 1.1
DLP-2232PB-G 1.5
Morph-IC 1.0
DLP-USB232M-G 1.5
DLP-PROTO 1.0
DLP-TH1 1.0
DLP-TEMP9 1.0
DLP-USB245M-G 1.3
DLP-245PA 1.1
DLP-245SX 1.0
DLP-245SY 1.0
DLP-PROTO 1.0
DLP-EVALP 1.0
DLP-EVALS 1.0
DLP-RF1-Z 1.5
DLP-RF2-Z 1.8
DLP-RF2PROTO 1.0
DLP-RF2SENS 1.0
DLP-RF2RELAY 1.0
Home
Schematics & Footprints
Products
This section contains application schematics and footprints for FTDI
Drivers
devices. Schematics and footprints are available in a variety of
Documents formats, mainly OrCAD and PDF.
Vinculum Documents
Application Notes Debug and design guide documents are available for most devices
Articles through the Application Notes page.
Data Sheets
Materials Content To download a schematic, please click on the file title. Please note
Installation Guides that schematics relevant to older devices have been greyed out as
Programming Guides
these are not recommended for new designs, but are available for
reference.
Schematics
Solder Profiles
Resources
Relevant Devices Title Revision Formats
Projects
VNC1L - Vinculum VDIP1 Schematic 1.0 PDF
Support
Knowledgebase VNC1L - Vinculum VF2F Schematic 1.0 PDF
Sales Network VDRIVE1
VNC1L - Vinculum 1.0 PDF
Web Shop Schematic
Design Services
VNC1L - Vinculum VMUSIC1 1.0 PDF
Corporate
ChiPi PCB
Press FT232R 1.0 OrCAD
Gerbers
FTDI Newsletter
Contact FT232R ChiPi Schematic 1.1 PDF
FT2232C
FT2232C 1.0 OrCAD, PDF
Examples
FT232BM
FT232BM, FT232BL 2.0 OrCAD, PDF
Examples
FT245BM
FT245BM, FT245BL 2.0 OrCAD, PDF
Examples
FT232BM &
FT232BM, FT232BL,
FT245BM 1.0 Protel99
FT245BM, FT245BL
Footprint
FT232BM,
FT232BM, FT232BL,
FT245BM,
FT245BM, FT245BL,
FT8U232AM & 1.0 Eagle Library
FT8U232AM,
FT8U245AM Eagle
FT8U245AM
Library
USB -
FT8U232AM 1.0 OrCAD, PDF
RS422/RS485
MCU Connection
FT8U232AM 1.0 OrCAD, PDF
Examples
Home
Solder Reflow Profiles
Products
The documents listed below provide the recommended solder reflow
Drivers
profiles for FTDI's devices. To view a data sheet, click on the
Documents document title. To save a copy of a document, right-click on the
Vinculum Documents document title and choose "Save Target As...".
Application Notes
Articles All of the data sheets are in PDF format and require Adobe Acrobat
Data Sheets Reader to be installed before they can be viewed.
Materials Content
Installation Guides FTDI lead free devices are compliant to EU directive 2002/95/EG
Programming Guides RoHS.
Schematics
Solder Profiles
Document Title RoHS
Resources
Projects FT2232L Solder Reflow
Yes
Support Profile
Knowledgebase FT232BL/FT245BL Solder
Yes
Sales Network Reflow Profile
Web Shop
FT232BQ/FT245BQ Solder
Design Services Yes
Reflow Profile
Corporate
FT232BM/FT245BM Solder
Press No
Reflow Profile
FTDI Newsletter
Contact
www.ftdichip.com
This page no longer exists and will be redirected to the new FTDI Drivers page in 5 seconds.
http://www.ftdichip.com/FTDrivers.htm
Home
Drivers
Products
Drivers are available which allow FTDI devices to work with the following operating
Drivers systems:
VCP
● Windows XP x64
D2XX
● Windows Server 2003 x64
3rd Party Drivers
● Windows XP
Documents ● Windows Server 2003
Resources ● Windows 2000
● Windows ME
Projects
● Windows 98
Support ● Linux
Knowledgebase ● Mac OS X
● Mac OS 9
Sales Network ● Mac OS 8
Web Shop ● Windows CE.NET (Version 4.2 and greater)
Design Services
For most of these operating systems two types of driver are available: Virtual COM
Corporate
Port (VCP) drivers and direct (D2XX) drivers. The VCP driver emulates a standard
Press PC serial port such that the USB device may be communicated with as a standard
RS232 device. The D2XX driver allows direct access to a USB device via a DLL
FTDI Newsletter
interface.
Contact
To locate the drivers you want to install for a device, select which of the driver types
you wish to use (VCP or D2XX) and then locate the appropriate operating systems.
With the exception of Windows 98 and Windows ME, all devices are supported in
each driver package.
Customising Drivers
For customers wishing to create their own driver release, FTDI can
issue you with a block of 8 product IDs (PIDs) for use with FTDI's
vendor ID (VID) if you do not have your own vendor ID. This service
is free of charge, but the issued PIDs must only be used with FTDI's
VID (0x0403).
● Name
● Company
● Country
● E-Mail address
Please note that implementing a custom VID and PID with standard
FTDI driver releases requires references to be changed in the INF
and INI files.
Similarly, if driver files are renamed all references to the driver files
in the INF and INI files must be amended to reflect the new names.
Home
Projects
Products
This section of the web site provides example applications to assist
Drivers
in the development of your own code using FTDI's D2XX driver and
Documents FTD2XX.DLL.
Resources
Projects The examples are split into four sections.
Vinculum
Code Examples
2. The FTDIChip-ID section provides examples on how the
unique number programmed into each FT232R and FT245R
Support
IC can be used for secure registration and licensing. The
Knowledgebase
FTDIChip-ID can also be used to provide a dongle feature at
Sales Network
the same time as providing the USB UART or USB FIFO
Web Shop
functionality.
Design Services 3. The MPSSE section deals specifically with the MPSSE mode
Corporate of the FT2232C device. Several examples are provided in
Press Delphi to demonstrate interfacing USB to popular serial
FTDI Newsletter protocols. In addition, DLLs have been created to simplify
Contact interfacing the FT2232C to I2C, JTAG and SPI devices.
These DLLs are available for download from the MPSSE
section and several code examples are also provided.
4. The Code Examples section contains more general examples
using the D2XX drivers and DLL and spans several
programming languages.