|
The RomBoot loader sanity checks the code before jumping to it. The modified vector must contain the length of the image, or the max size of one of the SRAM banks. The size of the of the SRAM will depend on the part you are using. The other vectors are check for standard vectoring instructions. If the tests fail, RomBoot does not map SRAM to 0x00000000, and your code does not execute.
SAM-BA performs this vector modification as part of it's boot writing function, so that it will pass the RomBoot test.
Last edited by CptTitanic on Tue Mar 08, 2011 2:25 pm, edited 1 time in total.
|