31
Jan

PICKIT 2 update

We were using PICKIT software version 2.60.00 which gave the message “unsupported device”. To use a 25K22 with a PICKIT 2 we need to update the PK2DeviceFile.dat file which is usually in C:\Program Files\Microchip\PICkit 2 v2.

Download it from Microchip, the PK2 page is here

MPLAB update

Older versions of MPLAB will need updating.

Download it from Microchip, the PK2 page is here

How to install the update file:

  1. Close PICKIT software if it’s running.
  2. Simply rename (don’t delete) the old file to something memorable, I always change the file name by putting OLD at the but the choice is yours.
  3. Copy the file into the directory.
  4. Start PICKIT software.
  5. You can now use your PICKIT2 with the 18F25K22

DS30 bootloader

Our 25K20 version of the 64Mhz PLL bootloader HEX was programed into the 25K22. When restarted the PIC refused to run the loader. It will need a new version of the DS30 bootloader creating.

DS30 is opensource and can be downloaded from here

What compilers/languages support the 18F25K22 on a XINO basic for PIC?

AMICUS: Will in a future update we are told (date unknown)
Proton: Probably should (as yet untested by us)
Swordfish: Here’s a post from the SF forum http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1344&sid=85ec5887a57e8964c9e08f96db7cd466 (as yet untested by us)

PICAXE: Yes, the 28×2 that is based on this device has had limited testing.

If you know of any other compilers that do support this PIC that you have tried sucessfully on a XINO basic for PIC please let us know and we’ll add them.

Category : Uncategorized

5 Responses to “Using the 18F25K22”


Zorka January 31, 2011

The update file for PICKIT2 does indeed support the 18F25K22, but MPLAB 8.63 doesn’t seem to support the combination 18F25K22 directly. or do I miss something here ? I’m rather new to PIC’s, I mainly used arduino’s.

Zorka January 31, 2011

“the combination 18F25K22″ should be ” the combination PICKIT2, 18F25K22″

admin March 21, 2011

Amicus compiler now supports the K22, we have sucessfully tried a few basic examples using a new bootloader for DS30, all looks promising

Zorka June 9, 2011

I finally came to the point that I’m trying to get my xino basic to work. I installed an external xtal, put the DS30 bootloader on a 18F25K22 with a pickit2 (found somewhere on this site). I powered the xino basic using 5V and GND from a Xino powered by a 12Vsupply.
I try to use a serial to jack programming cable to put my program onto the pic, but ds30 just doesn’t recognize my xino basic.
The cable is ok, I can program my xino with it.
I also tried changing the 18F25K22 with a 18F25K20, but no luck (also changed the voltage jumper, 5V to 3.3V)
Where do I start debugging ???? Or can’t the basic be programmed using this method, not having an max232…..

PS: I’m still new to all this…..

Zorka June 9, 2011

I should investigate more before I post a question……
I need a different cable. So now Iget null byte discard, ……. and sometimes it recognise a device, but the wrong one, or it just time out….
Could it be I’m using a wrong type of xtal or caps ? Xtal is 16.000M12, caps are 20uf
com settings 115200