Sunday, November 19th 2017, 8:55pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Woody242

Beginner

Date of registration: Feb 4th 2015

Posts: 2

1

Thursday, February 5th 2015, 2:20pm

J-Link / PIC32/ Eclipse on MAC

Greetings all,

I am looking at getting the J-Link so I can replace MPLABX. I much prefer Eclipse and would like a PIC32 debug solution that runs on MAC. It seems like it is all there except GDB for MIPS on the MAC. Has anyone successfully used this configuration? If so did you build GDB from the code sorcery sources? I have downloaded these and am just starting to try to build just GDB since I don't need the compilers.

I know I have had some difficulties building cross GDB in the past, usually under cygwin. If I can't get it to build directly under OSX I may try a Canadian cross compile on a linux VM but I would have a lot more confidence that this is not a waste of time if someone has managed it.

Thanks for any info on this.

Woody

SEGGER - Erik

Super Moderator

Date of registration: Dec 20th 2011

Posts: 389

2

Friday, February 6th 2015, 5:01pm

What you need is a
  • Eclipse
  • SEGGER GDB Server
  • GDB build for MIPS
We have already tested this combination here and it worked fine.
We used the GDB build for MIPS which is included in the Sourcery CodeBench Lite Edition. The J-Link GDB Server supports PIC32 as well. A list of all supported PIC32 devices can be found here. For Linux and OSX, you have to use the command line version of the SEGGER GDB Server as the GUI version is currently supported on Windows, only.

Best regards
Erik

Woody242

Beginner

Date of registration: Feb 4th 2015

Posts: 2

3

Monday, February 9th 2015, 9:06pm

Hi Erik,
Thanks, the part that I am a bit confused about is where you got your GDB. I don't see a MAC version of GDB by Code Sourcery. I see Windows and Linux only.
Thanks,
Woody