serin buffer overflow


Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Dec 2012
    Posts
    41

    Default serin buffer overflow

    hey, Ive been curious about something for a while, but Ive used hser for various projects due to this reason, but sending a long stream of chars to the PIC usually causes it to lock up. I use a 16f628a and if I use serin, it'll lock up after a second or two, but with hserin, I can add this to the top of my code and it prevents this situation from occurring:

    define HSER_CLROERR 1
    I was just curious if there was anything in serin/serin2 that is like this. Im still using pbp 2.6 I believe, havnt checked in ages but cant afford to upgrade to 3.x
    Last edited by Chirpy; - 25th February 2013 at 00:27.

Similar Threads

  1. Replies: 2
    Last Post: - 13th March 2011, 19:13
  2. How can I get Timer 1 to overflow every 5 seconds
    By revelator in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd March 2010, 08:45
  3. Fatal xxx.ASM 527: [308] macro buffer overflow
    By TerdRatchett in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th March 2009, 17:51
  4. Overflow bit?
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 14th October 2006, 01:03
  5. Math overflow?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th May 2005, 00:53

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