element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Nico teWinkel's Blog Programming the board - part2
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ntewinkel
  • Date Created: 16 Feb 2013 10:26 PM Date Created
  • Views 694 views
  • Likes 1 like
  • Comments 6 comments
  • stedvavc
  • stm32f4-discovery
  • mac_os_x
  • install
Related
Recommended

Programming the board - part2

ntewinkel
ntewinkel
16 Feb 2013

I'm missing my Arduino environment already!

Setting up the Arduino environment on Mac is a matter of a few minutes and that's it - you're up and running.

This board, unfortunately, requires me to set up a virtual machine to run Windows, which in itself takes time, and then I have to deal with some other vendor to get the software to do anything with it.

 

It seems that we have a choice of dev environments we can use with this board: the Getting Started (UM1467) document lists environments built by IAR, Keil, Atollic, and Altium. Since they don't mention anything related to the samples, I'm going to assume that the samples will work no matter which one I decide to install.

 

I haven't really used any of these before, so at this point it's a pretty random guess for me to decide what to use. Because I'm doing this for hobby purposes I'll try to figure out which one will be the easiest to use.

 

The good news is that futher down in the Getting Started doc they have a few sections dedicated to using each of the listed development environments - with pictures! That can help decide which one to pick.

 

Because I've used Eclipse a fair bit already, I thought I'd try the Tasking VX-toolset for ARM Cortex by Altium. However, after downloading (~350MB) and installing (~1.6GB) the free trial it looks like it's just a 15 day trial, and quite honestly I don't want to be spending big bucks on a dev environment for a hobby project!

I really wish their "free trial" link would have mentioned this limitation before making me go through that whole process. I did get it to compile and install the demo onto my board, but then the dev software hung, which sure builds confidence image

 

So I guess I'll try the code-size-limited IAR Workbench instead: http://www.iar.com/en/IAR/Development-Tools-for-STM32-and-STM8/

These guys are very clear about it - you either get a 30 day trial, or a 32kB trial, and when you click the link they spell out all the details. Much better than Altium already. I really hope 32kB is enough for this project!

 

It's about 1 GB to download (ack! Arduino is less than 100MB), so I'll have to leave it at that for today while it downloads...

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 12 years ago +2
    I've not used the STM family, but IAR Workbench is really great. I use it for other devices. The size limited version is really generous.
  • ntewinkel
    ntewinkel over 12 years ago +1
    I probably should have looked at this earlier, but according to the docs the add-on base board samples are only supported for Keil and IAR.
  • ntewinkel
    ntewinkel over 12 years ago in reply to ntewinkel

    I can't believe I didn't think of this sooner but better late than never - All I had to do was add a second virtual drive to my existing virtual machine, and then install IAR to the second drive. So it's happily installing as I type this.

    I should probably still dig that other machine out of my closet at some point though image  (it's not as bad as it sounds - it's a pretty decent quad-core that I stopped using when I started developing for iPhone, which is Mac-only)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 12 years ago in reply to shabaz

    Thanks Shabaz, that's good to know!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 12 years ago

    I've not used the STM family, but IAR Workbench is really great. I use it for other devices. The size limited version is really generous.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 12 years ago

    Arrgh. This isn't going well at all - it seems that the IAR software is too big to fit on my virtual machine. I guess 10 GB for a VM drive just isn't enough anymore.

     

    This is quite a setback, as it means that either I need to set up a new VM from scratch (the one I was using was a clone of a clean XP install I already had), or I need to go find myself a Windows machine (I do have one sitting in the closet)...

     

    For this weekend, sadly I'm out of time...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 12 years ago

    ps, the documentation doesn't seem to mention this anywhere, but you need to install the ST-Link driver (IAR install has a menu item named "install drivers") - this is needed to connect to the board.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube