DEEP SEA ELECTRONICS
DSEServicetool
    PC Software Manual
    Document Number: 057-265
         Author: Tony Manton
                               057-265 ISSUE: 5.1
                                  DSEServicetool PC Software Manual
Deep Sea Electronics Ltd
Highfield House
Hunmanby
North Yorkshire
YO14 0PH
ENGLAND
Sales Tel: +44 (0) 1723 890099
Sales Fax: +44 (0) 1723 893303
E-mail: sales@deepseaelectronics.com
Website: www.deepseaelectronics.com
DSEServicetool PC Software Manual
© Deep Sea Electronics Ltd
All rights reserved. No part of this publication may be reproduced in any material form (including
photocopying or storing in any medium by electronic means or other) without the written permission of
the copyright holder except in accordance with the provisions of the Copyright, Designs and Patents
Act 1988.
Applications for the copyright holder’s written permission to reproduce any part of this publication
must be addressed to Deep Sea Electronics Ltd at the address above.
The DSE logo and the names DSEGenset, DSEATS, DSEPower and DSEControl are UK registered
trademarks of Deep Sea Electronics Ltd.
Any reference to trademarked product names used within this publication is owned by their respective
companies.
Deep Sea Electronics Ltd reserves the right to change the contents of this document without prior
notice.
Revision History
Issue No.    Comments
    1        First Issue.
    2        Updated to include support for DSEM840 and DSEM870.
    3        Added full M870 file transfer support and more details throughout.
    4        Added support for DSEM643 and DSEM240.
    5        Added support for DSEM835
   5.1       Added note to stop gateway for M835.
057-255 ISSUE: 5.1                               Page 2 of 21
                                                 DSEServicetool PC Software Manual
                                                   TABLE OF CONTENTS
Section                                                                                                                                          Page
1      INTRODUCTION .................................................................................................. 4
    1.1       CLARIFICATION OF NOTATION ............................................................................................ 4
    1.2       GLOSSARY OF TERMS .......................................................................................................... 4
    1.3       BIBLIOGRAPHY ...................................................................................................................... 5
2      INSTALLATION ................................................................................................... 6
    2.1    SOFTWARE INSTALLATION .................................................................................................. 6
      2.1.1   MINIMUM SYSTEM REQUIREMENTS ............................................................................ 6
      2.1.2   INSTALLATION ................................................................................................................. 6
3      USING THE DSESERVICETOOL PC SOFTWARE ............................................ 8
    3.1    STARTING DSESERVICETOOL SOFTWARE ....................................................................... 8
    3.2    PREPARING THE DEVICE FOR CONNECTION .................................................................... 8
      3.2.1    BOOTLOADER MODE ...................................................................................................... 8
      3.2.2    DSEM240 .......................................................................................................................... 9
        3.2.2.1     USB-CAN INTERFACE.............................................................................................. 9
      3.2.3    DSEM640 & DSEM643 ..................................................................................................... 9
      3.2.4    DSEM835 ........................................................................................................................ 10
        3.2.4.1     USB-CAN INTERFACE............................................................................................ 10
      3.2.5    DSEM840 ........................................................................................................................ 11
      3.2.6    DSEM870 ........................................................................................................................ 11
    3.3    SEARCHING FOR DEVICES ................................................................................................. 12
      3.3.1    NO MODULES FOUND .................................................................................................. 12
      3.3.2    DEVICES FOUND ........................................................................................................... 14
        3.3.2.1     CAN CONNECTED DEVICES ................................................................................. 14
        3.3.2.2     ETHERNET CONNECTED DEVICES ..................................................................... 14
    3.4    BASIC ..................................................................................................................................... 15
      3.4.1    DSEM240 ........................................................................................................................ 15
      3.4.2    DSEM640, DSEM643, DSEM840 & DSEM870 .............................................................. 15
      3.4.3    DSEM835 ........................................................................................................................ 16
      3.4.4    PARAMETERS ................................................................................................................ 16
    3.5    ADVANCED ........................................................................................................................... 17
      3.5.1    PARAMETERS ................................................................................................................ 17
    3.6    MODULE INFORMATION ...................................................................................................... 19
    3.7    ABOUT ................................................................................................................................... 19
                                                                     Page 3 of 21                                        057-225 ISSUE: 5.1
                                             Introduction
