User Manual

GAMMA instabus
Release: 12/2015
Application Program Bus Interface Modules M130, M131, M132 and M135
Runtime Environment for KNX-Processors 184/11 and 184/21
Siemens AG pages 17 Technical Manual
Building Technologies
Control Products and Systems
P. O. Box 10 09 53, © Siemens AG 2015 page 11
D-93009 Regensburg Subject to change without further notice.
5 How to make a RELEASE
There are two possibilities that could be done with a ready developed BIM M 13x application.
First a S19 file could be generated for an ETS database entry. For this the KNX
manufacturer tool is necessary. In the manufacturer tool the S19 file could be imported for a
new database entry that in turn could be imported in an ETS project after the registration of
the database entry.
The other method is to flash the BIM M 13x device with a flash programmer (e.g. Renesas
PG-FP5).
The procedure for these both possibilities is explained in the following.
5.1 S19 for download via bus
To generate a S19 file that could be imported in the KNX manufacturer tool it is necessary to
convert the memory addresses and to add ‘load controls’. The memory conversion has to be
done because as mentioned above the BIM / chipset operating system does a memory
translation for ETS compatibility. Therefore a byte located at 0x8116 in the microcontroller
has to be set at 0x0116 in the S19 file for bus download because the operating system will
set it back to 0x8116.
The ‘load controls’ are necessary to control the processing of the address, association and
communication object description table and the application program.
The memory conversion and adding of ‘load controls’ is done by a command line tool
installed with the BIM-Tools. A project generated with the BIM-Tools Project Wizard has
already set the “Post-build command line”-option to the command line tool aioc.exe with the
necessary command line arguments. It is specified via “Project”, “Options…”, dialog “Build
Actions” in the text box “Post-build command line as follows:
<program path>\aioc.exe -t modifier --targs <comment> <config file> <input file> <output file>
<program path>: means the complete path to the “aioc.exe”
<comment>: a string that will be inserted as S19 comment
<config file>: xml configuration file for the modifier (normally "$PROJ_DIR$\config.xml")
<input file>: the input S19 file (generated from IAR Embedded Workbench)
<output file>: the output file name