Service and maintenance 
  7.4 Performing a firmware and project update 
SIMOTION D4x5-2 
Commissioning and Hardware Installation Manual, 02/2012 
337 
7.4.5  Update via CompactFlash card 
7.4.5.1  Backup of the CompactFlash card data 
Backing up licenses, retain data, and user data  
Prior to upgrading/downgrading, as a precaution we recommend backing up the entire 
contents of the CompactFlash card to the PG/PC using the card adapter and Windows 
Explorer. 
How you should proceed when it comes to backing up and subsequently restoring data on 
the CompactFlash card depends on whether licenses and/or other retain data and user data 
which will be required again after the upgrade/downgrade are located on the CompactFlash 
card.    
Case 1: If the CompactFlash card contains no licenses and no retain data or user data which will be 
required after the upgrade/downgrade.  
You do not need to take any steps in this case. Delete the contents of the CompactFlash 
card and install the firmware as described. 
Case 2: If the CompactFlash card contains licenses (e.g. axis licenses) 
Before loading the new firmware, back up the "KEYS" directory to your PC. This can then be 
copied back to the CompactFlash card once you have installed the new firmware. 
 
 
Note 
The license key is stored in the "KEYS" directory on the CompactFlash card. When the 
SIMOTION device starts up for the first time, the license key is saved in the boot sector of 
the CompactFlash card.  
A license key saved in the boot sector cannot be deleted by means of a user operation; nor 
can it be deleted by formatting the CompactFlash card or rewriting the boot loader.  
If the Keys.txt file is no longer present on the CompactFlash card (because the "KEYS" 
directory has been deleted, for example), it will be written again from the boot sector to the 
"KEYS" directory while the SIMOTION device is starting up. The license key can be changed 
at any time (by relicensing, for example). When the device is next started up, the license key 
will be saved in the boot sector again. 
 
In the event of the loss of a license key, a copy can be obtained via the Web License 
Manager at the following Internet address (http://www.siemens.com/automation/license
). 
You will need the HW serial number printed on the CompactFlash card. In the Web License 
Manager, you have the option of displaying the associated license key.