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
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
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.