MPLAB IDE (NewBee)


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by n7hri View Post
    I have PicBasic Pro and I would like to use MPLAB to edit my files with MPASM but the files seem to be written in a different language. Were do I get information like in the PBP manual on the commands for MPASM?
    In the documentation files that are installed with the MPLAB IDE package, don't remember exactly where, but they're in there somewhere.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    MPASM is a compiler. MPLAB is the editor (IDE).

    Here is how you set MPLAB up to work directly with PBP.
    http://www.melabs.com/support/mplab.htm

    Is that what you are after?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2008
    Location
    Wyoming, US
    Posts
    3


    Did you find this post helpful? Yes | No

    Default MPLAB Editor

    Yes MPLAB is supose to be the Editor but I can't get it to open a blank Source file so I can start wrighting code. I tried going threw the project wizard but when I try to compile it it tells me that there isn't a source file.

    ?? What Language is MPLAB for ?? I made sure I didn't download the "C" verson.
    MPLAB 8.00.00.00 Certified MPASM Installed and PICSTART Plus Installed.

    I was going to try to work with MPLAB but frankly it's a real Pain. I am about to just go back to MicroCode Studio it seams to support allot of good Development platforms. Any Suggestions for a good Development Board the following support.

    PicBasic Pro Compiler
    Microcode Studio
    EPIC Programmer (Parallel Port)

    If I go further with this Platform I'll purchase MicroCode Studio Plus

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Once the project is created, goto project on the tool bar and add a source file. If you do not have a *.bas file as a source, then goto file, new and make one.

    MPLAB is for several languages. First assembly and then if you tell it PBP, C, and I think I remember something about java???

    Development board = bread board and what ever parts you plan to use.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2009
    Posts
    17


    Did you find this post helpful? Yes | No

    Default I learned something from Chuck Helleybuck

    Gents

    I would like to ask if the approach written by Chuck Hellebuyck on Nuts & Volts issue May 2008 would be better in running PBP in MPLAB for a newbie like us.

    Any advantage or disadvantage to his approach.....?

    Before I read this thread I found the same problem with the .BAS file not found by MPLAB. I get to run it after doing the suggestion by Chuck & decided of creating a Blank.Bas file so I can add it everytime I create a new project in MPLAB 8.15a.

    Also the .INC file for the particular PIC I am using as per Chuck suggestion.

    Any thought about this

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Red face

    I have never read any. Of the things from "Chuck", but it
    seems like everyone that comes here that has always have
    problems. So do not read from this guy...

    If you want to run PBP from MPLAB follow these instructions
    http://www.melabs.com/support/mplab.htm
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Smile A great development configuration

    Quote Originally Posted by n7hri View Post

    If I go further with this Platform I'll purchase MicroCode Studio Plus
    I have had great success with and highly recommend the following development configuration:
    Compiler: PICBasicPro (comes with MicroCode Studio lite...more than adequate)
    Editor: MicroCode Studio (lite version is good enough if you don't need debugging)
    Programmer: PICkit2 Starter Kit
    Development Board: Either the development board that comes with the Starter Kit or your own development board with an ICSP 6-pin header installed on it so it will interface with the PICkit2.

    Once you set up the "Compile and Program Options" on MicroCode Studio it will:
    1) Recognize you are using PICBasicPro compiler
    2) give you choice of using MPASM hex compiler or the PM compiler,
    3) Load your code file into the editor
    4) permit you to edit, print and compare code file versions in side-by-side button controlled windows,
    6) compile your code into a hex file which is automatically saved at a specific location for you to find,
    6) automatically launch PICKit2 programmer with presettings for your chosen MCU device and for the _config settings from your code,

    Once PICkit2 automatically launches per above all you have to do is point it to your hex file location on your computer drive using its "Auto Import Hex & Write Device" button and it will program your device for you. Once programmed you can use various features of PICkit2 to:
    1) run program on your development board,
    2) review the programmed hex code that resides in the device in a listing of the hex code as programmed in each program memory location,
    3) review the created data in data memory locations after running the program.

    This is a very efficient way to develop programs and test them on your chosen device....and for a very low cost if you already own PICBasic Pro....MPASM and MCU lite are included free and PICkit2 is less than $50. And I don't work for or get any commissions from any of the companies who have these products. I just learned after a lot of experimentation this was a good setup.
    Welcome to PICBasic programming and I hope this might help you get started.

Similar Threads

  1. Replies: 0
    Last Post: - 13th February 2009, 04:34
  2. Upgraded to MPLAB IDE 8.14 and now I'm stuck
    By BlueHairBob in forum General
    Replies: 2
    Last Post: - 20th August 2008, 02:15
  3. PBP and MPLab IDE
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2008, 15:09
  4. Using PICBASIC PRO in MPLAB IDE
    By jblackann in forum General
    Replies: 8
    Last Post: - 4th May 2008, 10:20
  5. "Program Memory Error" with MPLAB IDE (PBP)
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th November 2007, 20:27

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