Difference between revisions of "Restore SD Card of Embedded Computer"

From Wiki
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
These instructions labelled as "advanced" and meant for an audience generally familiar with partitioning disks and writing disk images.
+
In rare cases a factory reset of the embedded control computer may be necessary. This can fix severe connection issues, however some connection issues come from incorrect settings of the PC, defective Ethernet cables or a defective configuration that can be solved using the TinyCtrl updater - please check these first. If the green LEDs of the motor modules start flashing ca. 2 minutes after startup or if the robot control can be pinged (192.168.3.11) a factory reset should not be necessary.
  
In case the embedded computer fails to boot, it can no longer be pinged (192.168.3.11) and even after ca. 2 min the motor modules of the modular control electronics are not blinking their green LEDs. A possible cause is a corrupt micro SD-card. Usually this can be resolved by re-flashing a disk image:
+
Follow these steps to do a factory reset:
  
What you need to know in advance: Find out what type of robot you have. If you have used the robot before, you must have CPRog or iRC installed. Once the software has started you will likely find the name of the robot in the title bar of the CPRog or iRC software. The string in the title bar is composed of <Software Name> <Version Number> <Robot Type>, e.g. "iRC - igus Robot Control - V902-11-028 - DLE-RG-0001". In this case your robot type is "DLE-RG-0001". This is important when using the updater in the last step.
+
= Remove the Micro SD Card =
 +
Turn off the power to the robot. Then take a look at your robot control and find the embedded control module:
 +
* Wide module on DIN rail, fan on top, one Ethernet port, 4 USB ports
 +
*# Use a screw driver to pull the small black tab, the module should be easy to lift off the DIN rail.
 +
*# Find the tiny slit on one side of the module and pry out the micro SD card. Using a screwdriver might help
 +
* Integrated control of the ReBeL
 +
*# The base needs to be disassembled to access the micro SD card. Please contact igus support on how to do this.
 +
* Slim module with two Ethernet ports - these need additional hardware for a factory reset, therefore they need to be sent to us.
  
