M2D-Laser-Scanner with Ethernet-Interface
Manual
HB-M2D-Ethernet-E
Page 24 of 39
www.MElsensor.com
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 1.11.0.
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:
o
Flashm16.exe
executable updater
o
M2d_eth_1.10.6 firmware
binary
o
Start_1.10.6.bat batch
file
startBackup is an 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. Current Firmware is available in versions 1.13.3.
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. Customer must cover shipping
cost both ways and a handling fee. For details please contact MEL services:
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 CPU_Prog-Pin should be connected to + 24 V, when the Scanner is in normal operation.
do not connect the CPU_Prog-Pin when you power up!
Therefore we recommend having a switch to set the CPU_Prog command when the Scanner has
been powered up and booted.