The linker that ships with CCSv4 has an option that causes
variables to be initialized either at 'load time' or at 'run
time.' I have yet to find an explanation of the difference
between these points in time, but using the words themselves
I come up with:
- Run time: When the processor executes the power-up
vector, or the same time the system is turned
on.
- Load time: When load module is transferred into the
processor. In an embedded product, this can
only happen once, in the factory, during the
programming step.
So I must conclude the manuals really use 'load time' to
refer to the point when the debugger connects to the target
system during testing. That would mean a segment of my code
never gets exercised until I switch back to 'run time' prior
to release.
This seems like a pure disadvantage to me. What am I
missing?
============================================================
Gary Lynch