News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

K150 PIC Programmer support for 16F887

Started by thetrueman, Apr 15, 2023, 08:22 PM

Previous topic - Next topic

thetrueman

Hi,

I used low cost K150 PIC Programmer which is nice but only problem is lack of support for 16F887.
I just discovered that it uses the following settings for 16F877A which if we convert to 16F887 then it can program 16F887.

CHIPname=16F877A
INCLUDE=Y
KITSRUS.COM=40pin
EraseMode=5
FlashChip=Y
PowerSequence=VccVpp1
ProgramDelay=10
ProgramFlag2=1
PanelSizing=7
CoreType=bit14_E
ROMsize=002000
EEPROMsize=00000100
FUSEblank=3FFF
CPwarn=N
CALword=N
BandGap=N
ICSPonly=N
ChipID=0E20
LIST1 FUSE1 "WDT" "Enabled"=3FFF "Disabled"=3FFB
LIST2 FUSE1 "PWRTE" "Disabled"=3FFF "Enabled"=3FF7
LIST3 FUSE1 "BODEN" "Enabled"=3FFF "Disabled"=3FBF
LIST4 FUSE1 "LVP" "Enabled"=3FFF "Disabled"=3F7F
LIST5 FUSE1 "CPD" "Disabled"=3FFF "Enabled"=3EFF
LIST6 FUSE1 "WRT Enable" "Enabled"=3FFF "WRT_256"=3DFF "WRT_1FOURTH"=3BFF "WRT_HALF"=39FF
LIST7 FUSE1 "DEBUG" "Disabled"=3FFF "Enabled"=37FF
LIST8 FUSE1 "Oscillator" "RC"=3FFF "HS"=3FFE "XT"=3FFD "LP"=3FFC
LIST9 FUSE1 "Code Protect" "Disabled"=3FFF "Enabled"=1FFF

Please experts can change these settings according to 16F887? It will be great help of this programmer's users. Thanks.

Craig

Hi Thetrueman I suggest rather buying a Pickit if possible it is much better than the K150, I used one years ago and found it to be a piece of Junk.


Stephen Moss

If the programmer does not detect the attached device and you have to tell it which device you are using have you tried programming a 877 with 877A as the selected device?
I have not compared the data sheets but given the device numbering is the same genus they are probably close enough that it would work.

thetrueman

Hi,

I took data posted in my first post from ChipData.cid file. K150 burning software is MicroBrn and it reads this file to load programming specs from this file. It can be open with Notepad in plain English.

I just edited this file and renamed the 16F877A to 16F887 and it appeared in the list of Chip selection combo box and 16F877A disappeared. I researched a bit more and found that I could change FUSES LIST according to 16F887 but at the moment will just want to ask that ChipID=0E20 is for 16F877A but what is ChipID for 16F887? Thanks.

tumbleweed

The chip ID (devid) for a 16F877 is 09a0

thetrueman

@tumbleweed Thanks that is right but where did you find it?
I also found the ChipID=2080 for 16F887 and now to tweak a couple of settings and let see if K150 programs a 16F887.

tumbleweed

I got the devid from the mplabx files, but it's usually available in the device programming spec document.

RGV250

QuoteI suggest rather buying a Pickit if possible it is much better than the K150, I used one years ago and found it to be a piece of Junk.
I think it needs to be a Pickit 2 or 3 as from what I can gather the Pickit 4 is worse than a piece of junk.

Bob

thetrueman

Thanks to all for kindness and suggestions. It seems that K150 firmware to be upgraded to support 16F887 as I tried my best. If their would be any achievement, try to share here. Thanks.