M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 27 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
U
U
p
p
d
d
a
a
t
t
i
i
n
n
g
g
(
(
F
F
l
l
a
a
s
s
h
h
i
i
n
n
g
g
)
)
F
F
i
i
r
r
m
m
w
w
a
a
r
r
e
e
The Firmware is responsible for the functions supported by the Micro-Controller in the electronic unit. It can
be updated by flashing (re-writing) the firmware. Current Firmware version is 2.0.55.
H
H
a
a
r
r
d
d
w
w
a
a
r
r
e
e
R
R
e
e
q
q
u
u
i
i
r
r
e
e
m
m
e
e
n
n
t
t
s
s
Updating (Flashing) the firmware is made over the RS-232 interface in the electronic unit.
A 1:1 serial connection to the D-Sub-25 pin connector (see page …) and a PC with a RS-232 (COM-port) is
required. The upload speed is 57.600 Baud. The serial port in the PC may be set to 115.320 Baud.
The Flash-Tool can access COM-1 to COM-4.
COM-ports mapped to higher or other port addresses (eventually by USB adapters or other) may not work.
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
R
R
e
e
q
q
u
u
i
i
r
r
e
e
m
m
e
e
n
n
t
t
s
s
The COM-port must be set in the
start.bat
batch-file. Default is Com 1.
The batch file also names the firmware binary file which is used for the upload. Make sure, that the file
name in the batch file is the same as your firmware binary. If this is not the case, edit the batch-file in a text
editor and save it. See the screenshot below as an example.
The files in the screenshot below are the files you may need for the update procedure:
Flashm16.exe
executable
updater
M2d_eth_2.0.55 firmware
binary
Start.bat batch
file
startBackup
optional report generator
Before you rewrite the firmware, optionally you may use the
startBackup.bat
to read out the memory
contents for diagnosis. StartBackup.bat creates a text file. Send this text file to MEL for diagnosis in case of
problems!
The Flash-Tool “
Flashm16.exe”
will be delivered from MEL on request together with the binary data file of
the firmware. Flasm16.exe must be started with the start.bat batch file. Start.bat defines the parameters for
flashm16.exe.
Please note:
Flashing the firmware is at customers risk. MEL does not make any warranty, that the
flash process will be always successful. When the Scanner does not work any more after flashing the
software, this is not covered by any warranty*. With the download of the binary data file* you accept this
condition.
* MEL makes repair for units broken while trying to update in the factory at Eching / Germany. Customer
must cover shipping cost both ways and a handling fee.
For details please contact MEL services:
U
U
p
p
d
d
a
a
t
t
i
i
n
n
g
g
(
(
F
F
l
l
a
a
s
s
h
h
i
i
n
n
g
g
)
)
p
p
r
r
o
o
c
c
e
e
d
d
u
u
r
r
e
e
Please note:
the sync out pin must be connected to D1, when the Scanner is powered up.
A M2-RS232ProgBox with switches is available as a special accessory.
See “special accessories” on page 7.