DEBUGIN not working on 12F629


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    fredpret's Avatar
    fredpret Guest

    Thumbs down DEBUGIN not working on 12F629

    It was very easy to make DEBUGIN work with a 16F628A but the same program does not work if applied for the 12F629.

    Is there any special bits etc that I should first take care of?

    Here of some of the code;

    DEFINE OSCCAL_1K 1

    if receive1 <> "s" and reccnt1 = 0 then
    'input GPIO.5 ? any use for this?
    debugin 20,jret,[receive1]
    'output GPIO.5 ?
    debug "Receive1", receive1,10,13
    endif

    JRet: return

    I wil appreciate any help.

    Thanks,
    Freddie
    Last edited by fredpret; - 22nd September 2007 at 06:37.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    This will work at least as long as you disable all analog stuff, as long as your crystal calibration is not lost.

    The WHOLE code would help. But first try to read the crystal calibration in your PIC. If my memory serves me well, it should be @ 3FF
    Last edited by mister_e; - 22nd September 2007 at 16:37.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Blink.Bas on 18f45k20 Newbie seeks working example.
    By DiscoEd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 03:36
  2. 12F629 beginning
    By Davidpower in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 1st October 2007, 22:37
  3. Serin / Serin2 / Debugin Differences
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th January 2006, 06:32
  4. Hserin not working...
    By robert0 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd August 2005, 12:25
  5. Servo control with 12F629
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd June 2005, 23:34

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