Group Selection Page HELP DOC Controls Group Data Analysis Group ITDM WP76 DET Vacuum XRO EEE WP78 WP74 FXE SCS SPB MID HED SQS SXP Sample Environment Photon Commissioning Team Operation PSPO XO TS
General electronics MicroTCA EEE Electronics Lab EEE Rack Room
  MicroTCA Logbook  Not logged in ELOG logo
Message ID: 47     Entry time: 08 Nov 2013, 17:01
Author: Patrick Gessler 
Type: Problem Fixed 
Category: Hardware 
Subject: Broken MCH firmware upgrade recovery 

When the webupdate of the MCH fails during upload of the image, the MCH might be in a kind of emergency state. In this case only the bootloader is started, where access only via the serial connection is possible. The reason for this is, that the webupdater will set the boot string to be 0, what means, that after the boot loader no firmware is loaded. After successfull upload and installation of the new f/w, the webupdater would change back to the correct boot string (0xd0100008) and do re reboot.

In case of a broken update, the only way out is to upgrade the f/w via the command line on the serial port. The update_firmware command has to be used. Then it will ask for the IP address and file name. For this purpose a tftp had been installed and started on exflutcadev (192.168.81.200). So the procedure works as follows:

Connect to serial port via the USB cable on the front on the MCH.

> update_firmware

> 192.168.81.200:mch_fw_214_1.bin

The the upload and upgrade will be done. If it was successfull:

> bs

> 0xd0100008

> yes (if it is asked for it)

Finally do a power cut

ELOG V3.1.4-7c3fd00