Availability:
     Level 7    , 'w'
     Level T    , 'W'

  Quick Help:
     Save Adaptives To Flash, w[Seg],,22

  Description:
    The Save Adaptives To Flash command writes the adaptives currently in memory to flash.
    This command takes about 10 seconds to complete.

  Input Parameters:

     0 - Which adaptive set to save
    
         This parameter specifies which adaptives set to save.
    
         NOTE: If you specifiy an adaptive set that the drive does not have in its flash,
               the drive will flash LED.
         NOTE: This command will only work once per power cycle.
    
    
         0 CAP   Controller adaptive parameters
         1 SAP   Servo adaptive parameters
         2 RAP   Read / write adaptive parameters
         3 IAP   Interface Adaptive parameters
    
           Type:    Unsigned 32-bit value
    
           Range:   0 to 0xFFFFFFFF
    
           Default: 0
    
     1 - Not used.
    
     2 - Valid Command Key.
    
         This value must be 0x22 for the command to execute.
    
           Range:   0x22
    
           Default: None
    
  Output Data:

    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    
  Examples:

    Example #1:
    To save current RAP values to flash:

          F3 7>w2,,22
       or F3 T>W2,,22

    Example #2:
    To save current CAP values to flash:
          
          F3 7>w0,,22
       or F3 T>W0,,22

  Revision History:

    0001.0000   Initial revision.
    0002.0000   Add valid command key protection.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).