EmbDev.net

Forum: ARM programming with GCC/GNU tools STA2051 Exemple


von Ace K. (vov798)


Rate this post
useful
not useful
I am in search for the example about STA2051 CPU.

Share if you have probably a sample example.

thank you.

von Clifford S. (clifford)


Rate this post
useful
not useful
Ace Kim wrote:
> I am in search for the example about STA2051 CPU.
>
> Share if you have probably a sample example.
>
> thank you.

WinARM is supplied with several examples for ARM7TDMI based devices;
start with one of these and adapt it using information from the parts
data sheet. There are such a large number of ARM devices it is not
reasonable to expect examples to be provided for all of them, and rather
denies one of the advantages of using a common ARM core.

Differences between parts tend to be in the organisation of the memory
map and differences in external peripherals, critical for board bring up
being the interrupt controller, UARTS, and possibly timers (especially
if using an RTOS).

Clifford

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
It seems that the STA2051 user-manual and detailed datasheet are not
freely available from the STMirco web-site so it's difficult to help. In
addition to Clifford's suggestions I suggest to ask STmirco for the
STA2051 software libraries mentioned on
http://www.st.com/stonline/press/news/year2005/p1713a.htm. Maybe you
have to sign a NDA. Most of the vendors provide examples for one or
several commercial toolsets (Realview, IAR, Green Hills etc.) but it's
an easier start to port existing code made for another toolchain to GNU
binutils, gcc and newlib than to start from scratch.

von Spencer O. (ntfreak)


Rate this post
useful
not useful
Ace Kim wrote:
> I am in search for the example about STA2051 CPU.
>
> Share if you have probably a sample example.
>
> thank you.

The sta20151 (also called vespucci) is just the str710 without the gps
module. It came from the same division.

Rowley have an example with their ide, but any example for the str710
should run on the sta2051.

Regards
Spen

von Spencer O. (ntfreak)


Rate this post
useful
not useful
Spencer Oliver wrote:
> Ace Kim wrote:
>> I am in search for the example about STA2051 CPU.
>>
>> Share if you have probably a sample example.
>>
>> thank you.
>
> The sta20151 (also called vespucci) is just the str710 without the gps
> module. It came from the same division.
>
> Rowley have an example with their ide, but any example for the str710
> should run on the sta2051.
>
> Regards
> Spen

I meant to say the str710 with gps.

Cheers
Spen

von Clifford S. (clifford)


Rate this post
useful
not useful
Spencer Oliver wrote:
> Rowley have an example with their ide, but any example for the str710
> should run on the sta2051.

The rather obvious Google "STR710 gcc" yielded the following:

http://www.yagarto.de/projects/str7usbmsd/index.html
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/index_str.html

Clifford

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful

von Spencer O. (ntfreak)


Rate this post
useful
not useful
When i mentioned Rowley i meant they have an actual example/header files
for the sta2051.

Cheers
Spen

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.