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 support@ccsinfo.com

How to decode device ID returned from ICD-S

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
pirev



Joined: 19 Mar 2005
Posts: 13
Location: Bulgaria

View user's profile Send private message Visit poster's website ICQ Number

How to decode device ID returned from ICD-S
PostPosted: Wed Oct 19, 2005 4:59 am     Reply with quote

I have PIC18F2520 and ICD unit. I'd like to see what is silicon revision of PIC18F2520 from ICD Control Program V2.25/Advanced/Device ID. ICD returns: "PIC18 Device ID: 1101". I see from MicroChip document DS80229B.PDF ( PIC18F2420/2520/4420/4520 Data Sheet Errata ) that PIC18F2520 bits DEV2..DEV0 must be 000, bits REV4..REV0 contains device revision and bits DEV10..DEV3 must be 0001 0001.
I thing, that 11 is DEV10..DEV3 bits, and 01 is DEV2..DEV0 + REV4..REV0 bits, am I right ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 20, 2005 12:06 pm     Reply with quote

Here is a way to read the Device I.D. and revision with code:
http://www.ccsinfo.com/forum/viewtopic.php?t=20257&highlight=silicon+revision
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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