Thank you for your suggestions.
I will disable the comparators.

Augusto, OA4CVT
VHF EME 1x15 Yagi, 130 Watts, SP2000

-----Mensaje original-----
De: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] En nombre
de Olin Lathrop
Enviado el: Jueves, 01 de Septiembre de 2005 05:01 p.m.
Para: Microcontroller discussion list - Public.
Asunto: Re: [PIC] Pic16f84a vs pic16f628

Augusto Yipmantin wrote:
> At time I have no way to solve a little problem using a pic16f628.
> The original program was working well in a pic16f84a, but when I
change
> the headers and compile it for a pic16f628 never works.

Did you check the __CONFIG directive and adjust it to the new processor?
Did you disable the comparator so that the comparator inputs aren't
analog?
Is your code properly written to pay attention to banks?  Did you
remember
to switch linker files?

If proper design was used in the first place, switching from a 16F84 to
16F628 should be very easy.  If it wasn't, then it could be hassle,
especially if banking was never properly addressed in the first place.
If
you're in the second case (and just about all 16F84 project are) then
now is
a good time to embrace proper programming so that moving this code to
the
next PIC won't be such a hassle.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com
-- 
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist


-- 
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist