The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2016, 05:23:50 05:23


Login with username, password and session length


Pages: [1]
Print
Author Topic: STM32, Keil + GNU first steps?  (Read 7891 times)
0 Members and 1 Guest are viewing this topic.
avralam
Active Member
***
 Muted
Offline Offline

Posts: 147

Thank You
-Given: 153
-Receive: 30


« on: December 04, 2010, 07:39:32 19:39 »

How to make Keil+GNU  working with STM32 Value Line Discovery board from ST.com
Boards can buy:
http://www.ebv.com/en/products/stm32-design-contest.html

Please send example codes for STM32.
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #1 on: December 05, 2010, 01:25:28 01:25 »

I haven't got to this point yet, but i saw something good to read on WinARM pages:

http://gandalf.arubi.uni-kl.de/avr_projects/arm_projects/index_cortex.html

-ichan
Logged

There is Gray, not only Black or White.
scrts
Newbie
*
 Muted
Offline Offline

Posts: 23

Thank You
-Given: 11
-Receive: 11


« Reply #2 on: December 05, 2010, 02:53:56 02:53 »

Got the same board. There are examples for IAR, KEIL and some other tool, which I can't remember. However, I suggest You using IAR. Take the example zip file from ST.com, there are about 10 examples with that board fully working with full development environment setup.
Logged
Mega32
Active Member
***
Offline Offline

Posts: 175

Thank You
-Given: 71
-Receive: 38


« Reply #3 on: December 05, 2010, 11:12:17 11:12 »

The suggested (by ST) GCC platform for the STM32VL-Discovery is the Atollic Suite.
However i have been using Codesourcery-Lite without problems.

You will loose the onboard debugging facility if you doesn't use one of the ST suggested Suites.
But as i'm primarily running Linux , witch ST doesn't support for debugging anyway , it'l make no difference for me. And Codesourcery produces nice code.
I'm looking into doing some "Tricks" with the Value board. :-)

Btw: The Keil supported GCC platform usually is Codesourcery.

Edit: This is a nice page for the Discovery
http://gostm32.blogspot.com/

And here is a full intro to STM32 & GCC
http://fun-tech.se/stm32/index.php

I'd still recommend codesourcery lite (The EABI toolchain)


Mega32
« Last Edit: December 05, 2010, 11:19:25 11:19 by Mega32 » Logged
scrts
Newbie
*
 Muted
Offline Offline

Posts: 23

Thank You
-Given: 11
-Receive: 11


« Reply #4 on: December 16, 2010, 02:44:28 02:44 »

Did You check ST-Discovery page? They give some examples there. Also check the Peripheral Library from ST, You can adopt that code examples and libs to Your project easily.

Btw, somehow Keil examples are not working when debuging. Keil debug crashes when started. No problems with IAR.
Logged
avralam
Active Member
***
 Muted
Offline Offline

Posts: 147

Thank You
-Given: 153
-Receive: 30


« Reply #5 on: February 04, 2011, 10:57:19 22:57 »

 Any news for programming STM32 with GNU compiler and debug it in Keil Uvision ?
Logged
Mega32
Active Member
***
Offline Offline

Posts: 175

Thank You
-Given: 71
-Receive: 38


« Reply #6 on: February 06, 2011, 02:49:36 14:49 »

Nope

But here is howto use the STM32VL (12$) (Including debugging via SWD) , with Versaloon and OpenOCD
http://takenapart.com/?p=82

Mega32
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC