Upgrading a CMG-EAM using a USB stick


  • A USB stick prepared with the CMG-DCM-mk4-eabi firmware.
  • If the system to be upgraded is on build 3801 or earlier, the USB stick must also have CMG-DCM-mk4 firmware.
  • Cable CAS-DCM-0038 for units built after February 2014
    Cable CAS-DCM-1038 for units built before February 2014.
  • Command line access to the EAM (either serial cable or ssh).


  1. Do not connect the USB cable or stick at this time.
  2. Log in to the EAM as root.
  3. Issue the following commands, which will switch off automatic disk access. Ignore any errors or messages:
    svc Pt-storage stop
    svc rdisk stop
  4. Allow a few seconds for the power lines to settle.
  5. Issue the following commands, to turn on power to the USB stick. Ignore any errors or messages:
    echo 1 > /sys/class/gpio/USBpowerB/level
    ioline -L USBA_power -o 1
    ioline -L USBB_power -o 1
  6. Connect the USB cable and the USB stick.
  7. Mount the USB stick with the command:
    mount -o ro -t ext2 /dev/sda1 /mnt

    If this does not work, try the following:

    • Ensure you have waited 10 seconds
    • Try changing ext2 to ext3 or ext4
    • Check the kernel log to see what the device was called with the following command:

      In the last few lines of output there should be something like:

      sd 46:0:0:0: [sdb] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
      sd 46:0:0:0: [sda] Write Protect is off
      sd 46:0:0:0: [sda] Mode Sense: 43 00 00 00
      sd 46:0:0:0: [sda] Assuming drive cache: write through
      sd 46:0:0:0: [sda] Assuming drive cache: write through
       sda: sda1
      sd 46:0:0:0: [sda] Assuming drive cache: write through
      sd 46:0:0:0: [sda] Attached SCSI removable disk

      Check that the token sda1 matches the token in /dev/sda1. If you see sbd1 in the dmesg output, then you should use /dev/sdb1 in the mount command. (This might be the case if your EAM has a Compact Flash module, which would have been allocated sda, forcing the upgrade pod to be sdb.)

    If this still fails, the unit will need to be upgraded by some other method.

  8. Run the command:
    cat /etc/build.version
  9. If the version is 3801 or less, run the command:
  10. If the version is 10000 or greater, run the command:

    Then reboot the EAM.

For more information, first contact your local distributor or email This email address is being protected from spambots. You need JavaScript enabled to view it. .

  Submit Enquiry Contact Us Contact Local Distributor

You can view our case studies to find out more about how our instrumentation is used around the world.



Guralp Systems Limited
Midas House
Calleva Park

Tel: +44 118 981 9056
Fax: +44 118 981 9943
E-Mail: sales@guralp.com