Pages: 1 2 3 [4]   Go Down
Author Topic: STM32F4  (Read 18520 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 126
Posts: 8517
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can someone tell me how much Atollic costs? And is the Lite (that's free isn't it?) version good enough?

EDIT: Just read this about the Lite version

Quote
Code-size limitation 32KB (8KB on CM0)
Languages supported Asm, C

so no it's not good enough.

______
Rob
« Last Edit: November 01, 2012, 03:14:15 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
God Member
*****
Karma: 32
Posts: 830
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

so no it's not good enough.

How about some good ol' gcc-based toolchains then?
Logged

WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Greenville, IL
Offline Offline
Edison Member
*
Karma: 15
Posts: 1330
Warning Novice on board! 0 to 1 chance of errors!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can someone tell me how much Atollic costs? And is the Lite (that's free isn't it?) version good enough?

EDIT: Just read this about the Lite version

Quote
Code-size limitation 32KB (8KB on CM0)
Languages supported Asm, C

so no it's not good enough.

______
Rob

 When I signed up for the Lite version, they offered 3 or 4 other versions at various costs. Different levels offered debugging and pre-made applications that would be included. I don't remember the pricing though. It won't cost you to sign up.
Logged


nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 126
Posts: 8517
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How about some good ol' gcc-based toolchains then?
I spent half a lifetime dicking with makefiles etc. These days I just want type some code into a flash-looking IDE and click on "GO" smiley

Quote
they offered 3 or 4 other versions at various costs.
I hate companies that want you to sign up just to get a price though, for all I know they start at $500 in which case I've wasted my time.

I'll give it a go though and find out.

5 minutes later:
Yikes! 366Mb download, maybe in another life smiley

______
Rob
« Last Edit: November 01, 2012, 07:27:35 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

CooCox has a gcc-based solution.

Both IAR and Keil offer really good solutions, and in the case of IAR, the same IDE covers multiple mcus.
Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If you wanted to hold something like an IP address (32bits for v4), you could use an "int" on an ARM, but you'd have to use a "long" on an AVR: an incompatibility.

That's because int is a 32-bit data type on the arm, but a 16-bit data type on the avr.

uint32_t is always 32-bit on all platforms.

BTW, STM32F4 is one hell of a chip, and the board is a great value for your money.
Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 830
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How about some good ol' gcc-based toolchains then?
I spent half a lifetime dicking with makefiles etc. These days I just want type some code into a flash-looking IDE and click on "GO" smiley
Which is fine, except when it doesn't. ("Go", that is.)

That's why I still prefer the makefiles, etc. Sure it takes a bit of setting up for each new platform to get things working, but after that, it's pretty much just "Go". And if it "fails to proceed" at any later stage, for any reason, just pop the lid and fix it (and you know how to fix it because you put it together in the first place.)

No free lunch theorem. If makefiles are a pain, the alternatives are all worse. I've even heard about this IDE where the build was all done via hard-coded Java instructions.... I kid you not!
« Last Edit: November 01, 2012, 09:40:47 am by pico » Logged

WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 126
Posts: 8517
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That's true, when you work at the bare metal level you can always fix things.

I've looked at CoCox and all the others, as far as I can tell you have to spend money to get C++ and a decent code size limit. There's always a gotcha like it doesn't work with my LPC Xpresso boards, doesn't support the LPC1227  or something.

I currently use the Code Red free IDE, only down side to that is that it's only C not C++ although I think you can get around that if you supply your own makefile for a project.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Greenville, IL
Offline Offline
Edison Member
*
Karma: 15
Posts: 1330
Warning Novice on board! 0 to 1 chance of errors!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 Here is some information to get the STM32F4 chip to work with LeafLabs Maple IDE. It is free but, I don't understand how to do it all. Maybe, you can make some since of it.

http://forums.leaflabs.com/topic.php?id=1419

http://forums.leaflabs.com/topic.php?id=630

http://wiki.leaflabs.com/index.php?title=Porting_libmaple
Logged


Offline Offline
Full Member
***
Karma: 1
Posts: 131
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am still going with the STM32F4 its a really good chip for DSP etc.

The 32K code size is not something that has limited me as of yet, I am unsure how big a 32K program would be?

I couldnt get Keil or CooCox to work with my system I set it all up as stated but I just couldnt get it to work

So now I have started a PhD and I will be doing a lot of electronics/programming looking ahead I am wondering what the hell I will do if I reach the 32K program limit? my new University no doubt will have lots of software for me to use but I want something I can get myself without worrying about licences etc

Anyone got any suggestions?
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 133
Posts: 6749
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Learn to compile gcc cross compilers...
Logged

St. Leonards-on-Sea, E. Sussex, UK.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 301
Ancient developer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I use Rowley CrossWorks with my STM32F4 Discovery board:

http://www.rowley.co.uk/

The STM32 CPU Support Package includes some sample projects for the board, making it very easy to get started.
Logged

Leon Heller
G1HSM

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 126
Posts: 8517
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@Leon
You may know this. How does Crossworks compare to the LCPXpresso environment? It's $150 vs $256 for the Xpresso so that's good but do you also need to buy a debugger or can it work with my existing LPC-links on the Xpresso boards?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is really difficult to not get keil or iar to work. The most likely issue will be with the wrong versions of those ides that don't have the drivers to support st-link/v2.

Logged

St. Leonards-on-Sea, E. Sussex, UK.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 301
Ancient developer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Leon
You may know this. How does Crossworks compare to the LCPXpresso environment? It's $150 vs $256 for the Xpresso so that's good but do you also need to buy a debugger or can it work with my existing LPC-links on the Xpresso boards?

______
Rob

The CrossWorks IDE is much better than Eclipse, which is used by the LPCXpresso. It won't work with the LPCXpresso JTAG interface, although most other JTAG interfaces are supported.
Logged

Leon Heller
G1HSM

Pages: 1 2 3 [4]   Go Up
Jump to: