We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
On ARM platform I am trying to configure a loader as follow: loader at 0x0, application at 0x4000 Loader has its own startup code, at 0; application use RTX o.s., and has its own startup code. At reset, loader has control, if application is present then starts it beginning from "reset vector" of application. My problems are: 1) where can i locate the startup code of application ? 2) how loader can use the "reset vector" of application to start it ? if i tell the linker to locate startup code of application anywhere but 0x0 (i.e. i have tried to allocate startup code at 0x4000), the link process is successfully but application, loaded with ULINK, does not start. But at 0 i have loader, i can't erase or change it. I would like to obtain an application code that i can still debug with ulink, possibly linking both loader and application in only one project. Anyone can help me ? Many thanks in advance.