GordTheRogue Posted September 15, 2009 Report Posted September 15, 2009 Hello to all.Today i spent the entire day on programming the PIC18f452.Nothing worked! :( ???This is what i have and what i did.Hardware: Pentium4 2.40ghz - 992RAM (plus the videoRam on board) with Windows Server 2003®A short Parallel cable on LPT1 port with ECP/EPP enabled Programmer: Willem PCB5.0 (powered by USB)PIC: 18f452 (For a MIDIbox SID single core) Tried 4 different PicsSoftware: Original Willem Eprom PCB5.0 Ver. 0.98D8IC-PROG 1.06b either with and without the icprog.sys driver WinPIC compiled in August 2008WinPic800 ver 3.64With all of these applications i can read/erase the Pic, but i cannot program. The standar error is at the 000000h address.Tried all kind of delay settings, also i used the API (but i think they go on only with USB).WinPic800 says: ERROR-> Writing address 0x000000 Written: 0xEF06 Read: 0x0000Willem Eprom PCB5.0 Ver. 0.98D8 says: ERROR Program memory at 0x000000Below you can read the WinPic logInfo: Loading definitions for "PIC18F452" from C:\Programmi\WinPic\devices.ini .Info: PIC18F452, added and tested by Nam Nguyen-Quang, 2005-06-21Parsed "C:\Programmi\Microchip\MPLAB IDE\Device\PIC18F452.dev" : found 72 bit combinations in 29 configuration bit groups .PIC18F: family='10'=458, WriteLatch=8 bytes, EraseLatch=64 bytes .Initialising PIC-Programmer: Success.Testing: delay(500ms) took 0.49 seconds, timer_freq=3.5795 MHz ... okProgramming...Erasing ("bulk" or "chip") ...EraseAll: missing bulk erase algorithm !Erasing FAILED !Programming CODE, 0x000000..0x00040AVerifying CODE, 0x000000..0x00040AVerifying 0x000000..0x00040AVerify Error: 000000: read 00FFFF, wanted 00EF06, mask 00FFFF ==> diff=0010F9Verify Error: 000002: read 00FFFF, wanted 00F000, mask 00FFFF ==> diff=000FFFVerify Error: 000004: read 00FFFF, wanted 00EF06, mask 00FFFF ==> diff=0010F9Verify Error: 000006: read 00FFFF, wanted 00F000, mask 00FFFF ==> diff=000FFFMore Verify Errors, unable to list all (total=506)Programming CONFIG, 0x300000..0x30000CVerifying CONFIG, 0x300000..0x30000CVerifying 0x300000..0x30000CVerify Error: 300000: read 00FFFF, wanted 00FEFF, mask 002700 ==> diff=000100Verify Error: 300002: read 00FFFF, wanted 00FFF3, mask 000F0F ==> diff=00000CVerify Error: 300006: read 00FFFF, wanted 00FFFB, mask 000085 ==> diff=000004ERROR: Programming FAILED ! I've read others treads about 000000h error but i really didn't find anything useful or maybe i didn't understand, i need help on testing the mclr voltage, i don't know how to do it. I mean that i don't know where to put the Ground probe of the Voltmeter.Also what other stuff i must check?On the Willem Eprom PCB5.0 Ver. 0.98D8 there are two weird settings: tWP (uS value) and tWC (mS value). Don't know what they mean. Thanks to all,I hope you could help me. Quote
Janis1279 Posted September 15, 2009 Report Posted September 15, 2009 HiRead in some forums: - better to use a 12V AC adapter instead of USB, or powered from other's computer's USB port, - tWC= 8-10, tWP=30 There are many fuses for Pic Mcu's tooBe patientRegards, Janis Quote
GordTheRogue Posted September 16, 2009 Author Report Posted September 16, 2009 Thanks, i tried with the external psu (both AC and DC at 12v) but it didn't work.Also tWP=30 cannot be assigned to the Original Willem Eprom PCB5.0 Ver. 0.98D8 software, maximum is 13.0mS.If someone could help me on testing the voltage while the Pic is programmed... I dunno where to put the Voltmeter probes. Quote
Janis1279 Posted September 16, 2009 Report Posted September 16, 2009 You can read about programming voltage testing for Pic Burner in Uccaps too."+" probe to Pin 1 , MCLR"-" probe to Pin12 or Pin31, GND , both pins are connected.Regards, Janis Quote
GordTheRogue Posted September 27, 2009 Author Report Posted September 27, 2009 For everybody that come to this post, an update:I've tried the Willem PCB5.0 with the ICSP connection to the 18F452 with a breadboard and some resistors like described here http://www.tinet.cat/~sag/pic452.htm. It seems that the Willem application can listen to the PIC without the identification, i've tried to burn a PIC without goal.Thereafter i decided to etch the PicBurner module and i used that to burn some PICs without problems, so my suggestion is to use the PicBurner.Regards.Gord The Rogue Quote
mikee Posted October 12, 2009 Report Posted October 12, 2009 For everybody that come to this post, an update: i've tried to burn a PIC without goal.Thereafter i decided to etch the PicBurner module and i used that to burn some PICs without problems, so my suggestion is to use the PicBurner.Gord The RogueYes indoodlydeedly.Often the simpler solutions work better.good burning Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.