MPLAB X IDE - how to get started


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891

    Default MPLAB X IDE - how to get started

    Hi,

    Over the past days, I've been reading threads and googled around about MPLAB. So I installed MPLAB X v2.15.

    I found enough info to install PBP 2.60 and set it as THE compiler; I'm using a PICKit2.

    Following different tutorials, I created a project, set it up and this is where I'm stuck now.

    I think I must now "build" the project to be able to program it into the PIC. But when I do so, I get following warning:

    make: *** No targets. Stop.
    BUILD FAILED (exit value 2, total time: 78ms)


    What am I doing wrong?

    Is MPLAB the only tool to debug my code?
    Roger

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


    Did you find this post helpful? Yes | No

    Default Re: MPLAB X IDE - how to get started

    Hi Roger,
    If you mean source level debugging using the PICKit2 then yes. As far as I know MPLAB is the only tool which allows you to use a hardware debugger to debug (step, step over, set break points etc) a PBP program at the source level.

    I'm sorry but I can't help you getting PBP going inside MPLAB, been there a couple of times only to leave dissapointed....

    /Henrik.

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default Re: MPLAB X IDE - how to get started

    I'm frustrated too....

    So what would be a "good" software debugger - any suggestions?
    Roger

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,389


    Did you find this post helpful? Yes | No

    Default Re: MPLAB X IDE - how to get started

    its pouring rain here today so I had another go a getting pbp3 to work in labx, put labx ver 2 on the laptop
    added the pbp2.6 and pbp3 tool chains and guess what . it works
    I can now source debug a pbp3 project (pic18's only)
    seems in previous attemps I created my source files in the wrong spot
    see attached
    Attached Images Attached Images  

  5. #5
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: MPLAB X IDE - how to get started

    Quote Originally Posted by flotulopex View Post
    I'm frustrated too....

    So what would be a "good" software debugger - any suggestions?
    I have happily been using the one built-in into Microcde Studio for quite some years.

    They also have a free version which works only on the 16F628A to let you have the feel.

    http://melabs.com/resources/win_ide.htm#Studio

    Regards,

    Anand
    Last edited by ardhuru; - 24th August 2014 at 08:57.

Similar Threads

  1. Problem with MPLAB IDE v7.60
    By SKOLS1 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th July 2011, 18:28
  2. A new MPLAB IDE
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 55
    Last Post: - 6th May 2011, 15:31
  3. Mplab x ide
    By fowardbias in forum Off Topic
    Replies: 14
    Last Post: - 3rd February 2011, 08:32
  4. PBP and MPLab IDE
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2008, 14:09
  5. MPLab IDE Project
    By BRINGERofBACON in forum General
    Replies: 6
    Last Post: - 3rd May 2008, 12:09

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