Debug speed question


Closed Thread
Results 1 to 3 of 3
  1. #1

    Default Debug speed question

    Okay, I think this is a simple question. Can someone help fill in the blanks.....

    How long does it take to print 58 characters using debug at 9600 baud with a 12F1822 running at 8 mhz? The receiving device is Hyperterminal.

    I think the calculation goes something like this:

    10 bits per character (1 start,8 data,1 stop}
    58*10/9600 = .060 seconds

    Debug processing time = ?

    Hyperterminal processing time = ?

    Thanks

  2. #2
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default Re: Debug speed question

    I would like this;

    Start a timer
    Debug command
    Stop the timer
    Read the Timer registers and do the Math.

    On the hyperterminal side, don't know, but if you do a VB program to receive the data you can control that too.
    Thanks and Regards;
    Gadelhas

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: Debug speed question

    Hyperterminal can handle the chars as fast as they come - at least up to 115K baud.
    Debug is really a lot better than I thought. Unfortunately, I don't have a 12F running at 8Mhz. All I have is an 18F8723 running at 40Mhz.Name:  DEBUG.jpg
Views: 543
Size:  563.9 KB

    I sent out $FF in a loop. Note that there is virtually no extra space between ANY of the bits. So DEBUG is very fast. But remember that DEBUG is a blocking command. If all you have to do is pull bytes out of an array and send them, you will see the same results I do, but if you have to calculate or use some logic between sending bytes, that will add a bit of time.
    Charles Linquist

Members who have read this thread : 1

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