Author Topic: Alternative to CooCox for STM32 development  (Read 19326 times)

0 Members and 1 Guest are viewing this topic.

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 5750
  • Country: nl
Re: Alternative to CooCox for STM32 development
« Reply #50 on: May 17, 2016, 02:47:23 pm »
Apples to apples.... Keil is $700.
Where can I sign?  :)
Unfortunately the prices are in the correct ballpark, this is a pricelist from 2012, already over $5,5k for basic version.  :scared:
For the STM32F0 there is now a free version payed by ST but not for the F1,2,3,4,7.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 5750
  • Country: nl
Re: Alternative to CooCox for STM32 development
« Reply #51 on: May 17, 2016, 02:51:57 pm »
Ah found a recent one, as expected it got worse.
TS could use the cortex restricted version, still €3,4k without 21% VAT, including it would make > €4k :scared:
« Last Edit: May 17, 2016, 02:54:03 pm by Kjelt »
 

Offline jnz

  • Frequent Contributor
  • **
  • Posts: 465
Re: Alternative to CooCox for STM32 development
« Reply #52 on: May 17, 2016, 05:00:53 pm »
They just launched the Plus and Cortex models. I thought it was $700 to get going, but that's apparently my renewal rate. Well, $700 is good for me at least ;)
 

Offline Sal Ammoniac

  • Frequent Contributor
  • **
  • Posts: 940
  • Country: us
    • Embedded Tales Blog
Re: Alternative to CooCox for STM32 development
« Reply #53 on: May 17, 2016, 05:22:16 pm »

so eclipse is an ide only, you need a compiler which is gcc. so installing gcc and eclipse is enough for all arm mcu development?

You need the following pieces:
  • Eclipse
  • CDT -- The C/C++ development platform for Eclipse
  • GCC ARM embedded toolchain -- The GCC cross-complier, assembler, and linker for ARM
  • GNU ARM Eclipse plugins -- This package integrates the GCC cross compiler and associated tools needed to compile and link ARM code into Eclipse and provides configuration dialogs
  • GNU ARM Eclipse build tools -- This includes make, which is used by Eclipse to build projects

You also need software to connect your hardware debugger to Eclipse. I use a Segger J-Link, so I use the Segger Software and Documentation Pack for Windows.

Next, you'll need C header files for your MCU. You can generally get these from the MCU vendor. If you want to see the MCU's peripheral registers in Eclipse, you need EmbSysRegView, an Eclipse plug-in, and the ARM CMSIS-SVD file for your MCU, which you can download from the ARM website.

It only takes about an hour to download and install these components, perhaps a little longer the first time. I have a write-up that describes the process in detail. Send me a PM with your email address and I'm email you a copy if you'd like.

Quote from: Lukas
I'm wondering why nobody mentioned Atollic TrueStudio yet. It's basically Eclipse+GNU toolchain shrink-wrapped. There's a free unlimited version. In case you want/have to spend money, there's a paid version as well.

TrueStudio, when debugging code, is as slow as molasses in January. Downloading code to a board seems to take forever and single-stepping code is ridiculously lethargic. I used to think this was because Eclipse was slow, but after I built my own Eclipse development environment I found that Eclipse isn't slow, just TrueStudio.
 

Offline richardman

  • Frequent Contributor
  • **
  • Posts: 427
  • Country: us
Re: Alternative to CooCox for STM32 development
« Reply #54 on: May 17, 2016, 07:00:26 pm »
Ah found a recent one, as expected it got worse.
TS could use the cortex restricted version, still €3,4k without 21% VAT, including it would make > €4k :scared:

Just wait until they have no commercial competition :-DD
// richard http://imagecraft.com/
JumpStart C++ for Cortex (compiler/IDE/debugger): the fastest easiest way to get productive on Cortex-M.
Smart.IO: phone App for embedded systems with no app or wireless coding
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8229
  • Country: 00
Re: Alternative to CooCox for STM32 development
« Reply #55 on: May 17, 2016, 07:16:11 pm »
" Just wait until they have no commercial competition :-DD"

Unless they want to kill themselves: arm is also leading the free gcc-arm effort, killing toolchain lenders on the low end, while killing the same low end vendors hope of moving to the high end with its keil offerings. That has gotten to get some people mad.

Not to mention iar.
================================
https://dannyelectronics.wordpress.com/
 

Offline jnz

  • Frequent Contributor
  • **
  • Posts: 465
Re: Alternative to CooCox for STM32 development
« Reply #56 on: May 17, 2016, 07:47:51 pm »
" Just wait until they have no commercial competition :-DD"

Unless they want to kill themselves: arm is also leading the free gcc-arm effort, killing toolchain lenders on the low end, while killing the same low end vendors hope of moving to the high end with its keil offerings. That has gotten to get some people mad.

Not to mention iar.

It wasn't a bad idea for ARM to buy Keil, the business plan you described does make a lot of sense.

Interesting to me that vendors like Rowley who I found to offer an excellent toolchain, get no love while everyone wants to duplicate effort on top of effort by rolling their own IDEs. Rowley was like $100-300. I mean, I'm not moving from Keil, but if I was, it wouldn't be to some dead project or some open source free-for-all, I just don't have the time for that.
 

Offline Sal Ammoniac

  • Frequent Contributor
  • **
  • Posts: 940
  • Country: us
    • Embedded Tales Blog
Re: Alternative to CooCox for STM32 development
« Reply #57 on: May 17, 2016, 08:40:45 pm »
Interesting to me that vendors like Rowley who I found to offer an excellent toolchain, get no love while everyone wants to duplicate effort on top of effort by rolling their own IDEs. Rowley was like $100-300. I mean, I'm not moving from Keil, but if I was, it wouldn't be to some dead project or some open source free-for-all, I just don't have the time for that.

An open source free-for-all as you call it probably isn't a wise choice for someone doing commercial work. It's usually well worth the cost to go with Keil, IAR, or Rowley rather than use one of the free options with sketchy support.

For hobby use, one of the free options, including rolling your own from Eclipse/CDT/GDB, is more viable. Community support via forums is not so bad when you don't have a hard deadline approaching and your boss is breathing down your neck.
 

Offline richardman

  • Frequent Contributor
  • **
  • Posts: 427
  • Country: us
Re: Alternative to CooCox for STM32 development
« Reply #58 on: May 17, 2016, 09:04:31 pm »

Interesting to me that vendors like Rowley who I found to offer an excellent toolchain, get no love while everyone wants to duplicate effort on top of effort by rolling their own IDEs. Rowley was like $100-300. I mean, I'm not moving from Keil, but if I was, it wouldn't be to some dead project or some open source free-for-all, I just don't have the time for that.

Note that the $100-$300 Rowley are the NON-COMMERCIAL use versions, their commercial version is still much less than IAR/Keil though. Still a bit higher than ours, but a good alternative to IAR/Keil also, IMHO.

« Last Edit: May 18, 2016, 05:53:18 am by richardman »
// richard http://imagecraft.com/
JumpStart C++ for Cortex (compiler/IDE/debugger): the fastest easiest way to get productive on Cortex-M.
Smart.IO: phone App for embedded systems with no app or wireless coding
 

Offline Sal Ammoniac

  • Frequent Contributor
  • **
  • Posts: 940
  • Country: us
    • Embedded Tales Blog
Re: Alternative to CooCox for STM32 development
« Reply #59 on: May 18, 2016, 04:40:17 pm »

Interesting to me that vendors like Rowley who I found to offer an excellent toolchain, get no love while everyone wants to duplicate effort on top of effort by rolling their own IDEs. Rowley was like $100-300. I mean, I'm not moving from Keil, but if I was, it wouldn't be to some dead project or some open source free-for-all, I just don't have the time for that.

Note that the $100-$300 Rowley are the NON-COMMERCIAL use versions, their commercial version is still much less than IAR/Keil though. Still a bit higher than ours, but a good alternative to IAR/Keil also, IMHO.


Even $5K for a Keil or IAR license is not a large number when you consider that the burdened cost of an engineer is often $200/hr or more. That $5K license only amounts to 25 hours of engineering time. If you save that much time over the lifetime of the license by taking advantage of product features and/or tech support, then the license is essentially free.

