PIC 16f628A refusing to work


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: PIC 16f628A refusing to work

    Try this

    Code:
    @ device  pic16f628a, hs_osc, wdt_off, mclr_off, protect_off ,pwrt_on, bod_on, lvp_off, cpd_off
    This is needed since MCLR is used as an input. You may also change HS_OSC to XT_OSC since HS is used for resonators and XT for a crystal.

  2. #2
    Join Date
    Dec 2009
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Re: PIC 16f628A refusing to work

    Hi, Thanks for quick reply ! I have tried the changes you suggest but still no signs of life. I should perhaps have mentioned that I am using a Pickit 2 to proram the 16f628a and have it directly connected to pins 12,13,14 and 4. Having prorammed it ( and there is a hex file in there if I read it) I remove the Pic Kit and connect and external supply as the coil would draw more current than the pic Kit would be happy with. Can't help thinking I am doing something seriously dumb here (not for the first time !

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts