User manual

16 l Robotics experiment with PIC microcontroller
(3) Browse to the directory where the latest Operating System code was saved,
Select the PK2*.hex file and click on the Open button as shown in figure below.
(4) The progress of the OS update will be displayed in the status bar of the pro-
gramming software and the Busy LED on the USB Microcontroller Programmer will flash.
When the update completes successfully, the status bar will display “Operating System
Verified” and the Busy LED will go out. The operating system update is then complete.
1.3.2.4 Short cut button
The PICkit2
TM
Programming Software has 7 short cut buttons as follows :
(1) Read : Read data from target MCU.
(2) Write : Write or program the code into target MCU.
(3) Verify : Verify programming.
(4) Erase : Erase data in target MCU.
(5) Blank Check : Check blank data in target MCU.
(6) Import Hex File + Write Device : Open the HEX file and program into target MCU
automatically
(7) Read Device + Export Hex File : Read device and save as the HEX file automatically.
1.3.2.5 ICD2 cable assignment
The USB Programmer comes with an ICD2 cable for connecting between the pro-
grammer and the target board. The wire assignment of this cable is shown below.
Vpp
GND
PGC
PGM
PGD
Vdd
Top view
~
~
~
~
Vpp
Vdd
GND
PGC
PGD
PGM
Vpp
Vdd
GND
PGC
PGD
PGM
$
ICD2 cable
ICD2 jack
RBX-877 V2.0 Robot Controller board
USB
Programmer
side
Vpp
GND
PGC
PGM
PGD
Vdd
ICD2
j
ack pin assi
g
nment
on tar
g
et board