Many managers are penny wise and pound foolish. They fail to see that spending money on superior tools, even if they're expensive, pays off in the end in increased productivity that more than makes up for the cost of the tool.
 
The following users thanked this post: jnz

Online Quarlo Klobrigney

  • Frequent Contributor
  • **
  • Posts: 552
  • Country: pt
  • Behind every alfoil hat is a genius
Re: Alternative to CooCox for STM32 development
« Reply #60 on: June 04, 2016, 08:31:08 pm »
As they say in a former neighborhood I used to live in "CooCox be dead" :--

So, I am trying to code the STM32F7 in C (I'm an assembly man) and the best thing I found so far to integrate it all together is this:
How to prepare IDE for STM32 in eclipse?
 
He speaks a little softly, but just follow the bouncing ball. :-+

For those who copy and paste, in the External Tools Configuration section, the text is as follows:
-f scripts/interface/stlink-v2.cfg
-f scripts/target/stm32fxx_stlink.cfg
-c "init; reset halt"
-c "flash write_image erase project_name.elf"
-c "reset run; shutdown"

And for those who also like STM32, another thing is to read Carmine Noviello's book Mastering STM32: https://leanpub.com/mastering-stm32 where he clearly explains how to install a standalone Eclipse.

I recommend Eclipse Mars. :-+

Eclipse tutorials for different chipsets are out there. Just look.
There's one on TI that's good as well.

The best part is that this is all free.
« Last Edit: June 04, 2016, 08:58:07 pm by Quarlo Klobrigney »
Voltage does not flow, nor does it go.
 

Offline jmsigler

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: Alternative to CooCox for STM32 development
« Reply #61 on: June 04, 2016, 10:20:10 pm »
It may have been linked in this thread already, but I used this website http://gnuarmeclipse.github.io/install/ which is maintained by the guy who leads the plugin development. It walks you step by step through the process and was easy enough to follow.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8229
  • Country: 00
Re: Alternative to CooCox for STM32 development
« Reply #62 on: June 04, 2016, 10:24:48 pm »
Quote
The best part is that this is all free.

not sure. I have found that the most expensive  things I have bought in tend to be free.

Instead, the best part of anything, particularly a tool that I need to make a living off of, is that it works.
================================
https://dannyelectronics.wordpress.com/
 

Offline ez24

  • Super Contributor
  • ***
  • Posts: 3092
  • Country: us
  • L.D.A.
Re: Alternative to CooCox for STM32 development
« Reply #63 on: June 04, 2016, 11:57:40 pm »
And for those who also like STM32, another thing is to read Carmine Noviello's book Mastering STM32: https://leanpub.com/mastering-stm32 where he clearly explains how to install a standalone Eclipse.

How does it work buying a 60% book?  Looks interesting and I like the web site.  thanks
YouTube and Website Electronic Resources ------>  https://www.eevblog.com/forum/other-blog-specific/a/msg1341166/#msg1341166
 

Online Quarlo Klobrigney

  • Frequent Contributor
  • **
  • Posts: 552
  • Country: pt
  • Behind every alfoil hat is a genius
Re: Alternative to CooCox for STM32 development
« Reply #64 on: June 05, 2016, 01:38:04 am »
How does it work buying a 60% book?  Looks interesting and I like the web site.  thanks

Did you not see that you can download it, so far, as is, FOR FREE?
http://samples.leanpub.com/mastering-stm32-sample.pdf

And... "The LeanPub platform works so that once you buy the full book you receive all the updates for free. LeanPub is a sort of crowdfunding platform for books."
« Last Edit: June 05, 2016, 01:44:15 am by Quarlo Klobrigney »
Voltage does not flow, nor does it go.
 
The following users thanked this post: thm_w

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 1990
  • Country: 00
Re: Alternative to CooCox for STM32 development
« Reply #65 on: June 05, 2016, 01:56:54 am »
Here you can check

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools.html?querycriteria=productId=SC2106

 I suggest MDK-ARM-STM32 Free MDK-ARM licenses can be activated for both STM32F0 and STM32L0
 

Online Quarlo Klobrigney

  • Frequent Contributor
  • **
  • Posts: 552
  • Country: pt
  • Behind every alfoil hat is a genius
Re: Alternative to CooCox for STM32 development
« Reply #66 on: June 05, 2016, 02:01:46 am »
The original topic was what alternatives were there for high $$ (or insert you method of payment here), for development tools. For the learner or hobbiest that would like to do more than blink a LED because of time or code size limitations, Eclipse is about the only answer to someone not making a living off it. If you are, then pay...

Off the original topic, I purchased the 60% incomplete book, with all of its 587 pages so far.
Looks a treat.
Voltage does not flow, nor does it go.
 

Offline ez24

  • Super Contributor
  • ***
  • Posts: 3092
  • Country: us
  • L.D.A.
Re: Alternative to CooCox for STM32 development
« Reply #67 on: June 05, 2016, 02:28:48 am »
How does it work buying a 60% book?  Looks interesting and I like the web site.  thanks

Did you not see that you can download it, so far, as is, FOR FREE?
http://samples.leanpub.com/mastering-stm32-sample.pdf

And... "The LeanPub platform works so that once you buy the full book you receive all the updates for free. LeanPub is a sort of crowdfunding platform for books."

Yes but the free version is an evaluation copy - the endings of most chapters are missing
YouTube and Website Electronic Resources ------>  https://www.eevblog.com/forum/other-blog-specific/a/msg1341166/#msg1341166
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 1990
  • Country: 00
Re: Alternative to CooCox for STM32 development
« Reply #68 on: June 05, 2016, 02:53:10 am »
Isn't evaluation

Only works with stm products, no limitation

 

Offline ez24

  • Super Contributor
  • ***
  • Posts: 3092
  • Country: us
  • L.D.A.
Re: Alternative to CooCox for STM32 development
« Reply #69 on: June 05, 2016, 03:17:05 am »
Isn't evaluation

Only works with stm products, no limitation

I think we are getting things mixed up - I am talking about a book

https://leanpub.com/mastering-stm32

which has a free sample but if you look at the sale of it - it shows that the book is only 60% complete but still for sale.  This is the part I do not get.   Looks like the author did a good job on it and I think I will buy it if I can figure out the 60% of the deal.

YouTube and Website Electronic Resources ------>  https://www.eevblog.com/forum/other-blog-specific/a/msg1341166/#msg1341166
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 3503
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Alternative to CooCox for STM32 development
« Reply #70 on: June 05, 2016, 09:44:58 am »
Eclipse is about the only answer to someone not making a living off it. If you are, then pay...

If you're not developing commercially, then CrossWorks is US$150. If your code fits into 16k, it's free.

Offline blueskull

  • Supporter
  • ****
  • Posts: 12619
  • Country: cn
  • Power Electronics Guy
Re: Alternative to CooCox for STM32 development
« Reply #71 on: June 05, 2016, 10:53:41 am »
If you're not developing commercially, then CrossWorks is US$150. If your code fits into 16k, it's free.

If it's not for work, then GCC should work well, or Atollic free version. Both does not come with potent debugger, but should be fine for DIYers.
I built my senior design robot platform with GCC, from MCU part (MSP430+SPI+nRF+command parser+PID+PWM+power mgmt), cluster controller part (Galileo, Arduino+nRF+BT), computer control panel (wxWidgets+OpenCV+TCP/IP+PID+my own CV algorithm) to internet server (TCP/IP, cryptography, authentication and command queue). The only debugging tool is printf and a blinking LED, yet I managed to finish the entire project, from concept to finish, from schematic level to protocol, without a single library except for OpenCV and wx, almost on my own with help from a junior student (who did 20% of the work), in less than a year.
I use GCC exclusively on my all project till now on all platforms with only 2 exceptions: where there is a free or mandatory tool from the chip maker (Simplicity Studio, CCES, etc.) or ARM-M (occasionally, for quick projects, ImageCraft Compiler courtesy of forum member Richardman).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf