Sie sind auf Seite 1von 14

Manual digsy®

Chapter X

Bootloader TOOLKIT

Zeichnungs - Nummer: 04 – 68 310 000/A

Herausgegeben: 21.06.02

Speicherdatum: 21.06.02

Version: 1.0.0

Dateiname: 04-68310 HB digsy Bootloadertoolkit

Bearbeitung: N. Majumdar

Die Erstellung dieses Dokuments erfolgte mit größtmöglicher Sorgfalt. Die Angaben in diesem Dokument werden
regelmäßig auf Aktualität und Richtigkeit überprüft und können jederzeit ohne gesonderte Mitteilung geändert oder
ergänzt werden. Die Richtigkeit der Angaben in diesem Dokument kann gleichwohl nicht garantiert werden, da sich
Fehler trotz intensiver Bemühungen nicht immer vermeiden lassen. INTER CONTROL behält sich daneben technische
Änderungen am Produkt vor, die ebenfalls zu Abweichungen vom Inhalt dieses Dokuments führen können.
Das Dokument enthält Informationen, die durch Copyright geschützt sind. Vervielfältigen und/oder Übersetzen in andere
Sprachen ist ohne vorherige schriftliche Zustimmung von INTER CONTROL nicht zulässig.
Anregungen und Vorschläge zu Änderungen, bzw. Hinweise auf Fehler in diesem Dokument nehmen wir dankbar auf.
Bitte wenden Sie sich an INTER CONTROL.

INTER CONTROL
Hermann Köhler Elektrik GmbH & Co. KG
Schafhofstraße 30
D-90411 Nürnberg
Germany

Tel.: ++49 911 9522-5


Fax: ++49 911 9522-857
E-mail: info@intercontrol.de
Internet: http://www.intercontrol.de
X- Bootloader TOOLKIT Manual
digsy®

Contents

X Bootloader TOOLKIT ..........................................................................................................X-3


X.1 INTERCONTROL BOOTLOADER TOOLKIT PROGRAM ..........................................X-3
X.1.1 ABSTRACT ..........................................................................................................X-3
X.1.2 REVISION HISTORY ...........................................................................................X-4
X.2 Introduction ..................................................................................................................X-5
X.3 Main Window ...............................................................................................................X-6
X.3.1 Main Screen Buttons ............................................................................................X-7
X.3.1.1 Flashing.............................................................................................................X-7
X.3.1.2 Select File .........................................................................................................X-9
X.3.2 Combo Boxes .......................................................................................................X-9
X.3.2.1 Product..............................................................................................................X-9
X.3.2.2 Com Port ...........................................................................................................X-9
X.3.3 Menu Items .........................................................................................................X-10
X.3.3.1 File Menu ........................................................................................................X-10
X.3.3.2 Help Menu.......................................................................................................X-11
X.3.3.3 Functions Menu ..............................................................................................X-12

04 – 68 310 000/A Seite X-2


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X BOOTLOADER TOOLKIT
X.1 INTERCONTROL BOOTLOADER TOOLKIT PROGRAM
X.1.1 ABSTRACT
This article describes how to use the Bootloader Tool Kit.This program is compatible with the
® ®
digsy family of products. This programme interfaces with the digsy device via the serial port
® ®
and writes the digsy application program(APP)and the operating system(OS) to the digsy
device‘s flash memory. This Program is also capable of reading version,type of OS,APP from
®
the digsy device.

04 – 68 310 000/A Seite X-3


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.1.2 REVISION HISTORY


VERSION DATE DESCRIPTION
1.0.0 7.5.2002 Document creation

04 – 68 310 000/A Seite X-4


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.2 Introduction
®
All digsy devices use an Operating System(OS) developed by InterControl and an Application
Program (APP) usually created by the user. The OS provides the basic functionality of the
device like I/O (Input/Output) handling,communication routines for CAN(Controller Area
Network) , RS-232 interfaces etc. The APP fulfills the individual requirements of the user. Both
®
the OS and the APP reside in the Flash Memory of the digsy device and can be subjected to
updates.
The Bootloader Tool Kit application is used to download the contents of Intel Hexadecimal files
®
to the digsy device flash memory via a serial interface.
®
Before using this programme ensure that the digsy device and the computer are connected via
serial interface using the desired serial port. Usually there are two serial ports present on the
computer namely COM1 and COM2.
®
Once the application is started the serial port to which the digsy device is connected must be
chosen by the user in the application. If the application is not being used the first time the last
used serial port is automatically opened if not used by another application .
®
Writing to the flash memory is possible only when the computer and the digsy device are
correctly connected.
®
The terms device and digsy have been used interchangeably.

