EmbDev.net

Forum: ARM programming with GCC/GNU tools Startup.s


Author: John As (johnnie)
Posted on:

Rate this post
0 useful
not useful
Hi,

    I'm new for ARM controllers. so first of all I need to know about
startup code of ARM.if any one can give me basic information about
writing startup files  so it would be help full for me.

    or can give me any link for the same..
J.AS

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

Rate this post
0 useful
not useful
John As wrote:
> Hi,
>
>     I'm new for ARM controllers. so first of all I need to know about
> startup code of ARM.if any one can give me basic information about
> writing startup files  so it would be help full for me.
>
>     or can give me any link for the same..
> J.AS

Did you even try to search for information on this topic or to
understand available example-codes with startup? This forum is not a
Google/yahoo-replacement.

You did not mention:
- ARM-core (i.e. startup of Cortex-M3 is different from ARM7TDMI)
- controller (i.e. the init for the interrupt-system is different
depending if there is a interrupt-controller and which one)
- toolchain (since for most cores some assembly-code is needed and the
directives are toolchain-specific, the starup-code usually uses some
information created by the linker, also toolchain-specific)

You may look for example:
- the "arm bare-metal" tutorial from embedded.com
- Example-applications from controller- and compiler-manufactures
- the AT91 Application notes on startup from Atmel
- Application notes from other vendors.
- http://infocenter.arm.com/help/index.jsp

Even if you use another compiler/toolchain or another controller you
will get the basic idea what has do be done during startup and how to
setup the interrupt-system. If you still have problems please ask more
specifically.

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.