PIC18F45K22 programming fails

Moderator: Benj

Post Reply
User avatar
fotios
Posts: 458
Joined: Mon Feb 08, 2010 10:17 am
Location: Greece
Has thanked: 109 times
Been thanked: 117 times

PIC18F45K22 programming fails

Post by fotios »

Is there any issue with P18F45K22? I try to compile a simple fcf on it to show a simple text on LCD e-block but the compiler shows a message that "programming is failed" followed by some numbers. My setup is:
EB-006-7 programmer
FC v5.5.2.1
PPP v3.14.20.35
My PC OS is Win7 Pro 64bit.

Thanks for any help
Best Regards FOTIS ANAGNOSTOU

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC18F45K22 programming fails

Post by Benj »

Hello Fotios,

Yes we are aware of a programming issue with the k22 devices. We have previously tried multiple times to get it working but it just will not fall into line like the other chips. Therefore the K22 devices cannot be programmed directly using the EB006. You could use the PICkit interface on the board and the USB/ICSP jumper to allow the chip to be reprogrammed via a Pickit programmer.

User avatar
fotios
Posts: 458
Joined: Mon Feb 08, 2010 10:17 am
Location: Greece
Has thanked: 109 times
Been thanked: 117 times

Re: PIC18F45K22 programming fails

Post by fotios »

Thanks Ben
I already tried it with success using the MPLAB ICD2 (i haven't available a Pickit programmer).
Have a nice day
Fotis
Best Regards FOTIS ANAGNOSTOU

User avatar
fotios
Posts: 458
Joined: Mon Feb 08, 2010 10:17 am
Location: Greece
Has thanked: 109 times
Been thanked: 117 times

Re: PIC18F45K22 programming fails

Post by fotios »

Hi Ben

I was wrong, neither ICD2 can program P18F45K22. During programming process with MPLAB IDE a "warning" pop-up window appears that says that the standard VPP = 12V of ICD2 exceeds this of 18F45K22. I looked in electrical specs of this micro and indeed is refered: Voltage at pin MCLR/VPP/RE3 = 11V max.
Furthermore, suggested programming devices by Microchip for this familly of micros are only Pickit2, Pickit3 and MPLAB ICD3.
I am wondering, maybe the problem of EB-006 programmer is the same with this of ICD2?

Fotis
Best Regards FOTIS ANAGNOSTOU

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: PIC18F45K22 programming fails

Post by saschech@gmx.de »

Hello fotios

ICD2 dont Support the 18F45K22.At ebay pickit3 for 23€.......;
I order one no probs.....

Regards wolfgang
Attachments
icd2 no support.gif
icd2 no support.gif (34.44 KiB) Viewed 12104 times

User avatar
fotios
Posts: 458
Joined: Mon Feb 08, 2010 10:17 am
Location: Greece
Has thanked: 109 times
Been thanked: 117 times

Re: PIC18F45K22 programming fails

Post by fotios »

Thanks Wolfgang

Indeed, i was thinking to buy one pickit3, is not so expensive and i like very much these micros mainly for their big program memory and for their stack of 32 levels.

Regards

Fotis
Best Regards FOTIS ANAGNOSTOU

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC18F45K22 programming fails

Post by Benj »

Hello,

EB006 v8 has an inbuilt charge pump which allows the VPP voltage to be varied, version 7 boards and before did not have this feature so the VPP voltage is fixed at VPSU - 0.7V which for a 12V PSU works out at around 11.3V.

The PPP software however does not support this variable VPP so be careful. Future software may support the feature.

PICkit 3 is a good programmer to have in your arsenal as it lets you program these odd devices and it also allows you to directly program chips on your own circuitry using a simple ICSP header should you ever need to.

Post Reply