EmbDev.net

Forum: ARM programming with GCC/GNU tools STA2051 Exemple


Author: Ace Kim (vov798)
Posted on:

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

Share if you have probably a sample example.

thank you.

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 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

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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.

Author: Spencer Oliver (ntfreak)
Posted on:

Rate this post
0 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

Author: Spencer Oliver (ntfreak)
Posted on:

Rate this post
0 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

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 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...

Clifford

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful

Author: Spencer Oliver (ntfreak)
Posted on:

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

Cheers
Spen

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.