Jump to content

Help on programming bootloader to PIC18f452 with Willem PCB5.0


GordTheRogue
 Share

Recommended Posts

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 Pics

Software:

  • Original Willem Eprom PCB5.0 Ver. 0.98D8
  • IC-PROG 1.06b either with and without the icprog.sys driver
  • WinPIC compiled in August 2008
  • WinPic800 ver 3.64

With 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: 0x0000

Willem Eprom PCB5.0 Ver. 0.98D8 says: ERROR Program memory at 0x000000

Below you can read the WinPic log

Info: Loading definitions for "PIC18F452" from C:\Programmi\WinPic\devices.ini .

Info: PIC18F452, added and tested by Nam Nguyen-Quang, 2005-06-21

Parsed "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 ... ok

Programming...

Erasing ("bulk" or "chip") ...

EraseAll: missing bulk erase algorithm !

Erasing FAILED !

Programming CODE, 0x000000..0x00040A

Verifying CODE, 0x000000..0x00040A

Verifying 0x000000..0x00040A

Verify Error: 000000: read 00FFFF, wanted 00EF06, mask 00FFFF  ==> diff=0010F9

Verify Error: 000002: read 00FFFF, wanted 00F000, mask 00FFFF  ==> diff=000FFF

Verify Error: 000004: read 00FFFF, wanted 00EF06, mask 00FFFF  ==> diff=0010F9

Verify Error: 000006: read 00FFFF, wanted 00F000, mask 00FFFF  ==> diff=000FFF

More Verify Errors, unable to list all (total=506)

Programming CONFIG, 0x300000..0x30000C

Verifying CONFIG, 0x300000..0x30000C

Verifying 0x300000..0x30000C

Verify Error: 300000: read 00FFFF, wanted 00FEFF, mask 002700  ==> diff=000100

Verify Error: 300002: read 00FFFF, wanted 00FFF3, mask 000F0F  ==> diff=00000C

Verify Error: 300006: read 00FFFF, wanted 00FFFB, mask 000085  ==> diff=000004

ERROR: 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.

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

  • 2 weeks later...

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 Rogue

Yes indoodlydeedly.

Often the simpler solutions work better.

good burning

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...