Meaning
Advanced linking technology provides the bridge between compiled code modules and the final executable image destined for an embedded processor. The iar ilink tool is a high performance linker that offers sophisticated control over memory placement and code optimization. It is part of a proprietary toolchain known for producing tight, efficient code for microcontrollers.
Direct Placement
Specific memory addresses can be assigned to individual variables or functions using specialized directives in the configuration file. This capability of iar ilink allows for the placement of critical interrupt vectors at the very start of the memory map. Hardcoded addresses ensure that the hardware always finds the correct entry points for time-sensitive events.
Safety Calculation
Data integrity is maintained through the automatic generation of checksums and cyclic redundancy checks across specified memory ranges. During the linking process, iar ilink calculates these values and embeds them into the final binary image. System firmware uses these values at startup to verify that the flash memory has not been corrupted.
Output Information
Detailed maps of memory usage and symbol locations are generated to help engineers understand the internal structure of their application. Visibility into the final allocation supports the resolution of memory exhaustion issues.