Raisonance
raisonance
Raisonance - Embedded Development Tools
Download free software Access our Support Forum
sitemap




access the Price List

 

 RL-ST6 
Linker

With the RIDE interface, the implementation of the RL-ST6 linker is easy, as the file and library list is automatically made. Default options allow immediate application of the linker in a way that is nearly transparent to the user.

The RL-ST6 Linker is used for linking files (relocatable modules) that have been assembled or compiled separately, in order to produce a single file, which is directly usable in the programming of an EPROM (ROM), or for loading onto a debugging tool such as the SIMICE-ST6 simulator.

RL-ST6 only processes files in relocatable OMF-ST6 format, generated by MA-ST6 assemblers and RC-ST6 compilers in files with the extension OBJ. The final file produced by RL-ST6 is also in OMF-ST6 format, but contains only absolute segments, rather than relocatable segments. This file has the suffix AOF. The OMF-ST6 format, is compatible with all RAISONANCE's tools.

Linking process

The stages are :

  • Choice of the necessary modules. Modules containing non useful information will simply be ignored.
  • Allocation of necessary memory space for each of the segments declared in the selected modules, and translation of intra-module references.

 

  • Resolution of the EXTERNAL references between modules.

  • Generation of absolute code.

  • Detection of errors or anomalies arising from the preceding stages, and creation of a list file.

Generated files

RL-ST6 creates two types of file: absolute code files and list files. These files have the same name, but different suffixes: MS6 for the list, AOF for absolute code.

The "*.MS6" file includes 2 parts for the memory mapping. The first one concerns the DATA space (with or without bank switching) and the second one concerns the CODE space (with or without bank switching).

The format of the output files is the same as that of the input files i.e OMF-ST6. As these output files no longer contain relocatable segments, they can be directly loaded by RAISONANCE's debugging tools: SIM-ST6. These output files keep the tables of symbols in order to allow symbolic debugging.

The listing is an ASCII file that reports errors encountered during the Linking process, physical spaces addresses for all relocatable segments, and a table of symbols.

 


RL-ST6 and RIDE

The RIDE Integrated Development Environment is very useful when using RL-ST6.
The file and library lists are built automatically for the user and default options allow results to be generated quickly.
The file order is exactly the same as the one displayed in the window " Project ".
When user libraries are added to the project, it is important to put them at the end of the list.

 

RIDE allows compilation, assembly and linking operations to be instigated via MAKE, BUILD ALL and LINK commands.

The window for linker options allows definition of the libraries and directives used during linking.

The following window is opened with the RIDE command Options | Project | RLST6.

  • Miscellaneous

    • Generate a Hex file: Generates a Hex output file. Checked by default.

    • Generate a Binary file: Generates a Binary file within the project. Not checked by default.

    • Include Debug Information: Debug information is to be placed in the output file. Checked by default.

  • ROM

    • Fill Unused areas: Select this option to fill the unused areas of the ROM. By default this option in not checked. Filling value: Value to put in the unused areas of the ROM.

    • Fill Reserved Areas: Select this option to fill the reserved areas of the ROM. By default this option is not checked. Filling value: Value to put in the reserved areas.

  • Libraries

Use RCST6x.LIB library files: Select this option to use the RC-ST6x.LIB library.

  • RAM

    • Initialized Static RAM Size: Value from 0 up to 64.

    • Printf argument max size: Number of bytes necessary in the stack segment of printf for the argument passing.

 

Home | Company Profile | News & Events | Products | Support | Download | Buy on line | Contact