1 INTRODUCTION
DSEServicetool is used to scan local networks (LAN or CAN) connected to the PC for supported
devices manufactured by Deep Sea Electronics Ltd.
DSEServicetool lists the devices found, displaying avaialble network connection information.
This is used to update the firmware and download a program to the device.
1.1    CLARIFICATION OF NOTATION
Clarification of notation used within this publication.
                    Highlights an essential element of a procedure to ensure correctness.
      NOTE:
                    Indicates a procedure or practice, which, if not strictly observed, could
      CAUTION!      result in damage or destruction of equipment.
                    Indicates a procedure or practice, which could result in injury to personnel
      WARNING!      or loss of life if not followed correctly.
1.2    GLOSSARY OF TERMS
Used to list acronyms, abbreviations etc used within the document. The terms must be listed in
alphabetical order.
Term                   Description
DSEServicetool         Short name for DSEServicetool PC Software.
CAN                    Controller Area Network. Requires to the use of a PC CAN interface as
                       detailed in the sections entitled DSEM240 and DSEM835 elsewhere in this
                       document.
IP                     Internet Protocol
                       Commonly used when describing the ethernet network address of a device (IP
                       Address).
LAN                    Local Area Network (Ethernet).
MAC                    Media Access Control.
                       A MAC address is a unique identifier code for a network adaptor connected to
                       a LAN or WAN. The MAC is also used to identifiy the manufacturer of the
                       device.
WAN                    Wide Area Network.
                       Usually refers to the World Wide Web of interconnected networks.
057-255 ISSUE: 5.1                            Page 4 of 21
                                          Introduction
1.3   BIBLIOGRAPHY
The following documents area available on the DSE website www.deepseaelectronics.com.
These documents refer to DSE controllers supported by DSEServicetool PC Software.
DSE Part Number       Description
057-270               DSEM240 Operator Manual
053-228               DSEM240 Installation Instructions
057-244               DSEM640 Operator Manual
053-186               DSEM640 Installation Instructions
057-313               DSEM835 Operator Manual
053-250               DSEM835 Installation Instructions
057-248               DSEM840 Operator Manual
053-188               DSEM840 Installation Instructions
057-246               DSEM870 Operator Manual
053-187               DSEM870 Installation Instructions
                                           Page 5 of 21                    057-225 ISSUE: 5.1
                                             Installation
2 INSTALLATION
2.1     SOFTWARE INSTALLATION
2.1.1   MINIMUM SYSTEM REQUIREMENTS
Operating System     Windows 10, Windows 8.1
Monitor              17 inch recommended (1024 x 768 resolution)
Communications       Ethernet connection (wired or wireless)
    NOTE: As DSEServicetool is a 32 or 64 bit application requiring Microsoft .Net 4.6
framework, it does not operate on Windows 2.0, 3.0, 3.1,3.11, 95, 98, Me, or XP.
      NOTE: Exit all other programs before installing the software. It is recommended that any
earlier releases of the software be uninstalled prior to installing this version.
     NOTE: Register online at www.deepseaelectronics.com. Once registered you are able to
download updates to the software to ensure that you always have access to the latest
features.
2.1.2   INSTALLATION
Download the DSEServicetool PC software installer by visiting www.deepseaelectronics.com
Once downloaded, double-click the file:
The computer prompts for selection of where DSEServicetool is to be installed on the PC.
                                                                                 Click Browse to
                                                                                 select another
                                                                                 location to install
                                                                                 to.
 The folder where the
 DSEServicetool software
 is to be installed into.
          Click Back to return to                                               Click Cancel to
          the previous screen.                              Click Next to       abort installation.
                                                            continue.
Folder selection has been made and installation is ready to proceed:
057-255 ISSUE: 5.1                           Page 6 of 21
                   Installation
Click Back to         Click Install to start   Click Cancel to
return to the         the installation.        abort installation.
previous screen.
                        After completion,
                        click Finish to exit
                        the Setup Wizard.
                   Page 7 of 21                057-225 ISSUE: 5.1
                                 Using DSEServicetool PC Software
