Ascii debug issues?


Results 1 to 12 of 12

Threaded View

  1. #8
    achilles03's Avatar
    achilles03 Guest


    Did you find this post helpful? Yes | No

    Default

    I'm still having a rough time getting mine to communicate correctly. I've even tried 2 different PICs (12F629 and a 16F628). Below is the code I'm using for the 629:

    ______________________________________
    cmcon=7

    define osc 4

    loop:
    serout GPIO.0,3,[84,97,99,111,10,13]
    pause 50
    low portb.1
    pause 50
    high portb.1
    Goto loop
    ______________________________________

    However, here is the output I get:
    http://www.geocities.com/achilles03/debug.jpg

    I'm running it off the internal osc. Is it possible the frequency of the internal osc varies enough to result in an unintelligible output?

    I've also tried different baud rates and serout2, but with similar results (for both PICS). Can anyone see anything obvious, like some sort of conversion or program omission, that I'm doing wrong? I'd appreciate any advice.

    Dave
    Attached Images Attached Images  

Similar Threads

  1. N-Bit_MATH
    By Darrel Taylor in forum Code Examples
    Replies: 38
    Last Post: - 16th December 2010, 14:48
  2. About USB
    By dias11 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2009, 20:41
  3. Understanding timer issues
    By boroko in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th April 2009, 02:56
  4. debug not working with MPASM assempler
    By santamaria in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th March 2009, 07:51
  5. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46

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