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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now