SIMATIC IOT2050
Firmware Update
SIMATIC IOT2050 Basic - 6ES7647-0BA00-0YA2
SIMATIC IOT2050 Advanced - 6ES7647-0BA00-1YA2
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2020 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
IOT2050 Firmware Update
Version 1.1, 03/2022
2
Table of contents
Table of contents
Legal information ......................................................................................................... 2
1 Task ..................................................................................................................... 4
1.1 Overview............................................................................................... 4
2 Requirements ..................................................................................................... 5
2.1 Required Hardware .............................................................................. 5
2.2 Required Software ................................................................................ 6
3 Operating ............................................................................................................ 7
3.1 Transfer required software ................................................................... 7
3.2 Clean eMMc on IOT2050 Advanced .................................................... 8
3.3 Install firmware update tool .................................................................. 8
3.4 Update firmware ................................................................................... 9
4 Related links ..................................................................................................... 10
5 History............................................................................................................... 10
© Siemens AG 2020 All rights reserved
IOT2050 Firmware Update
Version 1.1, 03/2022
3
1 Task
1 Task
1.1 Overview
Introduction
To be able to use the Example Image from V1.2.1 and the Industrial OS V3.x, it
is required to update the firmware of the following devices:
IOT2050 Basic (6ES7 647-0BA00-0YA2) FS:01
IOT2050 Advanced (6ES7 647-0BA00-1YA2) FS:01
IOT2050 Advanced (6ES7 647-0BA00-1YA2) FS:02
IOT2050 Advanced (6ES7 647-0BA00-1YA2) FS:03
After the firmware update it is not possible anymore to boot the following
operating systems:
• Example Image V1.0.2
WARNING
• Industrial OS V2.x
© Siemens AG 2020 All rights reserved
NOTE The Example Image V1.1.1 can be used with the old and new firmware on the
mentioned devices
IOT2050 Basic FS:02 and IOT2050 Advanced FS:04 are delivered with the
required firmware from factory.
Goals
After working through this document, you should know how to
• Update the firmware of a SIMATIC IOT2050
IOT2050 Firmware Update
Version 1.1, 03/2022
4
2 Requirements
2 Requirements
2.1 Required Hardware
This chapter contains the hardware required for the firmware update.
SIMATIC IOT2050 Basic / Advanced
The SIMATIC IOT2050 Basic (6ES7647-0BA00-0YA2) with FS:01 and the SIMATIC
IOT2050 Advanced (6ES7647-0BA00-1YA2) with FS:01, FS:02 and FS:03 need to
be updated in order to use Example Image from V1.2.1 and Industrial OS V3.x
µSD card / USB flash drive / eMMc
To boot from Example Image V1.1.1 either a µSD card or USB drive is required.
For the IOT2050 Advanced the internal eMMc can be used as well
Power supply
In order to run the SIMATIC IOT2050 a power supply is required.
This power supply has to provide between 12 and 24V DC.
Engineering Station
© Siemens AG 2020 All rights reserved
To get remote access to the SIMATIC IOT2050 and to transfer files an Engineering
station is required. In this example a PC with Windows 10 Enterprise is used.
Ethernet cable
For an Ethernet Connection between the Engineering Station and the SIMATIC
IOT2050 in order to establish a SSH connection an Ethernet cable is required.
IOT2050 Firmware Update
Version 1.1, 03/2022
5
2 Requirements
2.2 Required Software
This chapter contains the software required for the firmware update.
Example Image V1.1.1
To update the firmware of the IOT2050, the Example Image V1.1.1 is required. The
firmware update cannot be performed with Example Image V1.0.2 or Industrial OS
V2.x.
Firmware Update tool and firmware file
To update the firmware the firmware update tool and the firmware file itself are
required.
• Tool: iot2050-firmware-update_0.1_arm64.deb
• Firmware: IOT2050-PG1-FW-Update-PKG-V01.02.01.tar.xz
Both files can be downloaded here.
ssh Client
To get remote access to the SIMATIC IOT2050 software is required.
In this document “PuTTY” is used. With this software it is possible to establish a
connection to different devices for example via Serial, SSH or Telnet.
© Siemens AG 2020 All rights reserved
The “PuTTY” software can be downloaded here.
NOTE Instead of PuTTY you also can use Windows 10 or Linux built-in ssh client.
WinSCP or USB flash drive
To copy the files from the Engineering Station to the IOT2050 per Drag&Drop, the
software WinSCP can be used.
WinSCP can be downloaded here.
As an alternative a USB flash drive can be used to transfer the data
IOT2050 Firmware Update
Version 1.1, 03/2022
6
3 Operating
3 Operating
This chapter describes the steps necessary to update the firmware of the SIMATIC
IOT2050 from preinstalled 2019.01-V01.00.00.2-0-g8e86139 to 2021.04-
V01.02.01.03-0-g7e29ca7 in order to be able to use Example Image from V1.2.1
and Industrial OS V3.x.
Precondition
The IOT2050 is set up with the Example Image V1.1.1!
Otherwise the firmware update cannot be executed.
3.1 Transfer required software
Both, the firmware update tool and the firmware file, need to be copied from the
Engineering station to the IOT2050. In this example both files are copied to the
directory /mnt
Table 3-1
No. Action
1. Make sure the IOT2050 is running Example Image V1.1.1
cat /etc/os-release
© Siemens AG 2020 All rights reserved
2. Establish a connection with WinSCP to copy the downloaded files to the
IOT2050
IOT2050 Firmware Update
Version 1.1, 03/2022
7
3 Operating
3.2 Clean eMMc on IOT2050 Advanced
Since the Firmware V1.2.1 is not able to boot the Example Image V1.0.2 and
Industrial OS V2.x, it is required to clear the eMMc before updating the
firmware when either Example Image V1.0.2 or Industrial OS V2.x is installed
on it.
The reason is that the boot order is set to default after the firmware update and the
IOT2050 tries to boot from eMMc after the update, which is not possible, and the
boot gets stuck.
Table 3-2
No. Action
1. Clear the eMMc
mkfs.ext4 /dev/mmcblk1
© Siemens AG 2020 All rights reserved
3.3 Install firmware update tool
In order to update the firmware of the IOT2050 the proper update tool needs to be
installed.
Table 3-3
No. Action
1. Uninstall the pre-installed update tool
dpkg -r iot2050-firmware-update
2. Change directory to /mnt (or any other directory, where the two files have been
copied to)
cd /mnt
3. Install the proper version of the update tool
dpkg -i iot2050-firmware-update_0.1_arm64.deb
IOT2050 Firmware Update
Version 1.1, 03/2022
8
3 Operating
3.4 Update firmware
Now the firmware can be updated.
Table 3-4
No. Action
4. Check currently installed firmware
fw_printenv fw_version
5. Update the firmware
iot2050-firmware-update IOT2050-PG1-FW-Update-PKG-
V01.02.01.tar.xz
and confirm that all u-boot environment variables will be reset to default values
Y
Note: The boot order will also be reset to its defaults ([mmc1] mmc0 usb0 usb1
usb2). If it was changed before it needs to be changed again after the reboot
command. Do not use fw_printenv or fw_setenv before rebooting!
© Siemens AG 2020 All rights reserved
6. Reboot the IOT2050
reboot
7. Check installed firmware version after update
fw_printenv fw_version
IOT2050 Firmware Update
Version 1.1, 03/2022
9
4 Related links
4 Related links
Table 4-1
Topic
\1\ SIMATIC IOT2050 forum
https://support.industry.siemens.com/tf/ww/en/threads/309w
\2\ Download SD-Card Example Image
https://support.industry.siemens.com/cs/ww/en/view/109780231
\3\ How to setup the IOT2050 with Example Image
https://support.industry.siemens.com/tf/ww/en/posts/238945/
\4\ Operating Instructions
https://support.industry.siemens.com/cs/ww/en/view/109779016
5 History
Table 5-1
© Siemens AG 2020 All rights reserved
Version Date Modifications
V1.0 01/2022 First version
V1.1 03/2022 Added requirement to clear eMMC before update
IOT2050 Firmware Update
Version 1.1, 03/2022
10