5/26/2018 Pic Usb_v2
1/23
Users Manual of ET-PGMPIC USB V2.0
-1-
ET-PGMPIC USB V2.0
ET-PGMPIC USB V2.0 is PIC Microcontroller Programmer
which comes from MICROCHIP Co., Ltd and its specificationsare equivalent to PicKit2 Programmer of MICROCHIP because it
can program many numbers of PIC Microcontroller that are
Flash Memory (see list of PIC Microcontroller numbers at ET-
PGMPIC USB V2.0 in File README of PicKit2 Software Program).
The characteristic feature of ET-PGMPIC USB V2.0
Programmer is USB Interface that makes user can apply
conveniently and it is high speed for programming, so it
takes a short time to program data. Moreover, user can
upgrade new Firmware version from MICROCHIP
(www.microchip.com). Besides the initial specifications
above, ETT designs an additional Module for Emulator
Programming that can program data into Target Board
directly. So, it is the most convenient to develop program
because user does not remove any IC from device
and it protects the IC from bent or broken. Moreover, there
is ET-PGM PIC TEXTTOOLS that is designed to support
operation of ET-PGM PIC USB V2.0 in programming IC on TEXT
Tool. In this case, it can support IC DIP-Type in various
sizes and numbers; 12F, 16F, 18F and dsPIC.
Specifications of ET-PGMPIC USB V2.0
- Support applications with PIC Microcontroller- Connect to computer through USB Port
- Use Power Supply from USB Port (Board ET-PGMPIC USB
only)
- ICSP Port for In-Circuit Serial Programming- LED to display statuses
- Be able to program by pressing Switch PROGRAM on
Programmer
- Be able to program through Adaptor Modules
5/26/2018 Pic Usb_v2
2/23
Users Manual of ET-PGMPIC USB V2.0
-2-
3
2
1
4
Meaning of vocabularies in the Users Manual
Vocabulary Meaning
Target Board Board Microcontroller is connected to ET-
PGMPIC USB through Connector ICD2 or ICSP.Emulator Module Module that is replaced Microcontroller on
Target Board for programming.PIC Micro IC PIC Microcontroller
ICD2 Programmer and Debugger of MICROCHIP Co.,
Ltd.
ICSP This Programming uses signal VPP, VDD,
GND, PGD and PGC; in this case, it can be
interfaced with Pin of Microcontroller
directly for programming.
Features of Board ET-PGMPIC USB V2.0
5/26/2018 Pic Usb_v2
3/23
Users Manual of ET-PGMPIC USB V2.0
-3-
Details
1. USB Port Connection
It is a port to connect signal from Board ET-PGMPIC USBV2.0 with Computer.
2. LED to display statuses; POWER, TARGET and BUSY
BUSY: Red LED displays operational status of
Programmer. This LED will be ON when Program is
running; for example, it is in the process of
reading-writing Flash Memory of PIC Microcontroller. TARGET: Yellow LED displays status of Power Supply of
Target Board.
POWER: Green LED displays status of Power Supply of
Board.
3. Target Port Connection is Port of Signal Program that is
arranged under ICD2 standard (it is Programmer and
Debugger of MICROCHIP Co., Ltd.). It can be used with
Microcontroller Boards that have the same arranged
Ports as ICD2 standard and it can be interfaced withAdaptor Modules and ET-PGM PIC TEXTTOOLS of ETT.
Internal ICD2 Port consists of following signals;
VPP (Programming Voltage):Signal Voltage for
programming
VDD (Power Supply Positive Voltage):Voltage to
supply IC
GND: Ground Pin
PGD (Programming Data):Data Pin for programming PGC (Programming Clock):Clock Pin for programming
5/26/2018 Pic Usb_v2
4/23
Users Manual of ET-PGMPIC USB V2.0
-4-
4. PROG Switch
It is Switch to program by pressing Switch that is
equivalent to specifications of click Write Button on
Software PicKit2. Function program by this Switch can
be used when user configures specifications of Program
PicKit2 Programmer in Menu Programmer -> Write on
PICkit Button and then tick sign [] as shown in thepicture below;
Additional devices to support ET-PGMPIC USB V2.0
Besides ET-PGMPIC USB V2.0, ETT designs the additional
devices to support the applications and supply the
requirements to develop program conveniently that is ET-PGMPIC
TEXTTOOLS and Adaptor Modules as descriptions below;
ET-PGMPIC TEXTTOOLS
ET-PGMPIC TEXTTOOLS is the device that is designed toprogram IC PIC on TEXT-Tool. It consists of 3 sizes of
TEXT-Tools as follows; 2 of 40PIN and 1 of 20PIN.
5/26/2018 Pic Usb_v2
5/23
Users Manual of ET-PGMPIC USB V2.0
-5-
PIN 1PICMicro
1
PIC 28/40PIN
PIN 1
PIC 8-20PIN
PIC
Micro
1
Support PIC lower than 20 PIN
Support PIC from 28PIN to
40PIN in the family of PIC16Fand PIC18F
Support dsPIN
28PIN and 40PIN
CD2 Port
C 7-12V
Jumper 28P/40P toselect size of ICdsPIC to use with
TEXT TOOL of dsPIC
5/26/2018 Pic Usb_v2
6/23
Users Manual of ET-PGMPIC USB V2.0
-6-
Connection
5/26/2018 Pic Usb_v2
7/23
Users Manual of ET-PGMPIC USB V2.0
-7-
Adaptor Module
It is an additional device of ET-PGMPIC USB V2.0
Programmer; the main purpose of this device is to support
programming on Microcontroller Board (Target Board) without
removing any IC from device. So, it makes user more convenientto develop program and it protects IC PIN from bent and broken
that is occurred because of inserting and removing IC from
Programmer.
Adaptor Module Set has 6 Modules; 14-PIN, 18-PIN, 20-PIN,
28PIN (Narrow Pin), 28PIN (Wide Pin), and 40-PIN to support
many sizes of PIC Microcontroller of MICROCHIP as shown in the
picture below;
5/26/2018 Pic Usb_v2
8/23
Users Manual of ET-PGMPIC USB V2.0
-8-
14 -PIN 18-PIN
20-PIN 28-PIN (Narrow Pin)
28-PIN (Wide Pin) 40-PIN
Various sizes of Adaptor Modules
Each Module has Switch to select mode; PROGRAM Mode (PRG)
and RUN Mode (RUN). If user wants to program, must set Switch
position to PRG; and if user wants to run, must set Switchposition to RUN as shown in the picture below;
5/26/2018 Pic Usb_v2
9/23
Users Manual of ET-PGMPIC USB V2.0
-9-
PRG
RUN
PRG
RUN
Programming Mode Running Mode
VPP/MCLR
VDD
GND
PGD
PGC
AUX
18F
16F
PIC16Fxxx
PIC18Fxxx
Some Module has Jumper 18F/16F to select PIC
Microcontroller number, so user must set Jumper corresponding
with the truly number as shown in the picture below;
Pin arrangement of Target Port
5/26/2018 Pic Usb_v2
10/23
Users Manual of ET-PGMPIC USB V2.0
-10-
TARGET BOARD
The feature of programming through Emulator Module
The feature of programming by connecting signal Program with
Pin of Microcontroller directly
MCLR/VPP
PGD
PGC
VDD
GND
VPP/MCLRVDD
GND
PGD
PGC
PIC
Micro
5/26/2018 Pic Usb_v2
11/23
Users Manual of ET-PGMPIC USB V2.0
-11-
Using Software with ET-PGMPIC USB V2.0 Programmer
In the part of Software Program for ET-PGMPIC USB V2.0 is
called PICKit2 Programmer of MICROCHIP. Before programming,
user must install program completely that is Program .NET
Framework (dotnetfx) first and then follow by ProgramPICkit2Setupas shown below;
Applications of Software Program PICKit 2 Programmer
Tool Bar
Configuration
VDD Target
PROGRAM Memory
EEPROM DATA
5/26/2018 Pic Usb_v2
12/23
Users Manual of ET-PGMPIC USB V2.0
-12-
Menu Command regarding File Management
- Import Hex Load the desired hex file to program into
Program PICKit2.
- Export Hex Export hex file that is read from
Microcontroller to save as file.
-
Exit - To exit from program
Menu Command to select Microcontroller Family (DEVICE FAMILY)
- Baseline (12-bit Core):To use Program with 12-bit Core
Flash devices Microcontroller
- Mid-rang (14-bit Core):To use Program with 14-bit Core
Flash Devices Microcontroller
- PIC18F: To use Program with PIC18F Flash devices
Microcontroller
- PIC18F_J: To use Program with PIC18FXXJXX Flash devices
Microcontroller
- PIC18F_K: To use Program with PIC18FXXKXX Flash device
Microcontroller
- PIC24: To use Program with PIC24 Flash device
Microcontroller
- dsPIC33: To use Program with dsPIC33 Flash devices
Microcontroller
5/26/2018 Pic Usb_v2
13/23
Users Manual of ET-PGMPIC USB V2.0
-13-
Menu Command for PROGRAMMER Function
- Read Device: To read data from Program Memory, data
EEPROM memory, ID locations, and Configuration bits.
o Its specification is equivalent to
- Write Device: To write data into Program Memory, data
EEPROM, ID locations, and Configuration bits.
o Its specification is equivalent to
-Verify: To verify data in Program Memory, Data EEPROM, ID
locations and Configuration bits of Microcontroller and HEX
File in Buffer of Program PICKit2.
o Its specification is equivalent to
- Erase: To erase data in memory of Microcontroller
o Its specification is equivalent to
- Blank Check: To check memory area in Program Memory, data
EEPROM, ID locations and Configuration bits whether it is
blank or not.
o Its specification is equivalent to
-Verify on Write: To check data in Program Memory, data
EEPROM, ID locations, and Configuration bits while writing
data
5/26/2018 Pic Usb_v2
14/23
Users Manual of ET-PGMPIC USB V2.0
-14-
NOTE: User must tick sign [] in front of the desiredfunctions if user wants to use them.
- Hold Device in Reset: Hold the status Logic 0 (MCLR =
0) at Pin RESET
-Write on PICkit Button: Programming function is occurred
because of pressing Switch (PROGRAM) on Board ET-PGM USB.
-VDD Target: It is function to supply power into Target
device and control signal RESET (MCLR).
-Auto Import Hex + Write Device: It is Button that has
both functions of Import Hex File and Write Data.
-
Read Device + Export Hex File: It is Button that has bothfunctions of reading data from memory of Microcontroller and
Export Hex File.
To control status of MCLR
- Tick sign []; it means that it supplies
Logic 0 to MCLR.
- Not tick any sign []; it means that it
does notsupply Logic 0 to MCLR.
To control voltage at VDD of Target
- Tick sign []; it means that it supplies
Voltage to Target.
- Not tick any sign []; it means that it
does notsupply Voltage.
To adjust Voltage VDD Target from 2.5 Volt to 5
Volt
5/26/2018 Pic Usb_v2
15/23
Users Manual of ET-PGMPIC USB V2.0
-15-
Menu Command for Programming (Tools)
Enable Code Protect (Ctrl+P): It is function to protect
Memory Code Prorgam. Enable Data Protect (Ctrl+D): It is function to protect
data EEPROM.
Set OSCCAL: It uses values from Register OSCCAL to modify
OSC Frequency internal PIC.
Target VDD Source: We recommend user to set it at the
position of Auto-Detect.
- Auto-Detect: It checks Voltage of Target Board
automatically.
- Force PICKit 2: It configures Voltage VDD that is
supplied to Target Board come from Board PICKit2.
- Force Target: It configures Voltage VDD that is
supplied to Target Board is Voltage of its Target.
Fast Programming:It is fast programming.
Check Communication: It checks the connections between
ET-PGMPIC and Computer.
Troubleshoot:It is function of giving data to help when
getting trouble.
Download PICKit 2 Firmware: It is function to downloadnew Firmware version of PICKit 2 into Board ET-PGMPIC USB
to upgrade Firmware.
5/26/2018 Pic Usb_v2
16/23
Users Manual of ET-PGMPIC USB V2.0
-16-
Menu Command for Help
PICKit 2 Users Guide: It is PDF File that is Users
Manual of PICKit 2.
LPC Demo Board Guide: Users Manual of Low Pin Count Demo
Board of MICROCHIP
PICKit 2 on the web: Data of PICKit 2 on website of
MICROCHIP ReadMe: File ReadMe of Program PICKit 2 displays lists of
detail and PIC MCU numbers that are supported by PICKit
2.
About: Detailed information of Software PICkit2
EEPROM Data
Program PICkit 2 can modify data in EEPROM of PIC Micro.
There also is window to modify data, so user just clicks the
desired data position to modify and when user writes data,
data in EEPROM of PIC Micro will be changed into the new
written data as shown in the picture below;
Programming Procedure
1. Connect USB Cable between Board ET-PGMPIC USB and
Computer.
2. Insert the desired IC PIC MCU to program into TEXT TOOL
or Emulators.
5/26/2018 Pic Usb_v2
17/23
Users Manual of ET-PGMPIC USB V2.0
-17-
PIN 1PICMicro
1
PIC 28/40PIN
PIN 1
PIC 8-20PIN
PIC
Micro
1
TARGET Board
*NOTE: The programming on TEXT Tools, user must set
Jumper T/B to T position.
In case of programming on TEXT TOOLS of ET-PGMPIC USB
TEXTTOOLS.
In case of programming on Target Board with Emulator
Module
In case of programming through Emulator, user must
connect Power Supply to Target Board to protect Power Supply
from USB is not enough and user must set Switch position ofModule to PRG position to connect signal program together.
ET-PGMPIC USB V2.0
5/26/2018 Pic Usb_v2
18/23
Users Manual of ET-PGMPIC USB V2.0
-18-
3. Open Program PICKit2; double click Icon PICKit2.
4. Program PICkit2 will check IC on TEXT TOOL; if it is
number that is supported by PICKit2 and the connection is
correct, it will display the found PIC Micro number in
the Device blank as shown in picture below;
5/26/2018 Pic Usb_v2
19/23
Users Manual of ET-PGMPIC USB V2.0
-19-
5. Erase the old data in PIC Micro first; click Button Erase
and both data in program Memory blank and EEPROM Data
blank are FF value.
6.Import the desired Hex File; click Menu File -> Import
Hex.
7. Data in Program Memory blank and EEPROM Data blank will
be changed follows the loaded Hex File.
8. Click ButtonWriteto write program Hex File into memory
of PIC Micro.
9. If user wants to check the written data in PIC Micro
whether it is correct or not; click ButtonVerify.
If Enable Code Protect, it makes Verify fail because Code
Program is protected form reading, so user can versify it.
5/26/2018 Pic Usb_v2
20/23
Users Manual of ET-PGMPIC USB V2.0
-20-
Problems and Solutions
Problems
The problem is occurred because of the connection between
Computer and Board PICKit 2, it will display error messageas shown in the picture below;
Solution
- Check the connection of USB Cable between Computer
and Board ET-PGMPIC USB.
- Click Tools -> Check Communicationto test operation
again.
5/26/2018 Pic Usb_v2
21/23
Users Manual of ET-PGMPIC USB V2.0
-21-
Problem
The problem is occurred because of checking Voltage at
Target Board; it will display Error Message as shown in the
picture below;
Solution
-In case of using Programmer through Text Tool, check
the position of Jumper T/B whether it is in T
position or not.
- In case of using Programmer through Emulator Module,
check the position of Jumper T/B whether it is in B
position or not. Then, check Power Supply of Target
Board whether it is available or not. If not, user
must supply power into Target Board completely.
5/26/2018 Pic Usb_v2
22/23
Users Manual of ET-PGMPIC USB V2.0
-22-
Problem
The problem is occurred because of it can not find any
Microcontroller.
Solution
- Check IC in TEXT TOOL whether it is inserted
correctly or not and then check whether Pin 1 of IC
is in the correct position or not.
-In case of programming with Emulator Module, must
check whether signal cable is connected correctly or
not and then check Voltage at Target Board whether it
supplies Voltage or not.
5/26/2018 Pic Usb_v2
23/23
Users Manual of ET-PGMPIC USB V2.0
-23-
Problem
The problem is occurred because of Hex File that is
imported has not any Configuration. This problem is
occurred in the step of design and compile program.
Solution
- Set Configuration completely in the step of design
and create program.
Top Related