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 15
D-93009 Regensburg Subject to change without further notice.
5.2 Download with flash programmer
To generate a S19 file that can be downloaded with the Renesas flash programmer the IAR
Embedded Workbench must output a normal S19 (S37 in case of BIM M 132 / chipset
184/21) file. This file has not to be converted as it was done in the previous point because
the flasher writes the data directly to the specified addresses without the operating system of
the BIM. However after the download a few bus telegrams are necessary because the
operating system does not know the start addresses of the address, association and
communication object description table. Therefore the xml configuration file for the modifier
has to be changed that it has no data segments but only the table pointers and the 'Unload',
'Load', 'LoadCompleted' and 'AppData' load controls.
The project wizard automatically generates beside the 'config.xml' file a 'config_pgfp4.xml'
file, too. This file can be used regardless which flash programmer is used to program the
device (switch to "Release" configuration in IAR EWB and replace the "config.xml" statement
with "config_pgfp4.xml" in the "Post-build command line" in "Project" "Options…" "Build
Actions").
In the following the configuration of the Renesas (former NEC) flash programmer PG-FP5
will be described.
5.2.1 PG-FP5
The software for the PG-FP5 flash programmer is used to download the created S19 file.
First it is necessary to generate a setup file (*.esf). This is done via menu "Device"
"Setup…". On the tab "Target" click on button "New" in the area "Parameter file and Setting
file". Enter a name for the *.esf file and select the right *.pr5 file according to the
microcontroller that is used. The *.pr5 file has to be in the same directory where the *.esf file
will be stored. To choose the right *.pr5 file see table below where the used microcontrollers
are shown. Click on button "Save", select in the area "Object HEX file" the *.S19 (*.S37) file
that was generated from the IAR Embedded Workbench and enable "Erase memory before
download". Next go to tab "Standard" and configure the area "Communication interface to
device" with Port "CSI-Internal-OSC" and Speed "2500kHz". In area "Operation Mode" select
"Block” instead of “Chip" programming to avoid erasing the already installed operating
system in the chip. The following table shows the start and end addresses of the different
BIMs and chipsets.
BIM
Chipset
Microcontroller
Start address
End address
M130, M135
184/01
µPD78F0534
µPD78F0534A
0x7800
0x9FFF
M131
184/11
µPD78F0535
µPD78F0535A
0x7800
0xBFFF (0xCFFF)
M132
184/21
µPD78F0537
µPD78F0537A
0x7800
0x13FFF (0x1BFFF)
Enable the check box "Show Address" to see addresses instead of block numbers in the start
and end drop down boxes. On the tab "Advanced" select "On Target" and "Vdd monitoring"
in area "Supply voltage" and in area "Command options" enable "Blank check before Erase"
and "Verify after Program" if you want to do this.