CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC Controllers

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Bilal



Joined: 24 Apr 2010
Posts: 75
Location: Islamabad

View user's profile Send private message Send e-mail

PIC Controllers
PostPosted: Fri Mar 18, 2011 4:24 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Mar 18, 2011 5:38 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Mar 18, 2011 12:45 pm     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Sun Mar 20, 2011 5:41 am     Reply with quote

I am using Genius540 to program both my PICs.
_________________
...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group