Compiler/Downloader Question


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    South Eastern Ma
    Posts
    4

    Default Compiler/Downloader Question

    I am using PBPro 2.60 in MPLab V8.63 along with an ICD2 for programming and debugging. When I Compile my program and download it to the 16HV616 PIC the Output tells me that the Program compiled and downloaded properly. However I get a Pop up screen Open to the PBPPIC14.LIB with a green arrow pointing to Line 1150 which is a goto INIT. I have deleted and re-installed MPLab IDE and PBPro. Neither fixted this issue. Any help or suggestions would be appreciated. I have attached a screen shot for the POP up window, if that will be of any help.

    Don
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Compiler/Downloader Question

    Hi,
    I get the same thing, see my thread here. I've only played with a bit and Iäm not sure why or even if it's supposed to be like that but as far as I can see it does work. I'm able to set breakpoints and watch variables etc but the .LIB file keeps popping up from time to time.

    I'd really like to have PBP "fully" integrated in MPLAB, or if it IS I'd like to see a tutorial/guide on how to set it up properly. Perhaps it gets better with the new MPLAB X.

    /Henrik.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Compiler/Downloader Question

    The green arrow is not pointing at an error.
    It's pointing at the next line to be executed in the debugger.
    The first executable instruction is always GOTO INIT.

    It starts debugging at the ASM level in the PBPPIC14.lib file because the "Source-Level Debug" option is not checked in the Build Options for your project.

    Go to Project > Build Options > Project > PicBasic Pro ... and check the "Source-Level Debug" option.
    That will generate the -k# command line option.
    DT

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Compiler/Downloader Question

    Thanks Darrel, I'll try that.
    I know the green arrow isn't pointing at an error I just couldn't figure out why it was popping up the .lib file all the time - now I know.

    Any pointers on how to work with color syntaxing and code folding, can it be set up to work with PBP as the language tool?

    /Henrik.

  5. #5
    Join Date
    Jan 2008
    Location
    South Eastern Ma
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Compiler/Downloader Question

    Hi Darrel,

    Thank you for the help.

    Don

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Compiler/Downloader Question

    Quote Originally Posted by HenrikOlsson View Post
    Any pointers on how to work with color syntaxing and code folding, can it be set up to work with PBP as the language tool?
    Highliting in MPLAB only works on files with a .bas extension.

    You're welcome Don.
    DT

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


    Did you find this post helpful? Yes | No

    Default Re: Compiler/Downloader Question

    Darrel,
    Once again thank you! I got color syntaxing working by changing the file extension from .pbp to .bas - now on to code folding....

    However, I already had the Source-Level Dubug checkbox ticked and it keeps popping up the .lib file, see attached screenshots. Like I said in the other thread it's me who don't know how to use these tools but I'm trying to learn. I'll keep playing with it.

    /Henrik.
    Attached Images Attached Images   

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