Also beware that the file register starts at 20 rather than 0c, so you will need to move your variables, and the EEPROM registers are moved if your app uses them. Most of the time the switch is pretty simple. *BUT*, if your F84 program makes use of file register locations while you are switched to bank 1, then you need to do some serious noodling about managing your file register space. Unlike the 16F84, in the 628 most of the file register locations are different in the different banks. In the F84, if you store something in say, 0x30 from bank 0, then switch to bank 1, it will still be there. In the 628, it's a different memory cell. Only the last few are mirrored across all the banks, so if you do more than a TRISA while you are in bank1 you will need to consider how you spend those few locations. check out http://www.amqrp.org/elmer160/lessons and download appendix A. 72/73 de WB8RCR http://www.qsl.net/wb8rcr didileydadidah QRP-L #1446 Code Warriors #35 ----- Original Message ----- From: "John De Villiers" To: Sent: Wednesday, February 25, 2004 3:34 PM Subject: Re: [PIC:] From PIC16F84 to PIC16F628 and other PIC's > On Wed, 2004-02-25 at 16:25, Ruben Undheim wrote: > > If I want to switch from using the 16f84 to the 16f628, are there anything > > special I need to know? Can I use the same programmer? Currently I am using > > the JDM-programmer. > > Yea, check the startup states of the pins. Some of the pins default to > analogue mode ( as opposed to all digital on the 'f84 > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu