Search this Blog

Monday, February 9, 2009

BB0703 (PICkit 2) Programmer-To-Go (Program without a PC !!!)

Author: Chaonan Chen, Au Group Electronics
When a PIC program (hex file) is loaded into the EEPROM of Au Group Electronics BB0703 (PICkit 2), it can be used as a standalone programmer to program PIC chips, no PC is needed!!!

There are many different ways to use the BB0703 (PICkit 2) "Programmer-To-Go" function. This document will show you one step by step.
What you need:
• PICkit 2 PC application software ("PICkit 2 Programmer V2.55")
• Your application program (xxx.hex file).
• Au Group Electronics BB0703 Serial (Enhanced PICkit 2 System, part#: BB0703)
• USB cable (for USB miniB users: part#: CBL-USB-A-MiniB)
• RJ12 6 pin reverse cable (part # CBL-RJ12-RVS)
• DC power supply (part #: PWR-912V-CP)
• Target chip / board – 3-in-1 miniLab (part #: ML-3IN1)
Step by step guide on BB0703 (PICkit 2) Programmer-To-Go
1. Install "PICkit 2 Programmer V2.55" on your PC.
2. Connect BB0703 (PICkit 2) with PC, Power LED lit, as shown in figure 1.

3. Double click PICkit 2 V2. 55 shortcut on desktop (figure 2)

"PICkit 2 Programmer" window pops up, 2 possible situations may be displayed depending on the previous setting of PICkit 2 V2.55.
Situation 1 - Message “No device Found” displayed, as shown in figure 3, click Programmer/ Manual Device select, as shown in figure 4, then continue with step 4.

Situation 2 - Message "-Select Part-" displayed, as shown in figure 5, continue with step 4.

4. Click Tools/Check Communication, as shown in figure 6

PICkit 2 Programmer displayed the message “PICkit 2 connected. ID = BB0703 +128K046 [Parts in this family are not auto-detect]”, as shown in figure 7.

5. Click Device Family/Midrange/Standard, as shown in figure 8. (PIC16F628A will be used here as the target chip for demonstration purpose)

6. From the device dropdown list, select PIC16F628A, as shown in figure 9

7. Click File/Import Hex, as shown in figure 10.

8. Select desired hex file, then click Open button, as shown in figure 11

Message "Hex file successfully imported" displayed, as shown in figure 12.

9. Select Programmer/PICkit 2 Programmer-To-Go…, as shown in figure 13.

10. "Programmer-To-Go Wizard" window pops up, click Next, as shown in figure 14.

11. Select “Target has its own power supply”, click “Next”, as shown in figure 15.

12. Download Summary displayed, click “Download” button, as shown in figure 16.

13. Download complete, Target LED on BB0703 (PICkit 2) blinks twice indicating programming successful. Remove BB0703 (PICkit 2) from USB, and then click Exit, as shown in figure 17. The BB0703 (PICkit 2) is ready for programming target chip.

14. Use RJ12 6-pin reverse cable to connect BB0703 (PICkit 2) with 3-in-1 miniLab (target chip is inserted into the ZIF socket), then apply power supply to BB0703 (PICkit 2), as shown in figure 18.

15. Press "Program" button on BB0703 (PICkit 2) to begin programming.
During programming, Power and Busy LED remain lit, Target LED may be ON or OFF accordingly, figure 19 illustrated a BB0703 (PICkit 2) Programmer-To-Go with Target LED lit, which indicates a +5V voltage was supplied to target board through the programming cables.
16. Once programming is completed, the Target LED will blink twice indicating success, the BB0703 (PICkit 2) is ready to program another target board/Chip. If the Busy LED blinks please refer Microchip user manual for errors.

1 comment:

  1. Per request, Comments feature are turned on Jan-09-2010.


Any comments, suggestion, idea? Please posted here.