>This may not be possible in your application but you may be able >to cross-wire a 40-pin socket over to an 18-pin header and have >a 16F877 'pretend' to be your '628. At that point, you can use >ICD rather than a true emulator. Microchip do have an App Note about using an F877 as a development platform for other processors. Check out TB0033 (document no. 91033a.pdf) which is specifically about using it for 16Cxxx chips, but should be applicable to your situation. >Conditional assembly (ifdef/else/endif) constructs will allow you >to automagically switch between ICD and 'normal' software generation. >Two separate projects (with 'ICD' defined in one and not defined >in the other) make the switchover easy to manage. If you use Olin's macro development environment ( http://www.embedinc.com/pic/ ), by just changing the processor type all this will be taken care of for you. However do be aware that when specifying the config variables, names for the same function are not necessarily consistent across different chips, so you may need to have a conditional statement for these. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu