Remap help

Guest #1171506
Rate this post
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_projects/index_at91.html#at91_gamma
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_projects/lpc2k_bundle_port/index.html


Martin Thomas

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now