Cannot get pbp to compile


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    You can work with MPLAB 8.20 and latest 8.30 but it will have some serious limitations about the debugger MPSIM, not sure for PICKIT 2.

    For PIC18, you need to add the linker file. In your case 18F4550.lkr to your project.

    And then you go to, Project> Build Option > Project PicBasic Pro tab. There you select Use MPASM assembler and Use Linker /COFF debugging. Not much. BUT it will sucks, you can't monitor your variable, but only some PIC registers.

    Not a so easy task to create reliable COFF files.... even if the reference book for it is quite small

    Finally mpswitch seems to suffer a little bit with the latest release, so it's not a viable option yet (well last time I tried it)... If you only use PBP in MPLAB, there's no real advantage to use the latest 8.20 or 8.30 version.
    Last edited by mister_e; - 1st April 2009 at 04:42.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Question

    Quote Originally Posted by mister_e View Post

    Finally mpswitch seems to suffer a little bit with the latest release, so it's not a viable option yet (well last time I tried it)... If you only use PBP in MPLAB, there's no real advantage to use the latest 8.20 or 8.30 version.
    Hi, Steve

    No advantage at all ... from MPLAB V 8.15a, It doesn't compile any more !!! ROFL

    NOTE: MPLAB 8.15a is available as a direct download on Melab's site ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    It compile, but lack most feature, so useless

    For PIC18, you add the linker file, for none 18F you don't use MPASM assembler... yeah that's pain
    Last edited by mister_e; - 1st April 2009 at 16:19.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    I now have the 8.15a version installed and that cured the errors.

    I am now trying to get MCS easyhid to work. I have copied the 18f4550.bal plus most all files from the USB18 folder to my c:\projects folder and am now getting the usual "error:Macro USBNIT? Not found in macro file" together with the other three errors usbservice, usbin, usbout.

    Reading a thread 10409? keymuu had similar problems. Don't think PBPUSB18.MAC is required? As an idea I commented out the line LIBRARY PBPPL18L in the PBP/18f4550.bal file. This gave the following errors:

    Error:No library statement or library parameter
    Error:No library statement or MACRO parameter
    Error:Unable to open file PBPMAC.INC

    I have done a search for PBPMAC.INC but can't find it.

    Any suggestions appreciated-thanks.

Similar Threads

  1. PBP v2.60 upgrade: MCSP compile issue
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 23rd July 2009, 19:49
  2. need 18F4550.BAS to compile with PBP?
    By jocovo in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd December 2006, 01:23
  3. 18F2620 compile problems in PBP
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th August 2006, 10:11
  4. Replies: 2
    Last Post: - 10th July 2006, 01:05
  5. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30

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