Installing PBP3.1 with MPLAB 8 AND MPLABX


Closed Thread
Results 1 to 35 of 35

Hybrid View

  1. #1
    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.

  2. #2
    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.

  3. #3
    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

  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

    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.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    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

  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

    What tool are you trying to simulate with? MPLABX does not simulate with PBP. Rumor has it that 3.60 has some sort of connection with PBP, but subsequent versions do not.

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

    Happy new year to all the forum members and to all the developers!

    I have finally succeeded in building my old projects developed with MPLAB 8 under MPLAB X.

    The key points were:
    - Rebuilt the project from the old sources (asm and pbp). Remove all other files generated under MPLAB 8
    - Do not use upper case names! Even if we are under Windows, with PBP not case-sensitive, MPLAB-X has been developed for C programmers and is case sensitive. So, rename every file name in lower case, including in the #include instructions in the pbp files.
    - In the last step of the New Project process Tick the box “Use project location as the project folder” to obtain a project structure comparable to what we have with MPLAB 8.
    - If necessary tick the box LONG (Project Properties)
    - The PBP file had to be inserted into Project > Source Files but in my case since my asm files contained only data, nothing else had to be done. I imagine that my asm files are automatically inserted into the PBP file during the build process.
    - The project was ready for compiling which was done by the broom and hammer button.
    - My PicKit 2 and my target were already connected. I had only to push the green downside arrow button to get my target programmed.
    The next step will be to migrate to the 18F27K40. It will take some time, including with electronics.

    Coming back to MPLAB 8, I know that I must use mpasmx and PBP3.1 for working with 18F27K40. My question was about the IDE itself since I cannot find this PIC in the Project Wizard list. Is there a way to include it ?


    MikeBZH

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 : 2

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