04 – 68 310 000/A Seite X-5


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.3 Main Window

®
Select device Displays the digsy
to use Version

Select hex file to be


Select downloaded
desired com

Displays user
selected hex Indicates percentage of
file name flashing completed

Starts the process of Colour Indicator


® active during the
flashing to digsy flashing process.
flash memory.

Password protected
Exit special features of the
application Bootloader Kit for IC
use only

Figure X.1 Opening window with brief overview of functionalities

04 – 68 310 000/A Seite X-6


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.3.1 Main Screen Buttons

X.3.1.1 Flashing

Figure X.2 Flashing completed

When ` Flashing ´ is clicked a message box pops up asking the user to reset the device, the
user should reset the device. At this point the flashing process should start provided the
versions are valid. This process involves writing the contents of the hex file to the flash
memory of the device.
An error message will popup if the file selected by the user is not compatible with the device.In
this situation the user should select a file suitable for the device. The files used by the
application are HEX-FILES.(File extension .hex )

HINT: The file name suitable for a particular device has the first three letters matching
with the device.If the device is CGM the corresponding file names will also
begin with CGM.eg.CGM1_311.hex or CGM1_304.hex.

04 – 68 310 000/A Seite X-7


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

The entire flashing process lasts approximately three minutes. After the flashing process is
completed the checksums are calculated and results displayed. If transmission is successful the
results are displayed against a green background,in case of error the result will be displayed
against a red background.See Fig 1.1.

WARNING: It is advisable that the user does not terminate the Flashing process during the
early stages.

04 – 68 310 000/A Seite X-8


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.3.1.2 Select File


When ´Select File`is clicked a dialog box pops where the user can select the desired HEX-
FILE. To select the hex file compatible with the device the user should choose a file where the
first three letters match the name of the device.eg.CGM1_304.hex if the device is CGM.
If the user presses ´Okay´ the file is selected and displayed in the edit box. If the user selects
´Cancel` the last used HEX-FILE is displayed.
If the user is using the programme for the first time he must choose a file before he can start
flashing. In this case the message ´SELECT THE FILE TO BE DOWNLOADED FROM THE
FILE MENU´appears in the edit box in the opening screen.

X.3.2 Combo Boxes

X.3.2.1 Product
The Product Combo Box displays the list of available products. The user can choose the device
from this list.

X.3.2.2 Com Port

The Com Port Combo Box lists the total number of available serial ports on the user‘s machine.
The user can choose the desired serial port from this list. Port selection will be successful if the
serial port is free i.e not used by another application. The last used serial port if free is
automatically opened at the start of the application. In this case if the download file is selected
the user can start flashing straightaway.

04 – 68 310 000/A Seite X-9


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.3.3 Menu Items

X.3.3.1 File Menu


The `File´ menu provides two options
a)Open..-The user can select HEX-FILE to be downloaded by clicking here.
b)Exit -Clicking on ´Exit ´will close the application.
See Fig 1.2.

Figure X.3 File Menu

04 – 68 310 000/A Seite X-10


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.3.3.2 Help Menu


The ´About`option under Help displays general version and copyright information relating to the
Bootloader Tool Kit. See Fig 1.3.

Figure X.4 Help Menu

04 – 68 310 000/A Seite X-11


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

X.3.3.3 Functions Menu


This menu provides two options

Figure X.5 Functions Menu

a)Erase APP- erases the contents of the application programme from the flash memory of the
device. The user is asked to reset the device and prompted for confirmation before the contents
are erased. See Fig 1.4

HINT: Erasing the APP will result in all user information and configurations being set
to default for e.gThe baudrate is set to 19200 when the device is restarted.

b)Erase Retain- erases the contents of the retain variables from the flash memory of the
device.Retain variables as the name suggests are those variables which retain their values
even when the device is switched off. The user is asked to reset the device and prompted for
confirmation before the contents are erased.
See Fig 1.4.

HINT: If the Erase Retain operation is successful both the retain blocks are erased.

04 – 68 310 000/A Seite X-12


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

HINT: The Erase APP and the Erase Retain functions are available only from Version
® ®
1.3 for digsy DCE /DCE-IO and Version 1.9 for digsy CGM.

Device Bootloader Version Firmware Version


CGM V1.9 V4.2.1
DCE V1.3 V6.1.11
DCE-IO V1.3 V6.1.7
Table X.1 Bootloader and Firmware Versions for which Erase APP and Erase Retain
applicable

04 – 68 310 000/A Seite X-13


Version 1.0.0
X- Bootloader TOOLKIT Manual
digsy®

1
2
3

04 – 68 310 000/A Seite X-14


Version 1.0.0