3 USING THE DSESERVICETOOL PC SOFTWARE
3.1     STARTING DSESERVICETOOL SOFTWARE
The loading process takes a few seconds:
When launching the DSEServicetool PC software for the first time, the PC firewall requires
permissions for the software to access the ethernet networks. Permissions are required for the
DSEServicetool to be able to scan the networks and connect to DSEControl devices. Select the type
of networks applicable:
3.2     PREPARING THE DEVICE FOR CONNECTION
First ensure the device is correctly connected and in Bootloader Mode. This is the state that enables
detection of the device by DSEServicetool Software and allows the transfer of files to the device.
3.2.1   BOOTLOADER MODE
     NOTE: Ensure the DSEMxxx device is correctly connected and in the bootloader mode
during discovery. Devices not in bootloader mode are not discovered by the scan.
Upon loading, the DSEServicetool automatically performs a search and finds connected devices.
057-255 ISSUE: 5.1                            Page 8 of 21
                                   Using DSEServicetool PC Software
3.2.2     DSEM240
Connection is by CAN as detailed below.
3.2.2.1    USB-CAN INTERFACE
    NOTE: DSE Stock and supply PCAN-USB IPEH-002021. DSE Part number 016-179. Contact
sales@deepseaelectronics.com.
To convert PC USB to CAN Interface, use one of the following devices. Both devices offer the same
basic functionality, with the Opto-Isolated variant providing enhanced protection should there be a
potential difference (up to 500 V) between the Earth points of the CAN device and the PC.
The device driver is supplied with the interface and is further available at the website listed in the table
below.
Manufacturer                        Part Number         DSE Part Number        Description
PEAK-System Technik GmbH            IPEH-002021         016-179                PCAN-USB
https://www.peak-system.com/
                                    IPEH-002022         N/A                    PCAN-USB Opto-Isolated
PCAN-USB Connection Details
Connect PCAN-USB to DSEM240 using connections for CAN H, CAN L and GND. For suitable
connection looms from DSE, see DSE Publication 057-270 DSEEM240 Operator Manual.
3.2.3     DSEM640 & DSEM643
Connection is by Ethernet.
To enter bootloader mode:
    •     Remove ECU Power from the device.
    •     Apply PROGRAM ENABLE PIN (Pin A6).
    •     Apply ECU Power.
    •     Device LED illuminates YELLOW to show bootloader mode is active.
    •     The device is now in the correct state and is discoverable by the DSEServicetool Scan
          function.
    •     After completing file transfer, ensure to remove PROGRAM ENABLE to allow bootloader
          mode to exit.
                                                Page 9 of 21                         057-225 ISSUE: 5.1
                                   Using DSEServicetool PC Software
3.2.4     DSEM835
Connection is by CAN as detailed in the subsection below.
To enter bootloader mode:
    •     Remove DC Power from DSEM835.
    •     Right-Click (CODESYS Gateway) in the Windows System Tray. Select Stop Gateway. This
          disconnects CODESYS from the PCAN USB driver for use with DSEServicetool.
    •     Connect DSEM835 to the PCAN interface.
    •     Click              on the DSEServicetool underneath Select Connection Method.
    •     Apply DC Power to DSEM835.
    •     DSEM835 displays confirmation of bootloader mode (Version number may differ)
                                                    .
    •     Upon completion of using DSEServicetool to service the DSEM835, Close DSEServicetool,
          Right-Click (CODESYS Gateway) in the Windows System Tray. Select Start Gateway. This
          reconnects CODESYS to the PCAN USB driver.
3.2.4.1    USB-CAN INTERFACE
    NOTE: DSE Stock and supply PCAN-USB IPEH-002021. DSE Part number 016-179. Contact
sales@deepseaelectronics.com.
To convert PC USB to CAN Interface, use one of the following devices. Both devices offer the same
basic functionality, with the Opto-Isolated variant providing enhanced protection should there be a
potential difference (up to 500 V) between the Earth points of the CAN device and the PC.
The device driver is supplied with the interface and is further available at the website listed in the table
below.
Manufacturer                        Part Number         DSE Part Number        Description
PEAK-System Technik GmbH            IPEH-002021         016-179                PCAN-USB
https://www.peak-system.com/
                                    IPEH-002022         N/A                    PCAN-USB Opto-Isolated
