This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can I change the location of INIT.A51?

Hi,
How can I locate the INIT.A51 code at e.g 0x1000?
Is it a usual segment?
Does the INIT.A51 do anything except initialize static vars?

(The problem is that I want to use a bootloader and 2 images. First the bootloader's startup and init.a51 code will run, then the bootloader code and then I want it to jump to the correct image and initialize the static variables of the specific image chosen...)

Thanks

Parents
  • So how can I locate the whole chunk of startup and init code at a different location?
    The only thing that the knowledge database tells you is how to relocate the main function...
    How can I relocate the startup code?
    If all the startups and inits will be at 0x0 they willl overrun each other...

    P.S
    The 2 images don't have interrupt vectors so overrunning those isn't an issue.

Reply
  • So how can I locate the whole chunk of startup and init code at a different location?
    The only thing that the knowledge database tells you is how to relocate the main function...
    How can I relocate the startup code?
    If all the startups and inits will be at 0x0 they willl overrun each other...

    P.S
    The 2 images don't have interrupt vectors so overrunning those isn't an issue.

Children