View previous topic :: View next topic |
Author |
Message |
Bilal
Joined: 24 Apr 2010 Posts: 75 Location: Islamabad
|
PIC Controllers |
Posted: Fri Mar 18, 2011 4:24 am |
|
|
Hi. I have a ICD2 Clone. It has PIC18F4550 (for usb interface) and PIC16F877A and I use it with MPLAB. More often when I connect my ICD2 it shows "unknown device" and it don't work. When I reprogram both controllers it will work fine again. It seems that both controllers program memory get corrupted.
Means PIC controllers are unreliable?
Or some other problem did this. _________________ ... |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Fri Mar 18, 2011 5:38 am |
|
|
PICs are very tough and reliable. The 'unknown device' error I suspect is from the software used to program the actual PIC. All programmers cannot 'read' a PIC to see what type it is(not possible), so you have to tell it. Since you have a 'clone' and not a real ICD, the manufacturer probably didn't make an exact copy of the MC product.There could be a weakness in the power supply, board layout, marginal copper,etc.
Also what software are you using to program the PIC with? Again if not the 'real' product, there may be a flaw or bug in it. |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Fri Mar 18, 2011 12:45 pm |
|
|
temtronic wrote: | PICs are very tough and reliable. The 'unknown device' error I suspect is from the software used to program the actual PIC. All programmers cannot 'read' a PIC to see what type it is(not possible), so you have to tell it. Since you have a 'clone' and not a real ICD, the manufacturer probably didn't make an exact copy of the MC product.There could be a weakness in the power supply, board layout, marginal copper,etc.
Also what software are you using to program the PIC with? Again if not the 'real' product, there may be a flaw or bug in it. |
Sort of.
Newer PIC's do have a deviceID -- but not all PIC's have them. So while an official ICD3 might be able to plug in and say "this is an 18F46j11" -- third party programmers may not be so smart.
So always make sure you have the devices set correctly unless you are absolutely sure your hardware can handle otherwise.
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
Bilal
Joined: 24 Apr 2010 Posts: 75 Location: Islamabad
|
|
Posted: Sun Mar 20, 2011 5:41 am |
|
|
I am using Genius540 to program both my PICs. _________________ ... |
|
|
|