ASM Error with USART PIC 16F15325


Today 02:21
Forum: The Lounge
Starter: towlerg
Views: 0
Replies: 1
Today 02:18
Forum: GSM / SMS
Starter: david
Views: 0
Replies: 3
Today 01:14
Forum: The Lounge
Starter: Tim
Views: 0
Replies: 15
Yesterday 22:21
Forum: The Lounge
Starter: John Drew
Views: 0
Replies: 2
Yesterday 22:15
Forum: The Lounge
Starter: towlerg
Views: 0
Replies: 9
Yesterday 11:40
Forum: Proton 24
Starter: SCV
Views: 0
Replies: 10
Yesterday 05:59
Forum: GPS
Starter: david
Views: 0
Replies: 0
Yesterday 05:37
Forum: Test Postings
Starter: david
Views: 0
Replies: 0
+ Reply to Thread
Results 1 to 8 of 8

Thread: ASM Error with USART PIC 16F15325336 days old

  1. #1
    Junior Member Robertux's Avatar
    Join Date
    Nov 2011
    Posts
    25
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    1.21 GB

    0 Not allowed!

    Default ASM Error with USART PIC 16F15325

    Hello,
    if i try Hserout or Hserout1 I have a ASM error : Symbol not previously defined (PP_TXIF)
    With Hserin or Hserin1 the ASM error is : Symbol not previusly defined (PP_RCIF)
    With Hserout2 or HSerin2not have errors

    Best regards
    Roberto

  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 towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,891
    Thumbs Up
    Received: 174
    Given: 162
    Total Downloaded
    3.24 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    Show your code, in a recent post a similar error was reported and it was tracked down to a missing next.
    George.

  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 Robertux's Avatar
    Join Date
    Nov 2011
    Posts
    25
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    1.21 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    This is my code:

    Device = 16F15325
    Declare Xtal 32

    DelayMS 300

    Config1 FEXTOSC_OFF, RSTOSC_HFINTPLL, CLKOUTEN_OFF, CSWEN_ON, FCMEN_ON
    Config2 MCLRE_ON, PWRTE_OFF, LPBOREN_OFF, BOREN_ON, BORV_LO, ZCD_OFF, PPS1WAY_ON, STVREN_ON
    Config3 WDTCPS_WDTCPS_31, WDTE_OFF, WDTCWS_WDTCWS_7, WDTCCS_SC
    Config4 BBSIZE_BB512, BBEN_OFF, SAFEN_OFF, WRTAPP_OFF, WRTB_OFF, WRTC_OFF, WRTSAF_OFF, LVP_ON
    Config5 CP_OFF

    Symbol Led = PORTC.3
    Symbol Rx1 = PORTC.5
    Symbol Tx1 = PORTC.4

    LATA = 0x00
    LATC = 0x00

    TRISA = 0b11111111
    TRISC = 0b01100000

    ANSELC = 0x00
    ANSELA = 0x00

    WPUA = 0x00
    WPUC = 0x00

    ODCONA = 0x00
    ODCONC = 0x00

    Declare Hserial1_Baud 9600
    Declare Hserial_Clear = On ' Enable Error clearing on received characters


    Main:
    DelayMS 500
    Toggle Led
    HSerOut ["Hello word" , 10 ]
    GoTo Main

  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
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,891
    Thumbs Up
    Received: 174
    Given: 162
    Total Downloaded
    3.24 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    Ok so its not that but as a workaround you could create a symbol PP_TXIF = x (where x = what ever should be tested in PIR1 - btfss PIR1,PP_TXIF).

    As you said, HserOut2 compiles ok, creating PP_TX2IF=6. I have to admit I have absolutly no idea what this code is doing and why it does a bit test on PIR1. I suspect there may be issues with the PPI/DEF files.

    If you want to press on you can write your own code to access the EUSART hardware.
    George.

  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 Robertux's Avatar
    Join Date
    Nov 2011
    Posts
    25
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    1.21 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    Ok , I also think that the problem is the PPI/DEF
    I have written my code to access to the EUSART and is working fine.
    Best regards
    Roberto

  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
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,891
    Thumbs Up
    Received: 174
    Given: 162
    Total Downloaded
    3.24 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    If you have not already raised a anomaly report you should do so, Les loves finding anomalies LOL.
    George.

  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.

  13. #7
    Junior Member Robertux's Avatar
    Join Date
    Nov 2011
    Posts
    25
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    1.21 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    Sorry , Where I can send a anomaly report?
    Best regards
    Roberto

  14. 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.

  15. #8
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,387
    Thumbs Up
    Received: 88
    Given: 23
    Total Downloaded
    4.04 GB

    0 Not allowed!

    Default Re: ASM Error with USART PIC 16F15325

    Quote Originally Posted by Robertux View Post
    Sorry , Where I can send a anomaly report?
    Best regards
    Roberto
    Click here.
    Regards

    Joseph

  16. 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. ASM ERROR : Linker Error
    By SimonJA in forum Proton 24
    Replies: 15
    Last Post: 25th February 2018, 12:29
  2. Hundreds of ASM error of the same errors. Error [126]
    By wirecut in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 28th January 2012, 09:10
  3. Asm error:error[118]
    By Citius in forum Proton Plus Compiler v3
    Replies: 23
    Last Post: 24th April 2011, 09:34

Members who have read this thread since 19th January 2019, 03:41 : 0

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