Page 1 of 1

PIC18F45K22 programming fails

Posted: Fri Jun 14, 2013 9:11 am
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

Re: PIC18F45K22 programming fails

Posted: Fri Jun 14, 2013 9:19 am
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.

Re: PIC18F45K22 programming fails

Posted: Fri Jun 14, 2013 10:28 am
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

Re: PIC18F45K22 programming fails

Posted: Fri Jun 14, 2013 6:17 pm
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

Re: PIC18F45K22 programming fails

Posted: Fri Jun 14, 2013 9:21 pm
by saschech@gmx.de
Hello fotios

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

Regards wolfgang

Re: PIC18F45K22 programming fails

Posted: Fri Jun 14, 2013 10:19 pm
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

Re: PIC18F45K22 programming fails

Posted: Mon Jun 17, 2013 7:26 pm
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.