DIY Electronics Message Board
Register  |   |   |  Latest Topics
 
 
 


Reply
  Author   Comment  
DaveD

Registered:
Posts: 2
Reply with quote  #1 

Hi,
I need help getting a K128 to program.  I get the following message:
The programmer does not recognise the [18F452] processor
Continue anyway?

I am using:
DIY K128 Programmer, V22
V080604
DIYPACK21
Protocol: P014
MicroPro: P014  Firmware: P014  System is matched.
MicroPro status: K128 board connected; COM 4

The steps I am following before getting the error are as follows:
Choose Chip: P18F452
Load hex file, OK
Insert P18F452 with pin 1 toward USB port.
Select "Program"

At this point the error message shows up.
The programmer does not recognise the [18F452] processor
Continue anyway?
Selecting No stops programming.
Selecting Yes continues.

Microchip does an erase check for a few seconds.
A message window shows up:
             ROM = Erased
             EEPROM = Erased
             ID = Erased
             Fuse = Not Erased

   Continue to erase and program this chip?

No ends programming
Yes results in message window:
             ROM error at 0x0000
              Good 0x010F
              Bad  0xFFFF

A repeat of the above sequence on a K128 V21 results in a successfully
programmed PIC18F452.  The message is slightly different.

             ROM = Not Erased
             EEPROM = Erased
             ID = Erased
             Fuse = Erased

    Continue to erase and program this chip?

My question is, do the above indicators point to a software problem,
or is the K128 circuit board not seeing the chip in the ZIF?  Are
there any pins I can check voltage on to see what is going on with
the board?  What other steps should I try?

Any help is much appreciated.
Dave

Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #2 
If it work on a K128v21 programmer but not a v22 then I would say the v22 programmer has a hardware fault. The most likely cause is the Vpp switching transistor TR1 is damaged and needs to be replaced. You can use a normal 'lead type' transistor - just be sure to get the pins connected to the right places.

The other thing I would do is upgrade to DIYpack25. It won't fix the programmer problem but at least you will be running the latest Micropro/firmware release.

DaveD

Registered:
Posts: 2
Reply with quote  #3 

Thanks for the reply Frank,

   I guess I am brave enough to change the transistor.  Do you happen to know if is an NPN BJT type?  And do you know the arrangement of the emitter, base, collector on the board?  I would assume the base is in the middle.  Is the collector toward the edge of the board or away from the edge, as you are looking at the transistor from the top? 

   I'll try the DIYPACK25 when I get the board working.

Thanks for the help.

Dave

Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #4 
I'll look it up and let you know.

You will need a PNP type transistor as a replacement.

If you are not comfortable doing it yourself you can send it to me. Please email direct for more details.

newfound

Registered:
Posts: 497
Reply with quote  #5 
I agree with Frank. I beleive that TR1 is blown and it is not the proven software. TR1 is a bipolar junction PNP,  nothing special and any general PNP type can be used to replace it.

You can prove this theory by measuring the voltage on pin-1 of the Zif. It should read 9-12 Volts during a read.

If it does then let us know! you could have a problem with the firmware chip being damaged and not suppling Vdd to the 18F252.

Daun

Registered:
Posts: 4
Reply with quote  #6 
I have "resurrected" my programmer, and am having the same problem. I just checked the transistor, and it is good.  I suspect the firmware chip is corrupted/damaged, but have no way to verify (no other programmer).  Any suggestions?

Daun
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #7 
Does Micropro recognize the programmer when you run it?

To check the firmware chip you need to replace it with another. Do you have access to another programmer to program a replacement chip (16F628)? Or a friend with a programmer?

Other than that I can't think of anything else to try.
Daun

Registered:
Posts: 4
Reply with quote  #8 
Yes, it DOES recognize it, and identifies is as a K128 OK.  It's when I try to actually DO anything that is a problem.  I don't currently have access to another programmer or programmed chip.  I AM looking for someone, but nothing so far.  I also checked the PNP transistor on the board, but it tests fine. I didn't want to go out and buy another programmer either. I would like to source another chip.

Daun
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #9 
I can supply another chip but I am located in Melbourne Australia so if you want it in a hurry the shipping cost will be a lot more than the chip.

If you want to proceed please email me direct.

Frank
Daun

Registered:
Posts: 4
Reply with quote  #10 
That doesn't seem like a good idea.   I've posted a message to a local geek list for someone that has a programmer, and I just got a couple of replies.  Looks like I just need to source a chip and the file to burn from and I should get back in business.
Thanks

Daun

Registered:
Posts: 4
Reply with quote  #11 
Problem solved. Had a friend burn a chip with the new image and it's working fine now.
Frank

Moderator
Registered:
Posts: 1,899
Reply with quote  #12 
Good news! Glad to hear you got it sorted.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Thank you for visiting.