- Main
- Tutorials
- Library
- Samples

How to update 45MR-Modules

Tutorial to update the firmware of 45MR-Modules.

# 45MR-Updater

> Table of Contents

> Introduction

> Method 1: Update 45MR-Modules with specify 45MR-Firmware

> Method 2: Update 45MR-Modules with default 45MR-Firmware

> Appendix: Usage of moxa-45mr-updater

## Introduction

45MR-Updater is a tool that use for update the firmware of 45MR-Modules.

45MR-Firmware is a firmware file of 45MR-Modules.

There are two ways to update the firmware of 45MR-Modules:

1. Update 45MR-Modules with specify 45MR-Firmware that download from MOXA official website
2. Update 45MR-Modules with default 45MR-Firmware that is contained in the ioThinx

## Method 1

> Update 45MR-Modules with specify 45MR-Firmware

1. Setup a network connection to allow device able to access the network.
2. Download "45MR-Firmware" from MOXA official website and put it to device.
   1 moxa@Moxa:~$ ls
   2 FWR_45MR_V1.1.0_Build19041210_STD.hfm
3. Update 45MR-Modules.
   1 moxa@Moxa:~$ sudo moxa-45mr-updater FWR_45MR_V1.1.0_Build19041210_STD.hfm
   2 [sudo] password for moxa:
   3 Firmware: FWR_45MR_V1.1.0_Build19041210_STD.hfm
   4
   5 This step will update all modules and reboot the system
   6
   7 Do you want to continue ? [y/N] y
   8
   9 ------------INTEGRITY-CHECK------------
   10
   11 FWR_45MR_V1.1.0_Build19041210_STD.hfm
   12 Firmware[#########################]100%
   13
   14 ---------------NEGOTIATE---------------
   15
   16 Protocol[#########################]100%
   17 Total Module Slot = 10
   18
   19 -------------MODULE-UPDATE-------------
   20
   21 Module: 45MR-1600 [1.1.0.1]
   22 Slot[01][#########################]100%
   23
   24 Module: 45MR-1601 [1.1.0.1]
   25 Slot[02][#########################]100%
   26
   27 Module: 45MR-2404 [1.1.0.1]
   28 Slot[03][#########################]100%
   29
   30 Module: 45MR-2600 [1.1.0.0]
   31 Slot[04][#########################]100%
   32
   33 Module: 45MR-2601 [1.1.0.0]
   34 Slot[05][#########################]100%
   35
   36 Module: 45MR-2606 [1.1.0.1]
   37 Slot[06][#########################]100%
   38
   39 Module: 45MR-3800 [1.1.0.0]
   40 Slot[07][#########################]100%
   41
   42 Module: 45MR-3810 [1.1.0.0]
   43 Slot[08][#########################]100%
   44
   45 Module: 45MR-6600 [1.1.0.0]
   46 Slot[09][#########################]100%
   47
   48 Module: 45MR-6810 [1.1.0.0]
   49 Slot[10][#########################]100%
   50
   51 System Rebooting ...
4. Check 45MR-Modules firmware version.
   1 moxa@Moxa:~$ kversion -a
   2 ioThinx 4533-LX version 1.1 Build 19061213
   3
   4 Master Infomation:
   5 45MR Module Scan Time: 4 ms
   6
   7 Slot 1 Module Information:
   8 Model Name: 45MR-1600, Serial Number: MOXA89191230
   9 Firmware Version: 1.1.0.1 Build 19041210
   10
   11 Slot 2 Module Information:
   12 Model Name: 45MR-1601, Serial Number: MOXA89191230
   13 Firmware Version: 1.1.0.1 Build 19041210
   14
   15 Slot 3 Module Information:
   16 Model Name: 45MR-2404, Serial Number: MOXA89191230
   17 Firmware Version: 1.1.0.1 Build 19041210
   18
   19 Slot 4 Module Information:
   20 Model Name: 45MR-2600, Serial Number: TAHLB1031597
   21 Firmware Version: 1.1.0.0 Build 18121915
   22
   23 Slot 5 Module Information:
   24 Model Name: 45MR-2601, Serial Number: MOXA89191230
   25 Firmware Version: 1.1.0.0 Build 18121915
   26
   27 Slot 6 Module Information:
   28 Model Name: 45MR-2606, Serial Number: MOXA89191230
   29 Firmware Version: 1.1.0.1 Build 19041210
   30
   31 Slot 7 Module Information:
   32 Model Name: 45MR-3800, Serial Number: MOXA89191230
   33 Firmware Version: 1.1.0.0 Build 18122117
   34
   35 Slot 8 Module Information:
   36 Model Name: 45MR-3810, Serial Number: MOXA89191230
   37 Firmware Version: 1.1.0.0 Build 18122117
   38
   39 Slot 9 Module Information:
   40 Model Name: 45MR-6600, Serial Number: MOXA89191230
   41 Firmware Version: 1.1.0.0 Build 18122117
   42
   43 Slot 10 Module Information:
   44 Model Name: 45MR-6810, Serial Number: MOXA89191230
   45 Firmware Version: 1.1.0.0 Build 18122117

## Method 2

> Update 45MR-Modules with default 45MR-Firmware

1. Update 45MR-Modules.
   1 moxa@Moxa:~$ sudo moxa-45mr-updater --default
   2 [sudo] password for moxa:
   3 Firmware: FWR_45MR_V1.1.0_Build19041210_STD.hfm
   4
   5 This step will update all modules and reboot the system
   6
   7 Do you want to continue ? [y/N] y
   8
   9 ------------INTEGRITY-CHECK------------
   10
   11 FWR_45MR_V1.1.0_Build19041210_STD.hfm
   12 Firmware[#########################]100%
   13
   14 ---------------NEGOTIATE---------------
   15
   16 Protocol[#########################]100%
   17 Total Module Slot = 10
   18
   19 -------------MODULE-UPDATE-------------
   20
   21 Module: 45MR-1600 [1.1.0.1]
   22 Slot[01][#########################]100%
   23
   24 Module: 45MR-1601 [1.1.0.1]
   25 Slot[02][#########################]100%
   26
   27 Module: 45MR-2404 [1.1.0.1]
   28 Slot[03][#########################]100%
   29
   30 Module: 45MR-2600 [1.1.0.0]
   31 Slot[04][#########################]100%
   32
   33 Module: 45MR-2601 [1.1.0.0]
   34 Slot[05][#########################]100%
   35
   36 Module: 45MR-2606 [1.1.0.1]
   37 Slot[06][#########################]100%
   38
   39 Module: 45MR-3800 [1.1.0.0]
   40 Slot[07][#########################]100%
   41
   42 Module: 45MR-3810 [1.1.0.0]
   43 Slot[08][#########################]100%
   44
   45 Module: 45MR-6600 [1.1.0.0]
   46 Slot[09][#########################]100%
   47
   48 Module: 45MR-6810 [1.1.0.0]
   49 Slot[10][#########################]100%
   50
   51 System Rebooting ...
2. Check 45MR-Modules firmware version.
   1 moxa@Moxa:~$ kversion -a
   2 ioThinx 4533-LX version 1.1 Build 19061213
   3
   4 Master Infomation:
   5 45MR Module Scan Time: 4 ms
   6
   7 Slot 1 Module Information:
   8 Model Name: 45MR-1600, Serial Number: MOXA89191230
   9 Firmware Version: 1.1.0.1 Build 19041210
   10
   11 Slot 2 Module Information:
   12 Model Name: 45MR-1601, Serial Number: MOXA89191230
   13 Firmware Version: 1.1.0.1 Build 19041210
   14
   15 Slot 3 Module Information:
   16 Model Name: 45MR-2404, Serial Number: MOXA89191230
   17 Firmware Version: 1.1.0.1 Build 19041210
   18
   19 Slot 4 Module Information:
   20 Model Name: 45MR-2600, Serial Number: TAHLB1031597
   21 Firmware Version: 1.1.0.0 Build 18121915
   22
   23 Slot 5 Module Information:
   24 Model Name: 45MR-2601, Serial Number: MOXA89191230
   25 Firmware Version: 1.1.0.0 Build 18121915
   26
   27 Slot 6 Module Information:
   28 Model Name: 45MR-2606, Serial Number: MOXA89191230
   29 Firmware Version: 1.1.0.1 Build 19041210
   30
   31 Slot 7 Module Information:
   32 Model Name: 45MR-3800, Serial Number: MOXA89191230
   33 Firmware Version: 1.1.0.0 Build 18122117
   34
   35 Slot 8 Module Information:
   36 Model Name: 45MR-3810, Serial Number: MOXA89191230
   37 Firmware Version: 1.1.0.0 Build 18122117
   38
   39 Slot 9 Module Information:
   40 Model Name: 45MR-6600, Serial Number: MOXA89191230
   41 Firmware Version: 1.1.0.0 Build 18122117
   42
   43 Slot 10 Module Information:
   44 Model Name: 45MR-6810, Serial Number: MOXA89191230
   45 Firmware Version: 1.1.0.0 Build 18122117

## Appendix

> Usage of moxa-45mr-updater

1 moxa@Moxa:~$ sudo moxa-45mr-updater --help
2 [sudo] password for moxa:
3 Usage: moxa-45mr-updater [options] firmware
4
5 Options:
6 -d, --default Update modules with default firmware
7 -v, --version Show version
8 -h, --help Show help
9 -y, --yes Assume "yes" to all prompts
10
11 Example:
12 moxa-45mr-updater firmware Update modules with specify firmware
13 moxa-45mr-updater --default Update modules with default firmware
14 moxa-45mr-updater --help Show help