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.
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
Do you mean to use the BL51 Locate in uVision3?
no; use the target options dialog ("Project->Options for target"). But you can indeed override the settings of the target tab using the "Use Memory Layout from Target Dialog", to arrange it all in a linker scatter file.
The target options dialog has a few tabs. In the 'Target' tab there is no place to decide the location of the code..Only a checkbox that decides if you want to locate the ROM/XRAM ON chip (addresses are given and you can't change them...) or you can set EPROM off chip code and xram addresses.So I couldn't find what you meant...
Did you mean I should use the off chip ROM memory areas and give begin addresses and sizes that are on-chip?
Thank you