> Matthew Twomey wrote: > > > Is there a way to determine the silicon revision on an 18F252 w/o reading > the config address (3ffffe)? > > > Hi Matthew, > > Take a look at the newer PIC18F errata documents. Microchip is associating > silicon revision #s with data codes, but I feel it would be far better if > one just reads the silicon revision from the chip (DEVICE ID REGISTER 1) -- > then you know exactly what you have. You could easily send the silicon > revision out the serial port for analysis if you want (mask the lower 5 bits > and format it within the PIC and then send out the serial number in ASCII, > for example). Very simple, very easy. > > Hope this helps. > > Best regards, > > Ken Pergola Thanks Ken, The 18F252 errata sheets don't contain this information (I know the errata sheets for some PICs do). I agree the the most reliable way is to read it from the chip and this is indeed the way I do it. But in order to do that, I have to program the pic, read it, then reprogram it with my app. I dislike the idea of leaving the code to read the silicon rev in my final application. This is a minor complaint and not a big problem. I was just wondering if the revision information was out there somewhere w/o reading the chip. I wish Microchip would maintain a datecode-to-rev document for each device on their website. -Matt -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics