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

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.