PCAN-USB Connection Details
Connect PCAN-USB to DSEM240 using connections for CAN H, CAN L and GND. For suitable
connection looms from DSE, see DSE Publication 057-313 DSEEM835 Operator Manual.
057-255 ISSUE: 5.1                              Page 10 of 21
                                Using DSEServicetool PC Software
3.2.5   DSEM840
Connection is by Ethernet.
To enter bootloader mode:
   •    Remove ECU Power from the device.
   •    Press and hold any THREE buttons.
   •    Apply ECU Power.
   •    Wait until the display enters the Boot Menu and
        release the three buttons.
   •    The device is now in the correct state and is
        discoverable by the DSEServicetool Scan function.
3.2.6   DSEM870
Connection is by Ethernet.
To enter bootloader mode:
   •    Remove ECU Power from the device.
   •    Press and hold any THREE buttons.
   •    Apply ECU Power.
   •    Wait until the display shows Entering
        Flash/Recovery, Now release the three buttons.
        The device restarts and enters Flash\Recovery
        mode.
        Continued Overleaf.
   •    The display shows a countdown timer after which
        the device reboots normally.
   •    To halt the timer and remain in bootloader mode,
        press and hold the device rotary encoder button
        until the timer message disappears.
   •    The device is now in the correct state and is discoverable by the DSEServicetool Scan
        function.
                                            Page 11 of 21                      057-225 ISSUE: 5.1
                               Using DSEServicetool PC Software
3.3     SEARCHING FOR DEVICES
    NOTE: When connecting by CAN it may be necessary to first stop the CODESYS Gateway:
Right-Click (CODESYS Gateway) in the Windows System Tray and select Stop Gateway.
This disconnects CODESYS from the PCAN USB driver for use with DSEServicetool.
Upon completion of using DSEServicetool to service the device, Close DSEServicetool, Right-
Click (CODESYS Gateway) in the Windows System Tray and select Start Gateway. This
reconnects CODESYS to the PCAN USB driver.
To connect with DSEM640, DSEM640, DSEM840 and DSEM870, click Ethernet to search the
network for devices.
To connect with DSEM240 or DSEM835, click CAN.
3.3.1   NO MODULES FOUND
When no DSE devices are detected on the network, the DSEServicetool issues a warning message :
057-255 ISSUE: 5.1                        Page 12 of 21
                                 Using DSEServicetool PC Software
Check connections and ensure the device to connect with is in the Bootloader mode.
After clicking OK, click the   (Refresh) button to repeat the scan.
                                             Page 13 of 21                    057-225 ISSUE: 5.1
                                Using DSEServicetool PC Software
3.3.2     DEVICES FOUND
3.3.2.1    CAN CONNECTED DEVICES
Where devices are found using CAN, the Basic page is automatically displayed. See section entitled
Basic for further details.
3.3.2.2    ETHERNET CONNECTED DEVICES
When DSE devices are connected to the ethernet network, the DSEServicetool software displays the
type and number of devices detected. To connect, select the required device type.
                                                                        Shows the number of
                                                                        DSE devices of this type,
                                                                        connected to the network.
   Shows the type of DSE
   devices connected on                                                  Click Refresh to scan
   the network.                                                          the network for
                                                                         connected DSE devices.
057-255 ISSUE: 5.1                          Page 14 of 21
                                 Using DSEServicetool PC Software
3.4     BASIC
    NOTE: File transfer is not possible with DSEM870 V1 and V2 devices. The firmware must
be updated to ensure full compatibility with DSEServicetool.
This section shows basic information and allows a package file to be transferred to the DSE device.
3.4.1   DSEM240
                                                                             Click to download the
                                                                             selected package file
                                                                             to the DSE device.
Click to browse for the firmware to
download to the connected device.
Parameters described overleaf.
3.4.2   DSEM640, DSEM643, DSEM840 & DSEM870
                                   This is the DSE device being            Select the MAC address
                                   configured.                             of the connected DSE
                                                                           device.
 Click to browse for the firmware,
 bootloader or program file to download
 to the connected device.                                                    Click to download the
                                                                             selected package file
                                                                             to the DSE device.
Parameters described overleaf.
                                             Page 15 of 21                      057-225 ISSUE: 5.1
                                Using DSEServicetool PC Software
3.4.3   DSEM835
                                                                                  Click to download the
                                                                                  selected package file
                                                                                  to the DSE device.
