Restore SD Card of Embedded Computer

From Wiki
Revision as of 11:42, 7 September 2021 by Peter (talk | contribs)

These instructions labelled as "advanced" and meant for an audience generally familiar with partitioning disks and writing disk images.

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:

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.

  1. Switch off the electronics and disconnect the mains cable.
  2. Download the image: https://cpr-robots.com/download/embedded-computer/sdimage.img sha256sum: aeb372f467e2a571aab4c5b5cc45f9bbe2e2da109f6d61020a0d32c1cf1b5e94
  1. Download win32-diskimager: https://www.heise.de/download/product/win32-disk-imager-92033
  2. Remove the micro SD-card from the embedded computer and insert it into your windows PC.
  3. Delete both partitions on the micro SD-card in Windows:
    1. Open Disk Management on your Windows computer by right-clicking "This PC" or "My Computer" and select "Manage".
    2. 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.)
    3. Right click on the "boot" partition and select "Delete Volume".
    4. Right click on the un-named partition (probably about 3.45GB) and select "Delete Volume"
  4. Now that you have a clean micro SD card, start win32diskimager (download link above).
  5. Select Image File: sdimage.img that you have downloaded in the second step.
  6. 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.
  7. Select "Write" to write the image to the micro SD-card.
  8. Once finished, eject/unmuont the SD card and insert it into the embedded computer.
  9. Turn on the embedded computer and wait at least 2 Minutes.
  10. 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 CPRog Updater or the iRC Updater