EmbDev.net

Forum: ARM programming with GCC/GNU tools Remap help


Author: alluitz (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello,

I want to perform a remap for an ARM. I was trying to use crt0_rom.s but
I found that after remapping it doesn´t run main function.

Does anybody has a small example which does a remap and after that
executes main program?

Thank you very much,
Alluitz

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
alluitz wrote:
> I want to perform a remap for an ARM. I was trying to use crt0_rom.s but
> I found that after remapping it doesn´t run main function.

Remapping is rather device-specific (Registers, Memory-Map, ...).
Without further information about the target-controller is is difficult
to help (at least for me).

For the Atmel AT91SAM7S-series the "gamma" example from the collection
should give an idea about remapping on these targets:
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm...
IRC there is also some AT91SAM7S code with remapping-functions in the
AT91 yahoo-group's file-section.

On the smaller LPC2000 (i.e. 2129, 2106, 2138) the exception-vectors can
be remapped to different addresses. The code in the example-code-bundle
GCC-port should give an idea:
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm...


Martin Thomas

Author: alluitz (Guest)
Posted on:

Rate this post
0 useful
not useful
I am sorry,

My device is an AT91M42800A.

Thank you very much,
Alluitz

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.