# Switch off the electronics and disconnect the mains cable.
+
= Get the Software and SD Card Image =
# Download the image: https://cpr-robots.com/download/embedded-computer/sdimage.img
+
You need the following tools and files:
## (file hash, for checking the integrity of the download: https://cpr-robots.com/download/embedded-computer/sha256sum-sdimage.txt )
+
* We recommend using a program like [https://www.balena.io/etcher balenaEtcher].
# Download win32-diskimager: https://www.heise.de/download/product/win32-disk-imager-92033
+
* The [https://cpr-robots.com/download/embedded-computer/sdimage.zip SD card image file] (ca. 1.4GB zipped, extracts to ca. 4GB). Optional: You can use [https://cpr-robots.com/download/embedded-computer/sha256sum-sdimage.txt this SHA256 hash] to check the integrity of the file.
# Remove the micro SD-card from the embedded computer and insert it into your windows PC.
+
* The recent [https://wiki.cpr-robots.com/index.php/IgusRobotControl-Release13-EN Updater iRC and TinyCtrl]
# Delete both partitions on the micro SD-card in Windows:
+
 
## Open Disk Management on your Windows computer by right-clicking "This PC" or "My Computer" and select "Manage".
+
= Restoring the Micro SD Card =
## Locate the micro SD-card in the list of drives. (Make absolutely sure that you have located the correct drive! In the worst case you could accidentally delete one of the partitions of your windows PC and thereby lose data.)
+
Now you need to write the SD card image to the SD card:
## Right click on the "boot" partition and select "Delete Volume". (Careful! There may be more than on partition named "boot". Make sure you select the correct one.)
+
 
## Right click on the un-named partition (probably about 3.45GB) and select "Delete Volume" (Careful! There may be more than one partition of 3.45GB. Make sure you select the correct one.)
+
# Connect the Micro SD card to the PC. You may need an adapter. Ignore all warnings about formatting or access issues.
# Now that you have a clean micro SD card, start win32diskimager (download link above).
+
# Start balenaEtcher
# Select Image File: sdimage.img that you have downloaded in the second step.
+
# Click "Flash from file" and choose the sdimage.img file that you downloaded earlier.
# Select the sd-card device on the right. Make absolutely sure that you have selected the correct image. In the worst case you could accidentally overwrite a partition of your windows PC and thereby lose data.
+
# Click "Select target". It should show one entry saying something like "SDHC Card 3.98GB" (the size may vary, some robot controls got bigger 8GB cards). If there are multiple entries make sure to select the correct one, disconnect other SD cards or USB flash drives. Select this entry and click the blue "Select" button.
# Select "Write" to write the image to the micro SD-card.
+
# Click "Flash!". You may need to confirm a permission warning (e.g. "Windows command line processor") but ignore all warnings about formatting or inaccessible hard drives. Wait until balenaEtcher is done, this may take a few minutes.
# Once finished, eject/unmuont the SD card and insert it into the embedded computer.
+
# Remove the SD card from the PC, put it back into the embedded control module and reassemble the control cabinet.
# Turn on the embedded computer and wait at least 2 Minutes.
+
 
# The use the updater (Updater iRC or CPRog, and TinyCtrl for EmbeddedControl: ) to install the correct software for your robot. The updater comes in two flavors that do not differ in functionality: use either the [https://wiki.cpr-robots.com/index.php/Software_Updates CPRog Updater] or the [https://wiki.cpr-robots.com/index.php/IgusRobotControl-Release12-EN iRC Updater]
+
= Restore the Configuration =
 +
The robot control now uses an old version of the embedded control software and a default configuration that likely does not match your robot. [[Robot_Control_Update_Process|Use the updater]] to install the correct configuration:
 +
 
 +
# Start the robot control and wait at least 5 minutes.
 +
# Connect the computer to the robot control but do not start iRC yet.
 +
# Unpack and start the [[Software_Updates|iRC updater]]. Follow the steps in the section at the left side ("Embedded Control"):
 +
## Click "Test Connection"
 +
## Click "Make Backup"
 +
## Click "Update complete folder"
 +
## A file selection should appear. First select the voltage of the robot (24V or 48V, choose 24V for ReBeL), then select the robot type. If you're not sure about the robot type check the iRC project you used to connect or the documents that came with the robot.
 +
## Wait until the update is finished. The updater will ask whether you want to restart the robot control, confirm this.
 +
 
 +
Once the robot control has restarted the robot should be ready to operate. Please check all functions carefully with a low velocity override, if you got an old version of a robot or if you did custom hardware changes the robot may not behave as expected. If this occurs please [[Support_Routes|contact our support]].
 +
 
 +
[[Category: Downloads]] [[Category: TinyCtrl]] [[Category: Support]]

Latest revision as of 07:36, 18 September 2024

In rare cases a factory reset of the embedded control computer may be necessary. This can fix severe connection issues, however some connection issues come from incorrect settings of the PC, defective Ethernet cables or a defective configuration that can be solved using the TinyCtrl updater - please check these first. If the green LEDs of the motor modules start flashing ca. 2 minutes after startup or if the robot control can be pinged (192.168.3.11) a factory reset should not be necessary.

Follow these steps to do a factory reset:

Remove the Micro SD Card

Turn off the power to the robot. Then take a look at your robot control and find the embedded control module:

  • Wide module on DIN rail, fan on top, one Ethernet port, 4 USB ports
    1. Use a screw driver to pull the small black tab, the module should be easy to lift off the DIN rail.
    2. Find the tiny slit on one side of the module and pry out the micro SD card. Using a screwdriver might help
  • Integrated control of the ReBeL
    1. The base needs to be disassembled to access the micro SD card. Please contact igus support on how to do this.
  • Slim module with two Ethernet ports - these need additional hardware for a factory reset, therefore they need to be sent to us.

Get the Software and SD Card Image

You need the following tools and files:

Restoring the Micro SD Card

Now you need to write the SD card image to the SD card:

  1. Connect the Micro SD card to the PC. You may need an adapter. Ignore all warnings about formatting or access issues.
  2. Start balenaEtcher
  3. Click "Flash from file" and choose the sdimage.img file that you downloaded earlier.
  4. Click "Select target". It should show one entry saying something like "SDHC Card 3.98GB" (the size may vary, some robot controls got bigger 8GB cards). If there are multiple entries make sure to select the correct one, disconnect other SD cards or USB flash drives. Select this entry and click the blue "Select" button.
  5. Click "Flash!". You may need to confirm a permission warning (e.g. "Windows command line processor") but ignore all warnings about formatting or inaccessible hard drives. Wait until balenaEtcher is done, this may take a few minutes.
  6. Remove the SD card from the PC, put it back into the embedded control module and reassemble the control cabinet.

Restore the Configuration

The robot control now uses an old version of the embedded control software and a default configuration that likely does not match your robot. Use the updater to install the correct configuration:

  1. Start the robot control and wait at least 5 minutes.
  2. Connect the computer to the robot control but do not start iRC yet.
  3. Unpack and start the iRC updater. Follow the steps in the section at the left side ("Embedded Control"):
    1. Click "Test Connection"
    2. Click "Make Backup"
    3. Click "Update complete folder"
    4. A file selection should appear. First select the voltage of the robot (24V or 48V, choose 24V for ReBeL), then select the robot type. If you're not sure about the robot type check the iRC project you used to connect or the documents that came with the robot.
    5. Wait until the update is finished. The updater will ask whether you want to restart the robot control, confirm this.

Once the robot control has restarted the robot should be ready to operate. Please check all functions carefully with a low velocity override, if you got an old version of a robot or if you did custom hardware changes the robot may not behave as expected. If this occurs please contact our support.