Question:
I have a question regarding a VIP. I have the need for a very large struct
array. I get a size error message telling me to up the value of
RAM_HIGH_ADRS, rebuild and re-flash a new bootloader to fix the problem.
Answer:
I've never put a boot image 'under' a VIP, so I don't even know if
this will work.
I will assume that, if Wind River people told you it will work, then
maybe it will.
If it does, you will have sacrificed nearly 8 meg of RAM, but your
loaded image will not need extended call exception vectors.
The beauty of having the boot image above the RAM load area is that
the loaded RAM based image (the VIP) just 'takes over' the memory the
booter was using.
That's about the best reason I can think of not to do what they're
suggesting by default.
On the subject of long call, it's needed whenever some code calls some
other code that is more than 32 meg away.
Usually a problem when downloading DKMs into a target that has a lot
of memory.
Occasionally even rears its ugly head with statically linked apps --
if it's a huge, bloated C++ application.