P16Pro Programmer for MicroChip microcontrollers PIC 16C61, 16C62, 16C64, 16C65, 16C71, 16C73, 16C74, 16C84, 16C620, 16C621, 16C622 ... +--------------+ | SHORT MANUAL | +--------------+ Installation: 1. Copy PC program P16PRO.EXE to directory included in DOS PATH. 2. Connect programmer to printer port LPT1, LPT2 or LPT3. 3. Connect PIC16PRO programmer to power by AC/DC adapter. 4. Start PC program with command P16PRO 5. Before use, some program parameters must be set-up (only once). For details see section Menu Settings Other and Hardware described below. 6. File DEVICE.INI must be in the same directory as the P16PRO.EXE. +---------------------------------------+ | P16PRO - menus and function of keys: | +---------------------------------------+ Program P16PRO is controlled by pull down menus, function keys F1 to F10 and some other keys described below. Pull down menus are accessed by pressing Alt-Z where Z is first letter of the menu. For example, the "File" menu is pulled down by pressing Alt-F. Dialog boxes are controlled by Left, Right, Up, Down, Esc, Tab, Space and Enter key. +------------+ | Menu File: | +------------+ Open Program: opens entered hex file (made by MPASM, MPALC, MPC... in INH8M or INH16 format) Save Program: saves current Program Data and configuration word into the entered hexfile (+ EEdata for PIC16C84 at offset 2100h) Open Data: (only for PIC16C84) reads data for DATA EE from the hex file Save Data: (only for PIC16C84) saves EE DATA into hex file (offset 0h) Edit Program: Editing Program Data. Content and address must be entered in hex form. After one location was entered, program automatically increases location for one and only content must be entered. Editing is finished by pressing Esc key or choosing and pressing Enter. Fill Program: Fills chosen part of Program Data with desired value entered in the hex form. Edit Data: (only for PIC16C84) Fill Data: (only for PIC16C84) Clear Buffer: Clears Program Data (and EE Data for PIC16C84) to the default (erased) state. About: Shows P16PRO copyright and version information Dos Shell: Temporarily jump to DOS Exit: Terminates this program. +----------------+ | Menu Settings: | +----------------+ Device: Choosing microcontroller's type Fuse: Setting Microcontroller's Fuses (oscillator, WDT, ...) ID: Choosing PIC microcontroller identifications bytes. For ID either CheckSum can be used or ID is increased for one after each programming (e.g. serial number) or any other valid number can be entered. Hardware: Setting up for different hardware schemes (default is for P16PRO with 74LS05 or 74LS06 and two PNP transistors. (see P16PRO.PCX or P16PRO.PDF) +--------+ | Other: | +--------+ LPT: LPT port number 1 to 3 (default is 1) Save On Exit: If On, the program settings are automatically saved in P16PRO.INI after terminating this program. Show Program Data: Window Program Data [ON|OFF] Show Data for 84: Window DATA EE [ON|OFF] (only for PIC16C84) HexType INH8M: Type of hex file format [INH8M,INH16] Load Prog On Start: If On, the program automatically loads last used hex file, when it is started Save: Save current settings (included microcontroller type, Fuses) into P16PRO.INI +--------------------+ | Functions of keys: | +--------------------+ F1 - Load PIC program from hex file into program buffer (Program Data) F2 - Setup PIC FUSES (oscillator, WDT..) F3 - Choose microcontroller type F4 - Programs inserted PIC microcontroller F5 - Verify content of inserted microcontroller with content of program buffer F6 - Read content of inserted microcontroller (program, Fuses, ID, EEData) F7 - Check, if inserted microcontroller is empty (blank) F8 - Programs only inserted PIC's FUSES F9 - Erase microcontroller PIC16C84 (program EE and data EE) F10 - Terminate this program. F11 - Clears Program Data (and EE Data for PIC16C84) to the default (erased) state. F12 - Reload HEX file. key move "Program Data" one page up key move "Program Data" one page down You can add new PIC's by editing DEVICE.INI file. Some setting can be done only in files P16PRO.INI and SN.INI. Read also README.TXT file. +-----------------------+ | HARDWARE DESCRIPTION: | +-----------------------+ On the picture P16PRO.PCX there is the hardware scheme. As you can see, only a few standard elements are used and the hardware is very simple to build. So here are only a few words about hardware. Supply voltage can be either AC or DC. Voltage Vdd must be between 4.5 and 5.5 V. For this purpose integrated stabiliser 78L05 (Vdd=5V) is used. It has current limitation (protection) 100 mA and with this feature protects inserted PIC from damage in case something is wrong connected. Programming voltage 13V is provided with 78L08, which has pin 2 connected to Vdd (not to the ground) and on his output there is a voltage 5+8=13V. Between PC and PIC (textool) there is a one IC 74LS05 (it can be used 74LS06 or 74LS07 too - you can setup this in P16PRO). Five open collector inverters are used for turning on/off programming voltage and Vdd and for transferring data between PC and PIC. Transistors T1 and T2 are used as the switches for turning on/off supply voltage Vdd and programming voltage Vpp. LED D1 and D2 are for indication in which state the programmer is (ready the green LED lights, programming - red LED lights) On picture PCB16PRO.PCX you can see suggestion for one-sided PCB, which can be easily made by yourself. Connection between P16PRO hardware and PC can not be longer than two meters. If you have problems by programming (Programming Failure) and you have a new 486 or pentium motherboard with LTP port on motherboard, then you must connect an additional ceramic capacitor (330 to 470 pF) between ground and pin RB7 on TEXTOOL or you can add additional pull-up resistor (4k7) to ACK line and +5V.