Click to browse for the firmware to
download to the connected device.
Parameters described below.
3.4.4   PARAMETERS
Option                     Description
Choose Package             Browse to select the package file to be sent to the device. Compatible
                           packages include bootloader updates, firmware updates and application
                           software.
                           To create an application file suitable for transfer (not applicable to
                           DSEM240), from within CODESYS:
                               •      Select Online | Create Boot Application :
                               •    The file is saved with extension .app suitable for sending to the
                                    target device from DSEServicetool PC Software.
Module IP Address          This is the address that is used for the transfer process of the package
Generate IP                file.
(Not applicable to CAN     If you have already been provided an IP address for the device by the
connections)               network manager, enter it here, or enter a unique IP address not already
                           in use on the connected network.
                           If an IP address has not yet been assigned, you may click Generate IP to
                           allow DSEServicetool to temporarliy assign an IP address to the device.
                           This is used only for the transfer process.
Basic                      Provides a simplified display without the Transfer Status window.
Module Information         Displays the following information about the connected device:
(Not applicable to CAN     MAC Address:
connections)               UID (Unique Identifier)
                           Firmware Version
                           Bootloader Version
                           Recovery File Version
Rescan for Controllers     Restarts the scan process to look for newly connected devices.
About                      Displays version information for DSEServicetool PC Software.
057-255 ISSUE: 5.1                             Page 16 of 21
                                Using DSEServicetool PC Software
3.5     ADVANCED
    NOTE: File transfer is not possible with DSEM870 V1 and V2 devices. The firmware must
be updated to ensure full compatibility with DSEServicetool.
Designed for advanced users, this section shows the status of the connected device and the transfer
progress after downloading a package file.
Shows the
MAC                                                                          Click to download the
address of                                                                   selected package file
the                                                                          to the DSE device.
connected
DSE device.
3.5.1   PARAMETERS
Option                      Description
Choose Package              Browse to select the package file to be sent to the device. Compatible
                            packages include bootloader updates, firmware updates and application
                            software,
Module IP Address           This is the address that is used for the transfer process of the package
Generate IP                 file.
                            If you have already been provided an IP address for the device by the
                            network manager, enter it here, or enter a unique IP address not already
                            in use on the connected network.
                            Alternatively, If an IP address has not yet been assigned, you may click
                            Generate IP to allow DSEServicetool to temporarliy assign an IP address
                            to the device. This address is used only for the transfer process.
Basic                       Provides a simplified display without the Transfer Status window.
Module Information          Displays the following information about the connected device:
                            MAC Address
                            UID (Unique Identifier)
                            Firmware Version
                            Bootloader Version
                            Recovery File Version
Rescan for Controllers      Restarts the scan process to look for newly connected devices.
Erase Application           Removes the CODESYS Application.
(DSEM835 Only)
Erase Settings              Erases the non-voltatile memory which removes Persistent Variables
(DSEM835 Only)              from the device and sets Device Settings back to factory settings,
                            including CAN baudrate to 250 kbit/s..
About                       Displays version information for DSEServicetool PC Software. When
                            visible, click the window to close it and return to the main program.
Download                    Transfers the file to the device. See overleaf for an example image of the
                            Transfer Progress window.
                                             Page 17 of 21                       057-225 ISSUE: 5.1
                                Using DSEServicetool PC Software
Transfer Status shows file transfer progress at the end of the package download.
A message is displayed at the end of the package transfer. Power cycling of the module must only be
performed after the module’s LED turns off.
057-255 ISSUE: 5.1                           Page 18 of 21
                                Using DSEServicetool PC Software
3.6   MODULE INFORMATION
This section is designed to show hardware, firmware and bootloader version information of the
connected DSE device.
                                                                          Shows the MAC address
                                                                          of the connected DSE
                                                                          device (Not Applicable to
                                                                          DSEM835).
                                                                          Shows the current
                                                                          bootloader version of the
                                                                          connected DSE device.
                                                    Shows the current firmware version of the
                                                    connected DSE device.
3.7   ABOUT
This section shows the current version of the DSEServicetool PC Software. Click anywhere in the
About box to remove it and return to the main application.
                                            Page 19 of 21                      057-225 ISSUE: 5.1
This Page is Intentionally Blank
This Page is Intentionally Blank