I've been working with both the 18F452 and 18F4620 in the past week or so, converting a project from a 452 to a 4620. Got it working. However, there are some differences in the two chips (the migration document describes them). I have used conditional compilation (based on the chip type) in library routines (such as writing to flash), and this works fine. However, it appears that there are processor "families" in the 18F series that have the same features (e.g. 64 byte flash write vs 8 byte).=20 Rather than having to test for each chip via conditional compilation, it might be nice to be able to determine in code if a chip has, for example, 8 byte or 64 byte flash write.=20 Or perhaps there is some way at compile time (given the various chip definition fines) of determining the "family" of chip. I can do this with the A/D converter, by seeing if ADCON2 is defined, for example). Any thoughts on this? Thanks --=20 Larry Bradley =20 Orleans (Ottawa) Canada=20 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .