Author Topic: ARM Development on Mac OS X?  (Read 28847 times)

0 Members and 1 Guest are viewing this topic.

Offline naragon1Topic starter

  • Contributor
  • Posts: 17
  • Country: us
ARM Development on Mac OS X?
« on: November 30, 2015, 04:17:19 am »
I've been doing some AVR development for ATMega168, 328, and ATTiny2313 and ATTiny85 and so far I've been able to create a decent/cheap tool chain for OSX using avrdude and an USBTiny programmer. I'm interested in playing around with ARM MCUs, but it seems like all the IDEs only seem to support Windows. Can anyone recommend a decent IDE for ARM development (commercial or otherwise ) for OS other than Windows?

EDIT: I guess I should clarify -  a quick Google search yields a number of  potential options, e.g CrossWorks for ARM. I guess I'm looking for a specific recommendation that someone has had first hand experience with.
« Last Edit: November 30, 2015, 04:30:00 am by naragon1 »
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: ARM Development on Mac OS X?
« Reply #1 on: November 30, 2015, 05:03:23 am »
Search for Arm Pro Mini. Works flawlessly on Mac OSX using LPCXpresso.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: ARM Development on Mac OS X?
« Reply #2 on: November 30, 2015, 05:47:32 am »
I'm using Eclipse with the GCC ARM Embedded compiler, GNU ARM Eclipse plugin and OpenOCD for JTAG. All the software is free, and as a bonus works on Windows and Linux as well.

Offline janekm

  • Supporter
  • ****
  • Posts: 515
  • Country: gb
Re: ARM Development on Mac OS X?
« Reply #3 on: November 30, 2015, 05:52:31 am »
Simplicity Studio from Silicon Labs is a very easy-to-get-going IDE (based on Eclipse) for their range of ARM micros, that's the one-download option I would recommend (if you don't need chip flexibility).

For toolchain you want https://launchpad.net/gcc-arm-embedded which is the version of GCC maintained by ARM.

http://gnuarmeclipse.github.io offers plugins and instructions for putting together an Eclipse-based IDE for basically any ARM Cortex based MCU. For programmers, the Blackmagic probe ( https://github.com/blacksphere/blackmagic ) is nice as it doesn't need any other host software than GDB, so less to install / maintain. But depending on which chip you want to program you may need to compile the latest version from github. I used an ST-Link clone (as can be found on eBay) reprogrammed as Blackmagic probe, it's great as it comes in a robust, tiny dongle.

You can also use ST-Link clones directly with openocd or texane.

There are now also starting to be options for using the Arduino IDE (and Arduino compatible libraries) for some ARM-based chips, for example: http://www.stm32duino.com

Overall the situation is much, much better than it was even a few months ago :) Though things are still a bit new so it can be a bit of a time-sink to keep on top of all the changes / improvements going on.
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2581
  • Country: fr
    • kripton2035 schematics repository
Re: ARM Development on Mac OS X?
« Reply #4 on: November 30, 2015, 07:13:35 am »
a virtual machine like vmware fusion is a good option when developping hardware on mac os x ... ;)
don't use Parallels as it has difficulties with usb devices that are not standard (ex: programmers, etc...) you must unplug and replug everytime.
 

Offline matseng

  • Frequent Contributor
  • **
  • Posts: 563
  • Country: se
    • My Github
Re: ARM Development on Mac OS X?
« Reply #5 on: November 30, 2015, 08:20:48 am »
don't use Parallels as it has difficulties with usb devices that are not standard (ex: programmers, etc...) you must unplug and replug everytime.
Not so sure about that.  I do a lot of development for Verfone terminals and the firmware upload tools are using proprietary Verifone win-only USB drivers - it works like charm under Parallels.  I really never had any major problems with the usb-passthrough in Parallels except for a rather heavy cpu load when running the Digilent Analog Discovery  at too high sample rates. 
 

Offline dr_dan

  • Contributor
  • Posts: 28
  • Country: gb
Re: ARM Development on Mac OS X?
« Reply #6 on: November 30, 2015, 09:12:59 am »
don't use Parallels as it has difficulties with usb devices that are not standard (ex: programmers, etc...) you must unplug and replug everytime.
Not so sure about that.  I do a lot of development for Verfone terminals and the firmware upload tools are using proprietary Verifone win-only USB drivers - it works like charm under Parallels.  I really never had any major problems with the usb-passthrough in Parallels except for a rather heavy cpu load when running the Digilent Analog Discovery  at too high sample rates. 

Seconded - I've used a a Tech-Tools digiview logic analyser, Xeltek multi-device programmer, and Atmel JTAGICE3 programmer with no issues at all under Parallels.
 

Offline matseng

  • Frequent Contributor
  • **
  • Posts: 563
  • Country: se
    • My Github
Re: ARM Development on Mac OS X?
« Reply #7 on: November 30, 2015, 09:20:25 am »
Seconded - I've used a a Tech-Tools digiview logic analyser, Xeltek multi-device programmer, and Atmel JTAGICE3 programmer with no issues at all under Parallels.
Sorry for being a bit OT heer, but are you running El Capitan and did you upgrade to to Parallels11?  Not sure if the $49 for the 10->11 upgrade is enough value for the money...
 

Offline naragon1Topic starter

  • Contributor
  • Posts: 17
  • Country: us
Re: ARM Development on Mac OS X?
« Reply #8 on: November 30, 2015, 01:19:21 pm »
Search for Arm Pro Mini. Works flawlessly on Mac OSX using LPCXpresso.

Wow, I wasn't aware of this. It looks amazing, now I finally have an excuse for a toaster oven.
 

Offline naragon1Topic starter

  • Contributor
  • Posts: 17
  • Country: us
Re: ARM Development on Mac OS X?
« Reply #9 on: November 30, 2015, 01:22:23 pm »
Thanks for all the replies. I think I have enough here to keep me busy for a few days.  I used to have Windows running on VMWare Fusion setup a while back, but when I upgraded to Yosemite the older version of Fusion I had stopped working. I don't want to have to pay for either Fusion or Parallels at this point.
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2581
  • Country: fr
    • kripton2035 schematics repository
Re: ARM Development on Mac OS X?
« Reply #10 on: November 30, 2015, 07:03:17 pm »
don't use Parallels as it has difficulties with usb devices that are not standard (ex: programmers, etc...) you must unplug and replug everytime.
Not so sure about that.  I do a lot of development for Verfone terminals and the firmware upload tools are using proprietary Verifone win-only USB drivers - it works like charm under Parallels.  I really never had any major problems with the usb-passthrough in Parallels except for a rather heavy cpu load when running the Digilent Analog Discovery  at too high sample rates. 

Seconded - I've used a a Tech-Tools digiview logic analyser, Xeltek multi-device programmer, and Atmel JTAGICE3 programmer with no issues at all under Parallels.
nice to hear these works under parallels, but I wasnt able to make mikroprog to work under parallels, and it went flowlessly under vwmare...
same for a customer medical special peripheral (to scan foot pressure with usb connexion)
I was able to use cypress programmers under parallels but it hanged sometimes. no hang at all since I am with vmware.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: ARM Development on Mac OS X?
« Reply #11 on: November 30, 2015, 07:18:26 pm »
(I'm really not fond of paying more for my VM/Windows SW than I would for a pretty decent used PC.   Sigh.)
(And I've been pretty unhappy with W8/W10 performance under Virtual Box.  Is it better with the commercial packages?)
 

Offline dr_dan

  • Contributor
  • Posts: 28
  • Country: gb
Re: ARM Development on Mac OS X?
« Reply #12 on: November 30, 2015, 09:33:52 pm »
Seconded - I've used a a Tech-Tools digiview logic analyser, Xeltek multi-device programmer, and Atmel JTAGICE3 programmer with no issues at all under Parallels.
Sorry for being a bit OT heer, but are you running El Capitan and did you upgrade to to Parallels11?  Not sure if the $49 for the 10->11 upgrade is enough value for the money...

I'm not running the latest versions - it all works so I see no need to pay money for no additional functionality. OS X 10.6.8, Parallels Desktop 8.  :)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: ARM Development on Mac OS X?
« Reply #13 on: December 01, 2015, 03:22:25 pm »
Quote
ARM Development on Mac OS X?

It is not common to run into developers on Mac: most of the ones that I ran into run their development environment inside a copy of windows on the Mac.

If I were you, I would try to figure out a) if there is a particular reason you want to develop on Mac; and b) if your priority is to develop ARM or to develop it on Mac. There are reasons why most of those tools are windows based.
================================
https://dannyelectronics.wordpress.com/
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: ARM Development on Mac OS X?
« Reply #14 on: December 01, 2015, 03:38:48 pm »
make your life easy : get a pc... you can find a good used pc on ebay for 200$... Get a used dell optiplex 790 or 990 with an i5 and win7 in minitower.  rock solid machines.

you may not like my answer , but the fact is that NOBODY, develops such tools for MacOs. It used to be that hardare development was done on Sun workstations. those went the way of the dodo due to the machine being too expensive. Pc's are a dime a dozen. Mac's are too expensive.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26875
  • Country: nl
    • NCT Developments
Re: ARM Development on Mac OS X?
« Reply #15 on: December 01, 2015, 03:45:42 pm »
For those recommending Windows: perhaps it didn't occur to you or you never noticed but compiling software on Windows is extremely slow.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: ARM Development on Mac OS X?
« Reply #16 on: December 01, 2015, 03:45:51 pm »
... the fact is that NOBODY, develops such tools for MacOs.

Demonstratively false.
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: ARM Development on Mac OS X?
« Reply #17 on: December 01, 2015, 03:51:27 pm »
... the fact is that NOBODY, develops such tools for MacOs.

Demonstratively false.

Agreed.
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: ARM Development on Mac OS X?
« Reply #18 on: December 01, 2015, 03:54:02 pm »
a virtual machine like vmware fusion is a good option when developping hardware on mac os x ... ;)
don't use Parallels as it has difficulties with usb devices that are not standard (ex: programmers, etc...) you must unplug and replug everytime.

I gave up on Parallels a few years ago when I noticed that it was dogshit slow trying to access the Mac hard disk which was mounted in the virtual Windows (XP at the time) as a network drive. It was unusable. I switched to VMWare and have not looked back. Recommended if you need to run Windows programs on a Mac. And I do: Xilinx tools, Altera tools, ModelSim, Altium, Keil uVision. VMWare has no problem with the various programming dongles.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: ARM Development on Mac OS X?
« Reply #19 on: December 01, 2015, 05:18:42 pm »
Quote
compiling software on Windows is extremely slow.
Really?  I hadn't noticed that.   Do you have a particular example that can be tested?  ("download this compiler, this sample program, and run this command.")
Now, it seems that the usual compile process with its myriad tmp files and helper-programs interacts REALLY BADLY with some anti-virus software, but I'm not sure that you can blame windows for that.


Quote
NOBODY, develops such tools for MacOs.
Meh.   If you do a linux version (which is increasingly desirable), you can get a Mac version nearly for free.  (EAGLE took this route.   Their first Mac version ran under X11 and was more unix-like than Mac-like, and that was ... fine.  (well, it was "ok.")
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26875
  • Country: nl
    • NCT Developments
Re: ARM Development on Mac OS X?
« Reply #20 on: December 01, 2015, 07:16:32 pm »
Quote
compiling software on Windows is extremely slow.
Really?  I hadn't noticed that.   Do you have a particular example that can be tested?  ("download this compiler, this sample program, and run this command.")
Now, it seems that the usual compile process with its myriad tmp files and helper-programs interacts REALLY BADLY with some anti-virus software, but I'm not sure that you can blame windows for that.
I already did that test several times and WIndows is always several times slower on the same system. Besides anti-virus software (which is necessary so do blame Windows) the task switching, disk caching and memory management used in Windows are not as good as the typical Unix system and it shows if you are going to start/stop many processes and open/close many files. On really large compilation runs task switching alone can eat up a significant amount of time (the difference between running for 30 minutes or 50 minutes).
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: ARM Development on Mac OS X?
« Reply #21 on: December 01, 2015, 07:29:33 pm »
GCC-based toolchains will also have the added overhead of the Unix emulation layer (MinGW/Cygwin).

Offline cncjerry

  • Supporter
  • ****
  • Posts: 1276
Re: ARM Development on Mac OS X?
« Reply #22 on: December 01, 2015, 08:25:08 pm »
Eclipse with GCC on OSX. I use a large screen iMac.  Best UI.
 

Offline gmb42

  • Frequent Contributor
  • **
  • Posts: 294
  • Country: gb
Re: ARM Development on Mac OS X?
« Reply #23 on: December 01, 2015, 09:48:25 pm »
Quote
compiling software on Windows is extremely slow.
Really?  I hadn't noticed that.   Do you have a particular example that can be tested?  ("download this compiler, this sample program, and run this command.")
Now, it seems that the usual compile process with its myriad tmp files and helper-programs interacts REALLY BADLY with some anti-virus software, but I'm not sure that you can blame windows for that.
I already did that test several times and WIndows is always several times slower on the same system. Besides anti-virus software (which is necessary so do blame Windows) the task switching, disk caching and memory management used in Windows are not as good as the typical Unix system and it shows if you are going to start/stop many processes and open/close many files. On really large compilation runs task switching alone can eat up a significant amount of time (the difference between running for 30 minutes or 50 minutes).

Totally off-topic, but I couldn't resist.

Anecdotes aren't data.  ;D

Unless you dual-boot a machine it's somewhat hard to compare apples and apples.  The simplest demonstration I can come up with to show comparable compilation times for a "large" project is the Wireshark Petri-Dish buildbot that provides cross-platform test compiles of changes before they are merged into master (so expect breakages).

There are two build slaves, one Ubuntu using GCC, the other Windows using Visual Studio 2013, both are Amazon EC2 spot instances (so available CPU cycles can vary a bit) and both compile the Wireshark codebase in roughly the same time, approx. 14 mins.

The build slaves have slightly different build sequences, but the first Ubuntu compile step is roughly equivalent to the Windows "compiled with MSBuild" step.

So in this sample of 1, there's not much in it.  Other examples would be interesting.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26875
  • Country: nl
    • NCT Developments
Re: ARM Development on Mac OS X?
« Reply #24 on: December 01, 2015, 10:55:14 pm »
GCC-based toolchains will also have the added overhead of the Unix emulation layer (MinGW/Cygwin).
Not really. Under the hood Windows offers a C API (POSIX) which is pretty much the same as you'll find on Unix machine. If you don't need a GUI it is very easy to write portable code which compiles for both Windows and Unix based systems. See: http://social.technet.microsoft.com/wiki/contents/articles/10224.posix-and-unix-support-in-windows.aspx
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf