Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)


Today 01:28
Forum: Proton Plus Compiler v3
Starter: BenBarber
Views: 4587
Replies: 43
Go to last post By: david
Yesterday 23:42
Forum: Proton 24
Starter: hadv215
Views: 0
Replies: 8
Go to last post By: shantanu@india
Yesterday 14:45
Forum: The Lounge
Starter: Tim
Views: 0
Replies: 17
Yesterday 14:03
Forum: USB
Starter: towlerg
Views: 0
Replies: 5
Yesterday 11:10
Forum: Proton Studio
Starter: johngb
Views: 0
Replies: 3
Yesterday 07:48
Forum: Proton 24
Starter: craig
Views: 0
Replies: 2
Yesterday 07:10
Forum: The Lounge
Starter: shantanu@india
Views: 0
Replies: 25
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Junior Member wirecut's Avatar
    Join Date
    Nov 2018
    Posts
    5
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    0

    0 Not allowed!

    Default Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    Some years ago, I begin to use the buffered serial input, originally written by Les.

    On that version, Tim add one function to recognize if characters is caming during execution of subroutine in the main program.

    This version has worked for me very well for years.

    After some time of inactivity (maintime someone cancel me from the forum) I restart to use the PIC (18F4550) and I download the latest version of the PDS.

    When I compile ithe attached include, this error arise:

    Error[113] ... Symbol not previously defined (__HRSIN1__)

    I try to search the cause, without success.

    Please point me in the right direction to solve this issue.

    Leo
    Attached Files Attached Files

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster See_Mos's Avatar
    Join Date
    Feb 2004
    Posts
    1,234
    Thumbs Up
    Received: 31
    Given: 0
    Total Downloaded
    692.01 MB

    0 Not allowed!

    Default Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    The INC file does not use HRSIn1 but there is a label HRSin2

    What was the PIC that the earlier code worked with?
    My RAM is failing

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Junior Member wirecut's Avatar
    Join Date
    Nov 2018
    Posts
    5
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    0

    0 Not allowed!

    Default Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    The PIC is the 18F4550.

    If in the include file is renamed the label from HRSIn2 in HRSIn1 appear the error of duplicate Label and Variable

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Fanatical Contributor Les's Avatar
    Join Date
    Feb 2002
    Posts
    3,163
    Thumbs Up
    Received: 361
    Given: 130
    Total Downloaded
    1.53 GB

    0 Not allowed!

    Default Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    It's down to the name changes in the compiler's library asm routines. I changed them so they would be more understandable in teh asm listing, and so they could be used directly in a BASIC code to replace the compiler's routines.

    I'll knock up a change of code for the buffered Hrsin as soon as time permits.
    For more example programs for Proton and Proton24 or updates, please visit: Proton WIKI or Proton Files

  8. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Junior Member wirecut's Avatar
    Join Date
    Nov 2018
    Posts
    5
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    0

    0 Not allowed!

    Default Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    Thank you Les for your great work!

  10. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #6
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,633
    Thumbs Up
    Received: 119
    Given: 31
    Total Downloaded
    3.15 GB

    0 Not allowed!

    Default Re: Les & Tim modified version of serial buffer. Error ...(__HRSIN1__)

    Les,
    You'll probably pick it up but I think Gamboa spotted an omission in the error handling. This is separate from Leo's issue.
    John

    _UART_ERROR:
    movf RCREG ' Clear Framing error by reading RCREG
    Clear RCSTA.4 ' Clear receiver status
    Set RCSTA.4
    Else ' Otherwise...
    ' <<< Other Interrupt Conditions and Code here >>>
    EndIf
    Retfie Fast

  12. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Error[113] ... Symbol not previously defined (__HRSIN1__)
    By wirecut in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 10th March 2019, 12:16
  2. Replies: 0
    Last Post: 30th June 2016, 16:51
  3. Replies: 31
    Last Post: 14th December 2011, 11:21
  4. Les serial buffer transparent - Discussing the methods of parsing
    By wirecut in forum Proton Plus Compiler v3
    Replies: 5
    Last Post: 14th December 2009, 10:58
  5. [SOLVED !] query regarding Les' Interrupt-driven serial buffer
    By richardy in forum Proton Plus Compiler v3
    Replies: 8
    Last Post: 1st April 2009, 18:17

Members who have read this thread since 17th March 2019, 03:18 : 36

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts