AT91RM9200 command line compilation options using winarm,

Guest #1171568
Rate this post
• ▲ useful
▼ not useful
ac wrote:
> I m using Winarm tool and AT91RM9200 processor. I would like to know
> that wheather the tool works with said processor? If so plz suggest the
> command line options.

There is at least a register definition file for the AT91RM9200. But
there are no examples for this µC.

So i think you have to write linker control scripts and startup code.
Perhaps you can use some code from WinARMs AT91SAM764 examples. But this
is no trival task for a beginner with this µC and/or ARM assembler/C.

Stefan
Guest #1171569
Rate this post
• ▲ useful
▼ not useful
Stefan wrote:
> ac wrote:
>> I m using Winarm tool and AT91RM9200 processor. I would like to know
>> that wheather the tool works with said processor? If so plz suggest the
>> command line options.
>
> There is at least a register definition file for the AT91RM9200. But
> there are no examples for this µC.
>
> So i think you have to write linker control scripts and startup code.
> Perhaps you can use some code from WinARMs AT91SAM764 examples. But this
> is no trival task for a beginner with this µC and/or ARM assembler/C.
>
> Stefan

A good starting point are the examples provided by Atmel on
http://www.at91.com/Pages/products/EvaluationBoard/AT91RM9200EK/at91rm9200ek.html

The header-files with the register-defintions should work out of the box
with any C-compiler. An example startup-code is available from Atmel for
ADS- and the Green-Hills-toolchain but it is not very difficult to port
them to the gnu-Assembler. For a linker-script please read the
ld-documentation, it's not very difficult to setup a simple
linker-script for the first steps but it may be some work to get
everything right (remapping etc.).

Martin Thomas

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.