Installing PBP3.1 with MPLAB 8 AND MPLABX


Closed Thread
Results 1 to 35 of 35

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Then I have installed MPLAB X 4.05 and ticked the PBP tool chainbox in the plugins list. Then I tried to make a new project but even if the PBP compiler is listed I cannot select in the list of compilers when MPLAB ask it.
    If you have the plugin installed and it doesn't let you select PBP, then make sure the toolchain settings are correct.
    From the MPLABX main menu select 'Tools | Options | Embedded | Build Tools'

    Make sure PICBASIC PRO is shown in the 'Toolchain' listbox. If it isn't then 'Add...' and browse to the PBP folder. It should recognize it, and then select 'OK'

  2. #2
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Just a short report about the situation.

    MPLAB 8.92 and PBP 3.1 (and PBP 3.0) were already installed on my PC. I have also installed MPLAB X 4.05.

    Finally, keeping PBP 3.0 was not necessary. I can work with MPLAB 8 + PBP 3.1 + MPASMWIN.

    I did not succeed in making this chain work with MPASMX. I got the message "Unable to find mpasmwin" when I launched the compilation. I could not find a way to make MPLAB work with MPASMX.

    Anyway, in my case it is not important. I stay with my old chain for my old projects. My first objective is reached.



    I am now trying to make the MPLAB X configuration work for my new project. I tryied to follow the recommandations from the posts but many things have changed with the versions. For 4.05 one must tick the PBP chain in the Tools > Plugins > Available Plugins, validate the choice and Add the PBP chain in Tools > Options > Embedded. The chain is automatically added when pushing thh Add... button.

    Then I tryied to import a PBP project developped under MPLAB 8 and named PGMTST. The process is described there : http://www.microchip.com/forums/m1015105.aspx.

    When selecting the compiler this message appears :
    <html><div style="color: blue">"Unsupported project conversion: original compiler was PICBASIC PRO™. <br> Build options will not be converted.</div></html>

    I found my PBP source file in the folder "Source File". I also have 4 asm files containing some data. They are now in the "Other Files" Folder. OK.

    Going ahead generates error messages saying that the PGMTST project is empty even if all the files are there...

    I am there, trying to find my way !
    Should you have any good ideas, I am very interested.

    I keep you informed

    MikeBZH

  3. #3
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Try to remove from "Other" and put file in "Source files". Right click add existing... After you add all files to source, on your ASM(or any file that you include), right click > properties >tick exclude from build > OK.

  4. #4
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Dr. Bob at HID Maker claims MPLAB 8 looks for PBP files with a .bas extension, while MPLABX looks for .pbp extensions. I have been saving as .pbp since he told me that. Someone else on this forum said PBP3.1 works with either just fine. Just trying things, re-name one of these older files as a .pbp and see if you can see it.

  5. #5
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Hi everybody,

    Some fresh news before the end of this year.
    A damned maintenance guy has erased all my disk c: so I had to reinstall eveything, including many applications (CAD...) !!!

    Back to my MPLAB installation.
    For MPLAB 8, I had the famous message saying that mpasmwin could not be found. As I remembered an old matter of path I have reinstalled PBP3.1 directly under C:\. In fact this was not was necessary, the key point is to apply the recommendations from here : http://melabs.com/support/mplab.htm and to replace the PBPX.EXE by PBPMPLAB.BAT in the step two. Then it works.

    I have an important question, maybe for Charles, at that point. The 18F27K40 looks as being a little bit "special". Does PBP3.1 support it under MPLAB 8 ?. I cannot find it in the list of the Project Wizard. However I find it in the two folders DEVICE and DEVICE_REFERENCE in the PBP3_1 directory. So ... ???



    About MPLAB X now. The installation is quite easy. The reference is http://www.picbasic.co.uk/forum/showthread.php?t=18520. Thank you Ionnis ! Simply in the second step of installing the PBP chain one must be carefull to designate PBP_3 and not one of its directories. I have spent hours with this. My fault !

    Making PBP3.1 working with MPLAB X is an other story. I have chosen to rebuild a new project from the source files used with MPLAB 8 and not to use the project migration function. I have four .asm files and one .pbp file. All have to be installed into the source section of the project. I made no modification to them with a right click as suggested by pedja089.

    In my pbp source file those asm files are included by : #include "file.asm".

    I did not want to include any path. So while building the project I choose to install the files in the project folder (tick the corresponding box) and selected the absolute path option. This leads to a project structure close to what we have under MPLAB 8. I have also ticked the long support in the compiler properties because I use this kind of variable.

    A that point I am stucked after launching the build, with the message :' No rule to make target 'build/default/production/_ext/1465533315/file.o' where file.asm is my first asm files. Google shows that this is a very common message but with a wide vaiety of reasons. I have built a small project with only one .asm file. The same message is displayed but a correct .hex file is built in this case. Nothing is produced with the full project and 4 asm files.

    I continue to dig

    MikeBzh

  6. #6
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Recently did some computer "house cleaning", downloaded the newest MPLABX4.05, deleted both the v3.60 and v4.01. Afterwards, I also got "Unable to find mpasmwin". There is a PBP tool, on my computer it is at: C:\ProgramFiles(X86)\PBP3_1\MPASM-MPLAB_SETUP\PBP_MPASM_Connector. The wizard guides you to point to the file folder containing mpasmwin. In my case it is at: C:\ProgramFiles(X86)\Microchip\MPLABX\v4.05\mpasmx . After running that, everything started working again.

    As for the K40, you MUST use PBP3.1 and you MUST use the MPLABX tools! Neither MPLAB 8.90 nor PBP3.0 have the necessary files for the K42.

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: Installing PBP3.1 with MPLAB 8 AND MPLABX

    Well, I just installed MPLABX 4.0.5 and all the settings for the Toolchain.

    All well up to the point I started the simulator. And... nothing!

    Seems that can only compile but not simulate.

    Ioannis

Similar Threads

  1. How to setup pbp3 with MPLABX?
    By thasatelliteguy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 20th November 2017, 12:46
  2. Integrate PBP3 in MPLABX.
    By Ziko87 in forum PBP3
    Replies: 0
    Last Post: - 21st May 2013, 13:41
  3. Can't get ISIS/Proteus VSM to work with PBP3 and MPLABX
    By chicowoodhill in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 28th July 2012, 20:45
  4. PBP3 and MPLAB 8.83
    By grahamg in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 10th February 2012, 13:04
  5. Moving to PBP3 from 2.6 and MPLab
    By R.G.Keen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2011, 19:30

Members who have read this thread : 4

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