Free alternative to MPLAB (PIC development)

18,054

Solution 1

The underlying toolchain (compiler/linker etc.) can be used from any environment including Eclipse and Visual Studio, though Eclipse is probably the more flexible in this respect.

MPLAB has a feature to export a project as a makefile that can be used with GNU make, although you may rather generate your own makefile, or use the project management provided by Eclipse. In Visual Studio, create a Makefile Project, despite its name, you can specify any build command line, so invoke a batch file or makefile as necessary. Eclipse can use makefile projects also.

In Visual Studio, add all your project and compiler Include paths to teh project manually to get all the Intellisense navigation features to work.

Solution 2

There is a version of MPLAB X that is based on Netbeans.

Solution 3

Some Options:

Piklab (this is a fork of pikdev and better IMO, has a windows version)

Pikdev

You'll probably need gputils which is a set of open source PIC utilities for various things and integrate into the above IDEs.

There is also PIC C builder for Eclipse that would let you build with the C30 compiler, don't think it supports C18 but maybe.

Solution 4

Do you know any free IDE or how to configure Ecplise or Netbeans to PIC development?

No, but I'd write a US$100 check of my own money in a heartbeat, if Eclipse were available for PICs. The poor quality of MPLAB has been my one and only reason why I don't use Microchip processors anymore. TI's Code Composer is Eclipse-based and it is hugely easier to use and much more reliable than MPLAB.

You could run Eclipse CDT and presumably configure it to use the Microchip compiler (caveat: I've never done this myself). But you wouldn't get any debugging capability, which is 90%+ of the value of an IDE.

Solution 5

You should definitely switch to MPLAB X. Be warned though that it is a beta release.

Nonetheless it promises to rid us of both windows and the very buggy MPLAB 8.x (I'm not sure about the latter, though). It is a welcome step. I was sifting through their "Getting Started With MPLAB X" slides a little while earlier. In one of the slide it says that they chose NetBeans based IDE over an Eclipse based one because "NetBeans is acknowledged by many as being: More advanced, Less bloated, Faster and More intuitive". I have worked with both of these and I think Eclipse is far superior in about every arena.

Share:
18,054

Related videos on Youtube

rnunes
Author by

rnunes

Updated on November 09, 2021

Comments

  • rnunes
    rnunes over 2 years

    I started using MPLAB recently, but for someone that works with Eclipse and VS the IDE it's very limited. Do you know any free IDE or how to configure Ecplise or Netbeans to PIC development?

    Thanks all

    • Cody Gray
      Cody Gray over 2 years
      Note that configuring Eclipse or Netbeans to allow development for a specific PIC would be an on-topic question for Stack Overflow, but I cannot in good conscience make the edit that changes this question into asking that, because it would invalidate many, if not all, of the existing answers.
  • rnunes
    rnunes over 13 years
    Do you know if I can use it to program using MPLAB ICD3? Because I already have one
  • Rex Logan
    Rex Logan over 13 years
    The make file is the easy part especially with the PIC24 which use a gcc variant. I looked into running the debugger and programmer from visual studio and it looked to be possible but it would require more time than I wanted to put into figuring it out so I still have to use MPLAB when talking to the hardware.
  • Clifford
    Clifford over 13 years
    @Rex: Yes seamless debugger integration is unlikely to be possible. What I do is configure the "debug" build in Visual Studio to launch a batch file that in turn launches the external debugger when the build was successful. I have done this with Keil/ARM tools, not MPLAB but imagine that it is possible. A note about MPLAB's makefile export though, it does not include pre/post build steps if you have configured your project to use them, so a build from a makefile is not identical to a build from an MPLAB project file! I raise the issue with Microchip support, and they couldn't care less.
  • rnunes
    rnunes over 13 years
    I reasearch a little bit and I already found how to do the all proccess (compiling and programming) using the command line. Tomorrow I'll try to configure Eclipse to do that, but to debug I can only do it in MPLab. If anyone knows how to do it please let me know.
  • Martin
    Martin about 13 years
    Agreed, but according to Microchip, Eclipse was unsuitable, so they went with Netbeans. While we are all waiting for any improvement on MPLAB, I wouldn't work with the first version of MPLAB X until the bugs are shaken out, given the history.
  • Jason S
    Jason S about 13 years
    They went with Netbeans? When? I'd use that. The old MPLAB sucked.
  • Jason S
    Jason S about 13 years
    +1 -- at last!!!! a real IDE! Now if they would just release a C++ compiler based on gcc instead of the C compiler.
  • Martin
    Martin about 13 years
    In the MPLAB X which is currently in Beta.
  • Peter Arandorenko
    Peter Arandorenko over 11 years
    Worked flawlessly for me so far on WinXP. I don't have the HW, yet.
  • NickSoft
    NickSoft over 11 years
    I tried GNU make file with make from MinGW - linker gave error unrecognized input: E:/MinGW/msys/1.0/p18F45K22 (/p18F45K22 is an option passed to linker). I fixed that by changing options to - instead of / - ex. /p18F45K22 to -p18F45K22