kud0s said:
hi
i am going through the tutorials on nigel site but im abit lost on the fues values to use, im using a 16F628A chip as i couldt get any 16F628
i set it to __config 0x3F1C which i worked out from the datasheet, but pins 3 & 4 are not giving an output (staying low) where all other pins are going high and low fine (port B works fine all ro und)
pin 3 is RA4/TOCKI/CMP2
ping 4 is RA5/MACLR/Vpp
i tryed 0x211C as fuse but it gives me an ID fuse error
RA4 is an open collector output, so it can't go HIGH - if you need it to you have to add an external pull-up resistor.
RA5 is the reset (MCLR) pin, you have to select it to be I/O in the fuse settings.
I make 0x2118 the correct value for the 628A.
I presume you're not using WinPicProg as your programming software?, so try selecting MCLR as an I/O pin in whatever programmer you use?.