Users Manual TOPAS900 Flash V2.1
Compile and Link
Preparing programs for execution, i.e. compile and link, can be done by a single DOS command line invoking a so called driver: for
For further information on drivers please refer to the “language tool operation manual”.
Please notice that the drivers additionally invoke the linker “tulink”. For linking a linkage command file is needed with the extension is needed. The usual filename extension is “.LNK” or “.LCF”. This file defines the desired mapping of variables and of program code to memory addresses. Examples of linkage command files to fix user programs into TOPAS900 memory please refer to the examples in “\SAMPLE\TEST900“ directory. In all subdirectories are files named ”MAKE.BAT“. Executing these files will compile and link the sample projects. Detailed information can be found in the respective manual. The user always should add the assembler file “STARTUP.ASM” to the link command which embeds user programs into some initializing code and should use the linkage command file “SAMPLE.LNK” which sets the correct target address space. The STARTUP.ASM program also includes the “IO900.H” file in which all implemented input/output addresses are defined by variables and can be applied by user programs.
Program preparation for debugging
To prepare programs for source level debugging the driver has to be invoked with
Program format conversion
Executable programs (extension “.ABS”) can be converted to
Converting for Internal and External Memory
To program software to internal or external flash memory
Sample command lines:
Converting for external memory:
HWU Elektronik Oberhausen | Page 20 |