uic00b_thumb.jpg

Can UIC00B Support New Model of PIC?

Introduction

PICkit2 is a common development tool which is being used to load program into famous microcontroller, PIC. It is good to know Cytron’s UIC00B is compatible with PICkit2, and I would like to show some tips and ticks to load program into new model of PIC.

uic00b

Just a brief about UIC00B. Basically it is compatible with PICkit2 from Microchip, you can integrate it with MPLAB IDE, MPLAB X IDE, and there is also standalone programmer software, PICkit2 Programmer. Due to low cost, UIC00B has gain its position for hobbyist, student, researcher and even engineer that uses PIC microcontroller for development.  As we know, Microchip always introduce new model of PIC microcontroller from time to time. So some might want to load program to new model of PIC microcontroller and you might not be able to do so if you did not update the device file 🙂 An example of new PIC microcontroller is PIC16F1933.

Not all existing and new PIC micrcontroller can be supported by UIC00B or PICkit2, to get the latest device support list, check it out here, please utilize the search function. Put in the PIC model and search the page. Only if the PIC model is listed in that page, only you can download program into the PIC using PICkit 2 or UIC00B. Else, please don’t waste your time reading this article 🙂

If the PIC model you wanted to program is in the page, please continue with this article, we will show you the step to update PICkit 2 🙂

Hardware required:

  • Computer
  • UIC00B
  • The new PIC model that you want to load program too.

Software required:

PICKIT 2

PROJECT:

Upgrade the PICKit2 device file to enable UIC00B to program new PIC model

 

PROCEDURE:

DSCF7928

When you use the new model of PIC microcontroller, try to detect the PIC using the usual method you load program, using SK40C, SK28A, SK18B, UIC-S or your own connection. I am using  UIC-S for ease of explanation. Open up PICkit2 Programmer program and it should automatically detect UIC00B and further detect the PIC microcontroller connected. If you get “No Device Found”, Congratulation! More work is needed 🙂 This is the purpose of this sharing.

Here, I am trying to load program into PIC16F1933 which is new PIC microcontroller model from Microchip. As mentioned, I am using UIC-S to ease the interface. Opening PICkit 2 Programmer GUI shows that the PIC is not found. Yet, checking the PICkit 2 device support list, PIC16F1933 is listed!! Good! At least I know it is supported. Now, what should I do?

pick2

* Please take note: UIC-S is designed to support 8-bit PIC microcontroller, 18-pin, 28-pin and 40-pin PDIP package only. It does not support 16-bit and 32-bit PIC microcontroller such as PIC24F, 24H, dsPIC30F, dsPIC33F and PIC32. But the steps in this article does not limited to 8-bit PIC microcontroller.

 

Upgrade PICKit2 Device file:

Please go to PICkit 2 site.

Download the circle part file name Device File 1.62.14 of click HERE to download.

micro1

Currently, if you download the file, it is named as “PK2DFUpdate-1-62-14.zip”. It will changed from time to time as Microchip release new device file.

Open the folder and extract the zip file, it will show it dat extension.

rar

 

Copy and replace the existing PK2DeviceFile.dat

Copy the new PK2DeviceFile.dat file, search for old/existing PK2DeviceFile.dat, it should be located at C:\Program Files\Microchip\PICkit2 v2\

This directory is default installation directory.

Paste the new file and you will be asked whether to replace the existing file, please select yes.

overwrite

 

After overwrite is completed, please close the PICkit 2 Programmer Software and and reopen again. Leave the hardware connection untouched.

Now, you should be able to see the PIC16F1933 like below picture.

success

Now, you should be able to load program to the new model of PIC microcontroller. Good luck 🙂

IF YOU FEEL THE ABOVE METHOD IS TOO LONG…. HERE ARE THE SUMMARY

1. Check compatibility of the PICKit2 with you chip use at PICKit2 SUPPORT LIST.

2. DOWNLOAD THE DAT FILE HERE

3. OVERWRITE IT AT YOU PICkit2 INSTALLED PLACES

 

PRECAUTION:

  • Please feel free to backup the original file to overwrite back if any unwanted incident happen . Else re-install if error occur.

If you have problem, please feel free to discuss it in our technical forum.

Buy

, , ,

Related Post

060614_0104_EmbeddedEle7.png

Embedded Electronics – Loading Program (PIC)

060514_1358_NewLightWei9.png

New Light Weight Champion – PIC16F887

Fullscreen capture 8202013 14944 PM

Using UIC00B on MPLAB X IDE

uic00b_thumb.jpg

Updating UIC00B Operating System

Leave a Reply

Your email address will not be published. Required fields are marked *