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

From Wiki
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In case the embedded computer fails to boot, it can no longer be pinged (192.168.3.11) and after ca. 1 min the motor modules of the modular control electronics are not blinking their green LEDs.
+
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.
  
# Switch off the electronics and disconnect the mains cable.
+
Follow these steps to do a factory reset:
# Download the image:
+
 
# Download win32-diskimager: https://www.heise.de/download/product/win32-disk-imager-92033
+
= Remove the Micro SD Card =
# Remove the micro SD-card from the embedded computer and insert it into your windows PC.
+
Turn off the power to the robot. Then take a look at your robot control and find the embedded control module:
# Delete both partitions on the micro SD-card using windows
+
* Wide module on DIN rail, fan on top, one Ethernet port, 4 USB ports
## Open Disk Management on your Windows computer by right-clicking "This PC" or "My Computer" and select "Manage".
+
*# Use a screw driver to pull the small black tab, the module should be easy to lift off the DIN rail.
## 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.)  
+
*# Find the tiny slit on one side of the module and pry out the micro SD card. Using a screwdriver might help
## Right click on the "boot" partition and select "Delete Volume".
+
* Integrated control of the ReBeL
## Right click on the un-named partition (probably about 3.45GB) and select "Delete Volume"
+
*# The base needs to be disassembled to access the micro SD card. Please contact igus support on how to do this.
# Now that you have a clean micro SD card, start win32diskimager (download link above).
+
* Slim module with two Ethernet ports - these need additional hardware for a factory reset, therefore they need to be sent to us.
# Select Image File: sdimage.img that you have downloaded in the second step.
+
 
# 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.
+
= Get the Software and SD Card Image =
# Select "Write" to write the image to the micro SD-card.
+
You need the following tools and files:
# Once finished, eject/unmuont the SD card and insert it into the embedded computer.
+
* We recommend using a program like [https://www.balena.io/etcher balenaEtcher].
# Turn on the embedded computer and wait at least 2 Minutes.
+
* 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.
# The use the updater to install the correct software for your robot.
+
* The recent [https://wiki.cpr-robots.com/index.php/IgusRobotControl-Release13-EN Updater iRC and TinyCtrl]
 +
 
 +
= Restoring the Micro SD Card =
 +
Now you need to write the SD card image to the SD card:
 +
 
 +
# Connect the Micro SD card to the PC. You may need an adapter. Ignore all warnings about formatting or access issues.
 +
# Start balenaEtcher
 +
# Click "Flash from file" and choose the sdimage.img file that you downloaded earlier.
 +
# 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.
 +
# 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.
 +
# 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. [[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.