Hi Roman ! Maybe you could your code listing ... I have many succesfull migrations to/from 16F62x, none of them with serious problems. Best Regards, Fabio Pereira ----- Original Message ----- From: "Roman Black" To: Sent: Thursday, August 29, 2002 2:13 PM Subject: Re: [PIC]: i'm F628 embarassed! > I'm F628 embarrased! After all the recent threads > on converting F84 code to F628 I'm stuck and can't > make it work! > > I did the config fuses, covered all the ram issues > (only using a few bytes anyway), turned the > comparators off before I do much else, and have > been right through both datasheets and tried a > number of chips. > > The result i'm getting is that F84 works fine, but > the same code in the F628 doesn't work. > > The F628 outputs are being set to the normal values > at the start of the program, but the input pulses > into a porta pin don't seem to cause any action, > so i'm guessing either the porta input is not being > detected or for some reason the PIC is latched up or > software hung up. The pin voltages are correct, the > pulses are going into the porta pin and it is obviously > an input. > > All ints are off in INTCON, and i'm writing 0x07 > b'00000111' to the CMCON. I don't often ask for help > with PIC coding but after 2 hours of fiddling and > checking it has me beat for tonight anyway, so I > wondered if someone had seen something like this > before?? > -Roman > > PS. I am doing a couple of jump tables in page 0. > I just leave PCLATH cleared which is done in the > setup code. > > -- > 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