• AVR Freaks

Using Eclipse instead of MPLABX

Author
kisve
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2013/01/22 16:00:22
  • Location: 0
  • Status: offline
2017/10/17 03:48:57 (permalink)
0

Using Eclipse instead of MPLABX

Hi,
is there any way to use Eclipse (and a plugin if required) instead of MPLABX?
 
I suppose I'm not the only one who uses Eclipse with  MCUs of other manufacturers. It would be nice to use the same IDE in all projects.
Besides I myself prefer Eclipse compared to NetBeans.
#1

13 Replies Related Threads

    jartim
    Bit basher
    • Total Posts : 68
    • Reward points : 0
    • Joined: 2017/07/07 00:28:33
    • Location: 0
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/17 05:27:36 (permalink)
    0
    I thought of trying this too, but it looked as though it would need a completely new plugin to work effectively.  You can use the C/CDT and set up the compiler manually but to do it properly requires a bit more work I think.  Any chance Microchip might do this for us?
    #2
    GeorgePauley
    Moderator
    • Total Posts : 1275
    • Reward points : 0
    • Joined: 2009/12/01 13:59:30
    • Location: Chandler AZ
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/17 09:38:32 (permalink)
    0
    The company Viosoft has a package called Arriba which uses Microchip's core debugging code inside of Eclipse.  I think they no longer maintain, but have open-sourced.

    The compilers aren't the big issue.  Eclipse pretty much demands that the target be implemented in GDB, and PIC devices have had... a difficult time getting into GDB.
    #3
    jarin
    Super Member
    • Total Posts : 848
    • Reward points : 0
    • Joined: 2005/05/23 13:50:02
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 00:31:24 (permalink)
    +5 (5)
    PIC devices have a difficult time getting into GDB, because debug information are non-existent to public. Those things can't be pulled from air. How on earth can anyone make GDB for PIC devices with no documentation support from manufacturer?
     
    I partially reverse engineered debug protocol for some PIC18 devices and wrote also my own debug executive, but it was major PITA and it's still incomplete.

    Jaromir Sukuba, Bratislava, Slovakia
    http://jaromir.xf.cz/  - open source PIC18 debugger.
    #4
    kisve
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2013/01/22 16:00:22
    • Location: 0
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 08:40:38 (permalink)
    0
    jarin
    PIC devices have a difficult time getting into GDB, because debug information are non-existent to public. Those things can't be pulled from air. How on earth can anyone make GDB for PIC devices with no documentation support from manufacturer?



    So do you think there is no chance to get Eclipse support? (At least not in the near future)
     
    #5
    Jim Nickerson
    User 452
    • Total Posts : 6797
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 09:16:09 (permalink)
    0
    This page seems to indicate it might be possible with a Segger J-Link https://gnu-mcu-eclipse.github.io/debug/install/
    #6
    kisve
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2013/01/22 16:00:22
    • Location: 0
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 11:39:00 (permalink)
    0
    JANickerson
    This page seems to indicate it might be possible with a Segger J-Link https://gnu-mcu-eclipse.github.io/debug/install/



    I've read this article but its all about ARM based MCUs. Where have you found any reference to PICs or other MCUs? 
    #7
    Jim Nickerson
    User 452
    • Total Posts : 6797
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 11:46:00 (permalink)
    0
    ah well.
    #8
    TimH
    Junior Member
    • Total Posts : 93
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 11:48:12 (permalink)
    +1 (1)
    Segger J-link supports the 2-wire ICSD interface (and generic 4-wire JTAG)...and since Eclipse works with J-link, I guess it may just work?
     
    I have a J-link and various PIC32MZ eval boards, and also use Eclipse on other projects. Since I need to decide on what debugger to use for my own MZ hardware design, I will see if I can get Eclipse to work since that will save me learning MPLABX (I use an external editor regardless of IDE).
     
    I'll let you know what I find out - but won't be until next week some time.
    #9
    Jim Nickerson
    User 452
    • Total Posts : 6797
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 11:50:18 (permalink)
    0
    Interesting site eclipse PIC32Mx https://blog.hjf.com.ar/e...pic32mx-using-eclipse/
     
    #10
    kisve
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2013/01/22 16:00:22
    • Location: 0
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 11:51:03 (permalink)
    0
    That would be highly appreciated! Thank you in advance! 
    #11
    kisve
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2013/01/22 16:00:22
    • Location: 0
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 11:55:01 (permalink)
    0
    JANickerson
    Interesting site eclipse PIC32Mx https://blog.hjf.com.ar/e...pic32mx-using-eclipse/
     

    Tis site seems very good! I will check it soon!
    #12
    jarin
    Super Member
    • Total Posts : 848
    • Reward points : 0
    • Joined: 2005/05/23 13:50:02
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/10/18 14:55:39 (permalink)
    +3 (3)
    I tried ejtagproxy and eclipse few years ago - and with all respect to Serge Vakulenko, who is its author and very knowledgeable guy - it's slow beyond usefulness. And I am talking as MPLABX user.
    That being said, I can't help him much with the project. Unfortunately most of the code commits seems to fall into years 2012-2013, so don't expect new devices unless somebody will fork the project and start development.
     
    On the other hand, pic32prog is fine tool, I used it with PicKit2 on retrobsd project, for example. It is big project (BSD Unix running on PIC32) with a lots of additional information, like how to build vanilla MIPS GCC and use it with PIC32 http://retrobsd.org/wiki/...php/doc/toolchain-mips

    Jaromir Sukuba, Bratislava, Slovakia
    http://jaromir.xf.cz/  - open source PIC18 debugger.
    #13
    ecdpalma
    Starting Member
    • Total Posts : 32
    • Reward points : 0
    • Joined: 2003/11/07 12:35:08
    • Status: offline
    Re: Using Eclipse instead of MPLABX 2017/11/06 11:12:02 (permalink)
    0
    A long time a go I've did this https://github.com/ecdpalma/piccbuilder. Despite not being maintained anymore and probably not compatible with latest Eclipse versions, it may help someone.
    #14
    Jump to:
    © 2020 APG vNext Commercial Version 4.5