Can't get a 12F629 to blink a led


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Post

    Hi Bruce,

    Right now I use the K8048 from Velleman. I like the programmer but I really don't like the software called ProgPic2.

    The code that works is a HEX file that I have downloaded from the web,
    just to check if the programmer and the PIC was working,
    so I don't know if it uses include DEFINE OSCCAL_1K.

    After I have tried to program my own code (the code shown in my previous post) It seems that the PIC dies totally. It's not possible to read it or erase it, the software just tell me that there is no device placed in the programmer.

    I will try to upgrade one of my home made JDM pic-programmers so it will have an 8-pin socket and then try to program the PIC with IC-Prog software.

    But I still just don't understand that the downloaded HEX file work perfectly, I can program it into the 12F629, erase the PIC and then program it again. It is first when I use my own program that the 12F629 dies.

    Thank U very much for your help

    Regards
    Gert
    Last edited by Sharky; - 26th June 2005 at 22:37.
    *Let's do it*

  2. #2
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Thumbs up It's working now

    Now I solved the problems.

    The first thing was my JDM programming device, when I use:
    @ DEVICE pic12F629, INTRC_OSC_NOCLKOUT
    @ DEVICE pic12F629, MCLR_OFF
    It is not possible to program the PIC again with my JDM or Velleman programmer.

    I solved the problem by reading this: http://feng3.cool.ne.jp/en/vddctrl.html and by using a few components and a solderiron.

    And Bruce thanks for the OSCCAL learning, I have used your suggestions to get the pic up and running again.

    Thanks!

    Regards
    Gert
    *Let's do it*

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 20:19
  3. Novice 16F83A BLINK LED program help
    By owali in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 25th July 2007, 05:02
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. Using HPWM to blink an LED?
    By Christopher4187 in forum General
    Replies: 8
    Last Post: - 7th August 2006, 00:48

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