Error Compiling with PbP 3


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,522


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    You didn't follow my advice from the other thread....
    When you use the #CONFIG/#ENDCONFIG block you can't also have the @ in there and you can only set the CONFIG bits with it, you can't include the error lever stuff within the block. So, the original
    Code:
    @ ERRORLEVEL -306   ; Retira o erro de crossing page boundary
    @ __CONFIG  _CP_OFF  & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
    Becomes
    Code:
    @ ERRORLEVEL -306   ; Retira o erro de crossing page boundary
    #CONFIG
      __CONFIG  _CP_OFF  & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC 
    #ENDCONFIG
    /Henrik.

  2. #2
    Join Date
    Nov 2003
    Location
    Sao Paulo - Brazil
    Posts
    92


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    Thank you Henrik and TabSoft !

    I will test it today !

    My best regards.

    Sérgio Pinheiro

  3. #3
    Join Date
    Nov 2003
    Location
    Sao Paulo - Brazil
    Posts
    92


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    Hy Guys !

    thank you for the tips. It worked !

    My best regards.

    Sérgio

  4. #4
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    Hi !
    For me the solution don't work ? Any others sugestions ? Thanks !
    Name:  error.jpg
Views: 1945
Size:  179.6 KB

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,522


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    It doesn't work for you because you have not applied the solution. Read the thread again.

    /Henrik.

  6. #6
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    Thanks for fast reply !
    But ... I don't understand what I do wrong ...
    I wrote :
    @ ERRORLEVEL -306
    #CONFIG
    __CONFIG _XT_OSC & _WDT_OFF & _PWRTE_ON & _MCLRE_ON & _BODEN_ON & _LVP_OFF & _CP_ON
    #ENDCONFIG
    Exactly like in post #3.
    Name:  error2.jpg
Views: 1849
Size:  185.7 KB
    Last edited by fratello; - 1st June 2017 at 12:16.

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,522


    Did you find this post helpful? Yes | No

    Default Re: Error Compiling with PbP 3

    But that's not the same code - or error - as in your previous post now, is it?
    Now you've fixed the "Overwrting previous address" error and you're facing a completely different issue.

    First try commenting out the Include statement to see if the problem is within that piece of code.
    Then please post the code, within code tags, so we don't have to retype it and make our own errors.

    /Henrik.

Similar Threads

  1. Error while compiling
    By BobK in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th April 2013, 17:01
  2. Replies: 2
    Last Post: - 19th June 2012, 21:24
  3. Replies: 1
    Last Post: - 30th March 2012, 04:13
  4. Compiling Error with 18F452
    By michel in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st July 2008, 05:10
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

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