<?xml version="1.0" encoding="utf-8"?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Steps>
    <Step>
      <Information>
        <ShouldAutoContinue>false</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Loads the ARM7 bootloader.</Description>
        <Instructions>Instructions1.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>true</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command>~STG__NA{DEBUG;PDIBM}^</Command>
          </ResetDevice>
          <ProtocolType>Lpc2xxxIsp</ProtocolType>
          <BaudRate>19200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>2</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>Lpc2148Mbl.hex</HexFileName>
              <StartAddress>1073742336</StartAddress>
              <EndAddress>1073758720</EndAddress>
              <BlockSize>1024</BlockSize>
              <RowSize>4</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>true</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc2148.fmd</FlashDeviceFileName>
            <CrystalFrequency>12000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>256</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>true</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Address>1073742336</Address>
            <ExecutionMode>Arm</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>436207616</StartAddress>
            <EndAddress>436731903</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Loads the firmware</Description>
        <Instructions>Instructions2.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command></Command>
          </ResetDevice>
          <ProtocolType>MBL</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>2</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>..\firmware\fw_MeasureUnit.hex</HexFileName>
              <StartAddress>0</StartAddress>
              <EndAddress>512000</EndAddress>
              <BlockSize>4096</BlockSize>
              <RowSize>25</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc2148.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <BufferAddress>1073742336</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>256</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Thumb</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>64</StartAddress>
            <EndAddress>511999</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Loads the firmware</Description>
        <Instructions>Instructions2.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command></Command>
          </ResetDevice>
          <ProtocolType>MBL</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>..\firmware\fw_MainUnit_flash_a.hex</HexFileName>
              <StartAddress>436207616</StartAddress>
              <EndAddress>436731903</EndAddress>
              <BlockSize>8192</BlockSize>
              <RowSize>16</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc4357A.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <EraseTypes>EraseSectors</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>256</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Thumb</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Mode>Partial</Mode>
            <StartAddress>436207616</StartAddress>
            <EndAddress>436731903</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Loads the firmware</Description>
        <Instructions>Instructions2.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command></Command>
          </ResetDevice>
          <ProtocolType>MBL</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>..\firmware\fw_MainUnit_flash_b.hex</HexFileName>
              <StartAddress>452984832</StartAddress>
              <EndAddress>453509119</EndAddress>
              <BlockSize>8192</BlockSize>
              <RowSize>16</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc4357B.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Thumb</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>452984832</StartAddress>
            <EndAddress>453509119</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
		<IsEnabled>true</IsEnabled>
      </Information>
      <Operation>
        <Description>Loads the firmware</Description>
        <Instructions>Instructions3.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command></Command>
          </ResetDevice>
          <ProtocolType>MBL</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(&gt; (GET_HW_VERSION) 4)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>..\firmware\fw_MainUnit_spifi.hex</HexFileName>
              <StartAddress>335544320</StartAddress>
              <EndAddress>339738623</EndAddress>
              <BlockSize>131072</BlockSize>
              <RowSize>16</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>MX25L25635F.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>..\firmware\fw_MainUnit_spifi.hex</HexFileName>
              <StartAddress>335544320</StartAddress>
              <EndAddress>339738623</EndAddress>
              <BlockSize>131072</BlockSize>
              <RowSize>16</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>S25FL064P.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <EraseTypes>EraseSectors</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Thumb</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Mode>Partial</Mode>
            <StartAddress>335675392</StartAddress>
            <EndAddress>343932927</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>			
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>          
        </OperationsSettings>
      </Operation>
    </Step>
	<Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
        <IsEnabled>true</IsEnabled>
      </Information>
      <Operation>
        <Description>Loads the firmware</Description>
        <Instructions>Instructions3.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command></Command>
          </ResetDevice>
          <ProtocolType>MBL</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <IsOptional>true</IsOptional>
              <HexFileName>..\firmware\fw_MainUnit_spifi_b.hex</HexFileName>
              <StartAddress>344064000</StartAddress>
              <EndAddress>352321536</EndAddress>
              <BlockSize>131072</BlockSize>
              <RowSize>16</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>MX25L25635F.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <EraseTypes>EraseSectors</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Thumb</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Mode>Partial</Mode>
            <StartAddress>344064000</StartAddress>
            <EndAddress>352321536</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>	
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Runs an external application.</Description>
        <Instructions>Instructions4.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command></Command>
          </ResetDevice>
          <ProtocolType>MBL</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>..\firmware\fw_MainUnit_flash_a.hex</HexFileName>
              <StartAddress>436207616</StartAddress>
              <EndAddress>436731903</EndAddress>
              <BlockSize>8192</BlockSize>
              <RowSize>16</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc4357A.fmd</FlashDeviceFileName>
            <CrystalFrequency>60000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseSectors</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>256</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Thumb</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Mode>Partial</Mode>
            <StartAddress>436207616</StartAddress>
            <EndAddress>436731903</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>true</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>      
	<Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Runs an external application.</Description>
        <Instructions>Instructions4.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command>~STG__NA{DEBUG;PDIBM}^</Command>
          </ResetDevice>
          <ProtocolType>None</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>Lpc2148Mbl.hex</HexFileName>
              <StartAddress>1073742336</StartAddress>
              <EndAddress>1073758720</EndAddress>
              <BlockSize>1024</BlockSize>
              <RowSize>4</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc2148.fmd</FlashDeviceFileName>
            <CrystalFrequency>12000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>256</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>1073742336</Address>
            <ExecutionMode>Arm</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>436207616</StartAddress>
            <EndAddress>436731903</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
          <RunExternalApplicationOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Application>..\upload\IppFileUpload.exe</Application>
            <DelayBeforeStart>10000</DelayBeforeStart>
            <DelayAfterEnd>0</DelayAfterEnd>
            <Arguments>PortName={~COM_NAME} Baudrate={~COM_BAUDRATE} InstructionsFile=upload.instructions CSP_X={~CSP_X} CSP_Y={~CSP_Y}</Arguments>
            <SuccessCode>0</SuccessCode>
          </RunExternalApplicationOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>All done!</Description>
        <Instructions>Instructions5.htm</Instructions>
        <ProtocolSettings>
          <ResetDevice>
            <ShouldExecute>false</ShouldExecute>
            <ResetType>Software</ResetType>
            <BaudRate>115200</BaudRate>
            <Command>~STG__NA{DEBUG;PDIBM}^</Command>
          </ResetDevice>
          <ProtocolType>None</ProtocolType>
          <BaudRate>115200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
          <CommunicationPaths>
            <CommunicationPath>1</CommunicationPath>
          </CommunicationPaths>
        </ProtocolSettings>
        <TargetsSettings>
          <TargetSettings>
            <SelectCondition>(true)</SelectCondition>
            <MemoryMapSettings>
              <HexFileName>Lpc2148Mbl.hex</HexFileName>
              <StartAddress>1073742336</StartAddress>
              <EndAddress>1073758720</EndAddress>
              <BlockSize>1024</BlockSize>
              <RowSize>4</RowSize>
            </MemoryMapSettings>
            <IdentitySettings>
              <Id>MI3152</Id>
              <ShouldCheckId>false</ShouldCheckId>
            </IdentitySettings>
            <FlashDeviceFileName>Lpc2148.fmd</FlashDeviceFileName>
            <CrystalFrequency>12000</CrystalFrequency>
          </TargetSettings>
        </TargetsSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <EraseSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseSpifiFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>0</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramSpifiFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>256</MaxBufferLength>
          </ProgramSpifiFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>1073742336</Address>
            <ExecutionMode>Arm</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>436207616</StartAddress>
            <EndAddress>436731903</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ResetOperationSettings>
          <RunExternalApplicationOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Application>..\upload\IppFileUpload.exe</Application>
            <DelayBeforeStart>10000</DelayBeforeStart>
            <DelayAfterEnd>0</DelayAfterEnd>
            <Arguments>PortName={~COM_NAME} Baudrate={~COM_BAUDRATE} InstructionsFile=upload.instructions CSP_X={~CSP_X} CSP_Y={~CSP_Y}</Arguments>
            <SuccessCode>0</SuccessCode>
          </RunExternalApplicationOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
  </Steps>
</Project>
