Example of upgrade firmware with Secure Copy(SCP) command
---
Note: Only firmware version 1.1.2 and above supports the functionality to update firmware via SCP.

For Windows Users:
1. Download any PuTTY Secure Copy client (PSCP) utility.
2. Save the firmware files and the PSCP Utility in the same folder.
3. Open the Command Line Interface and change the path to where the firmware files and the PSCP Utility are saved.
4. Enter the following command to perform the firmware update:
   pscp -scp <filename> <user>@<IP address of RMCARD>:

Note:
(1) The SSH setting on the RMCARD must be Enabled.
(2) <filename> is the filename of the firmware file. There are two firmware files to upload: cpsrm2scdata_XXX.bin and cpsrm2scfw_XXX.bin . In order to upgrade the firmware version both files need to be uploaded. Only one firmware file can be uploaded at a time, it is recommended to upload the firmware file cpsrm2scdata_XXX.bin first followed by the data file cpsrm2scfw_XXX.bin.
(3) <user> is the username of the SSH account on the RMCARD.
(4) Ensure to add ":" after the IP address.

For example:
pscp -scp cpsrm2scdata_XXX.bin cyber@192.168.1.100:
Note: cpsrm2scdata_XXX.bin is the firmware file of the version being updated.

5. After executing the command, a message may appear asking if you trust the host. To continue type "y" for yes within 10 seconds.
6. On the next screen enter the RMCARD password. The firmware file transfer may take a couple minutes to complete. Please wait until the progress indicator displays 100%. The system will automatically log out and reboot after the transfer is complete.
7. Repeat steps 4 through step 6 to upload the data file cpsrm2scfw_XXX.bin to complete the firmware update process.
8. If the firmware file transfer is unsuccessful you will see an error message. Attempt to retype the command and execute it again.

---

For Linux, MacOS and Unix Users:
1. Install the related distribution of an SSH or SCP client, for example Openssh client.
2. Open the Terminal and change the path to where the firmware files are saved.
3. Enter the following Command to perform firmware update:
   scp <filename> <user>@< IP address of RMCARD>:

Note: 
(1) The SSH setting on the RMCARD must be Enabled.
(2) <filename> is the filename of the firmware file. There are two firmware files to upload: cpsrm2scdata_XXX.bin and cpsrm2scfw_XXX.bin . In order to upgrade the firmware version both files need to be uploaded. Only one firmware file can be uploaded at a time, it is recommended to upload the firmware file cpsrm2scdata_XXX.bin first followed by the data file cpsrm2scfw_XXX.bin.
(3) <user> is the username of the SSH account on the RMCARD.
(4) Ensure to add ":" after the IP address.

For example:
scp cpsrm2scdata_XXX.bin cyber@192.168.1.100:
Note: cpsrm2scdata_XXX.bin is the firmware file of the version being updated.

4. After executing the command, a message may appear asking if you trust the host. To continue type "y" for yes within 10 seconds.
5. On the next screen enter the RMCARD password. The firmware file transfer may take a couple minutes to complete. Please wait until the progress indicator displays 100%. The system will automatically log out and reboot after the transfer is complete.
6. Repeat steps 3 through step 5 to upload the data file cpsrm2scfw_XXX.bin to complete the firmware update process.
7. If the firmware file transfer is unsuccessful you will see an error message. Attempt to retype the command and execute it again.


