Pic - K150 ICSP Programmer (HCDVBD0002)

Microchip PIC development boards and accessories
Post Reply
Gokussj5okazu
Posts: 5
Joined: Tue Sep 24, 2013 6:38 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by Gokussj5okazu » Wed Sep 25, 2013 9:59 pm

Ok here's something else I just noticed.

I can change and program any value to the EEPROM, but it moves it. For instance, if I change 0000 from 9E back to FF, and then program it, it will give an error during verification that it does not match. If I read it back, 0000 will still read 9E BUT 0001 will read FF. It keeps shifting the EEPROM values down one and adding a 9E at the beginning. Also, I still can't make any changes to the ROM.

I also tried connecting my 18F4550 using both legacy and the dedicated ICSP ports. Both resulted in the same issue.

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by andrew » Thu Sep 26, 2013 11:23 am

Ok to look at this logically, you can program a 12F629 with no problems which debugs a lot of the software and hardware. You have proven that you can program a blank device and so the problem is specific to erasing your 18F4550 (if we ignore the eeprom issue for the moment). One thing to check is did you program the 12F629 via the ICSP or the zif socket?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Gokussj5okazu
Posts: 5
Joined: Tue Sep 24, 2013 6:38 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by Gokussj5okazu » Thu Sep 26, 2013 11:58 pm

I agree the core issue appears to be the inability to erase the 18F4550. Also, I can erase a 12F629 just fine.

And I connect to my 12F's the same as the 18F's, all through ICSP as they're all SMD packages on breakout boards. Thanks a ton for trying to get this all figured out, I really appreciate it.

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by andrew » Sat Sep 28, 2013 10:32 am

First thing to check is that you are getting the correct programming voltage. If you can put a voltage meter between the MCLR/VPP and VSS, check that you are getting between 13 and 14 volts at that pin whilst you are programming it. If not check also at the voltage whilst programming at the ICSP header on the K150. There is screen print on the underside of the board that shows the pinout. Also do you have anything other than the programmer connected to the ICSPDAT and ICSPCLK pins? I believe on the 12F629 they are on pins GP0 & 1.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Gokussj5okazu
Posts: 5
Joined: Tue Sep 24, 2013 6:38 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by Gokussj5okazu » Sat Sep 28, 2013 9:21 pm

Ok, I checked it out and I'm getting right around 13.5V on VPP during programming. Both from the ICSP header and the ZIF socket. On the breakout boards for both chips I only have a smoothing capacitor, and a resistor/LED for testing blinky code. Nothing connected to DAT or CLK.

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by andrew » Mon Sep 30, 2013 10:10 am

I was kind of hoping that you had something on the CLK and DAT pins as this can cause clock skew and would explain the odd behavior you are seeing. The programming voltage looks fine so this is leaving very little else to go wrong. If there is some way you can post a connection diagram of your setup i could see if there is anything that could be causing a problem. Failing this, the only other thing I could suggest is to try changing the program timing in the chipdata.cid file. Just search for your device in the file and try increasing the ProgramDelay parameter directly below it.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

zip

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by zip » Fri Oct 11, 2013 10:36 pm

Hi,

i bought on e-bay my first pic programmer, the k150, and i try to connect to the PC and on the device manager i've got always the same error "the device cannot be started (code 10)". i try all profilic drivers that you publish on this post and i also downloaded other drivers and i can't connect. i use win8 64bit.

someone can help me?

thanks!

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by andrew » Sat Oct 12, 2013 8:58 am

I don't believe at the moment that it is compatible with windows 8 64 bit due to driver issues. You could try the latest version of the drivers from the prolific website (http://www.prolific.com.tw/US/ShowProdu ... 25&pcid=41) on the chance that it has been fixed. Failing that the only thing we can suggest is, if you have an older copy of windows, to set up a virtual box with windows 7 on it (https://www.virtualbox.org/).
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

zip

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by zip » Sat Oct 12, 2013 11:33 am

I tried all that drivers and no one work. I'll have chance to try on win7 this afternoon, also 64bit and even in a win8 32bit machine. i'll post the result.

my only concern about the error is like they say in the link you sent, "Counterfeit IC products show exactly the same outside chip markings but generally are of poor quality and causes Windows driver compatibility issues (Yellow Mark Error Code 10 in Device Manager)". i hope this is just a SO incompability!

zip

Re: Pic - K150 ICSP Programmer (HCDVBD0002)

Post by zip » Sat Oct 12, 2013 11:31 pm

its working! try on win7 32bit and work fine! hope they lauch the driver to win8 64 quickly so i can program at home!

another doubt, its possible to program from MPLAB direcly or i need to use another program to copy the .hex?

thanks for the help!

Post Reply

Return to “Microchip”