Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
User Guide
80-NN120-1 C
August 15, 2014
Restricted Distribution: Not to be distributed to anyone who is not an employee of either Qualcomm or its
subsidiaries without the express approval of Qualcomm’s Configuration Management.
Not to be used, copied, reproduced, or modified in whole or in part, nor its contents revealed in any manner to others
without the express written permission of Qualcomm Technologies, Inc.
Qualcomm reserves the right to make changes to the product(s) or information contained herein without notice. No
liability is assumed for any damages arising directly or indirectly by their use or application. The information
provided in this document is provided on an “as is” basis.
This document contains confidential and proprietary information and must be shredded when discarded.
Qualcomm is a trademark of QUALCOMM Incorporated, registered in the United States and other countries. All
QUALCOMM Incorporated trademarks are used with permission. Other product and brand names may be
trademarks or registered trademarks of their respective owners.
This technical data may be subject to U.S. and international export, re-export, or transfer (“export”) laws. Diversion
contrary to U.S. and international law is strictly prohibited.
1 Introduction...................................................................................................... 5
1.1 Purpose.......................................................................................................................... 5
1.2 Conventions .................................................................................................................. 5
1.3 References..................................................................................................................... 5
1.4 Technical assistance ...................................................................................................... 5
1.5 Acronyms ...................................................................................................................... 6
2 Installation........................................................................................................ 7
2.1 Installing QPST software .............................................................................................. 7
6 Troubleshooting ............................................................................................ 28
6.1 No port available ......................................................................................................... 28
6.2 Unable to flatten a metabuild image ........................................................................... 29
Figures
Figure 3-1 QFIL – EDL mode ..................................................................................................................... 8
Figure 3-2 Device Manager – EDL mode .................................................................................................... 9
Figure 3-3 QFIL – HLOS mode ................................................................................................................. 10
Figure 3-4 Device Manager – HLOS mode ............................................................................................... 10
Figure 4-1 Select save or clear log ............................................................................................................. 24
Figure 6-1 Device in Diagnostic mode ...................................................................................................... 28
Figure 6-2 Access denied error message.................................................................................................... 29
Tables
Table 1-1 Reference documents and standards ............................................................................................ 5
Table 5-1 Command line arguments .......................................................................................................... 25
1.1 Purpose
This guide describes how to use the Qualcomm Flash Image Loader (QFIL) software which is
integrated in Qualcomm Product Support Tool (QPST™). QFIL is installed as part of the QPST
installation (QPST 2.7.422 or above). QPST is a set of Windows tools designed to interface with,
control, and test CDMA phones that contain Qualcomm ASICs. The QPST server can keep track
of multiple phones on local host machines.
1.2 Conventions
Function declarations, function names, type declarations, and code samples appear in a different
font, e.g., #include.
Code variables appear in angle brackets, e.g., <number>.
Commands to be entered appear in a different font, e.g., copy a:*.* b:.
Button and key names appear in bold font, e.g., click Save or press Enter.
1.3 References
Reference documents are listed in Table 1-1. Reference documents that are no longer applicable
are deleted from this table; therefore, reference numbers may not be sequential.
Qualcomm Technologies
Q1 Application Note: Software Glossary for Customers CL93-V3077-1
Q2 Qualcomm Product Support Tool (QPST™) 2.7 User Guide 80-VL1400-3
Q3 Qualcomm Multiunit System Control (QMSCT) 80-VL903-1
1.5 Acronyms
For definitions of terms and abbreviations, see [Q1].
The QFIL tool is used to flash a build image into a target in Emergency Download (EDL) mode
or High Level OS (HLOS) mode (normal bootup).
Target device
and port
Target device
and port
Target device
not attached
Target device
attached
If the port is not automatically detected, click Select Port. Select the applicable device and
click OK. If no ports are displayed in the Select Port dialog, see Section 6 for troubleshooting
information.
2. In the Select Programmer field, click Browse and navigate to the flat build path and select
the programmer.
3. Select the Firehose Programmer MBN file, e.g., prog_<type>_firehose_<msm>.mbn.
Where:
<type> – Can be either emmc or ufs
The Select Build field is updated with the location of this programmer. You can also follow
step 3 below to change the search path. The programmer is downloaded before downloading
an image; if the programmer is not a firehose programmer, the image download will not
work.
b. Multi-select the patch0 and patch2 XML files, and click Open.
5. Click Download to start the download. During downloading, all of the function buttons are
dimmed and will be re-enabled after downloading is complete.
Progress bar
Status
The download progress is indicated by the horizontal progress bar. The Status field displays
the updated files and the images currently being programmed into the target device.
When the download has completed successfully, a Download Succeed and Finish Download
message displays in the Status field.
7. Click Download.
When the download has completed successfully, a Download Succeed and Finish Download
message displays in the Status field.
2. In the Content XML field, click Browse and select the contents.xml file.
3. In the Flat Build Path field, click Browse and navigate to the location where the flat build
image will be written.
4. To override the rawprogram file that is defined in contents.xml, in the RawProgram XML
field, click Browse and navigate to the applicable rawprogram file.
5. Click the Force Override Files checkbox to override any existing file in the Flat Build Path.
If this is unchecked and some files exist in the Flat Build Path, the process will not continue.
6. Click OK to start flattening the build.
When the flattening of the build completes successfully, the Flatten Succeed and Finish
Flatten messages are displayed in the Status field.
Status
7. Using Windows Explorer open the local flat build path to verify that the flat build succeeded.
3. In the Digest Xml Path field, click Browse to select the folder where the Digest XML file
will be stored. Click OK to start.
If the path is left empty, the Digest XML will be created in the same folder as the raw
program XML is by default.
The Digest XML (*.digest) must be created in advance in order to enable SHA256 validation.
Create Digest XML can be run multiple times to download multiple Raw Program XML
files. Use one Digest XML file per Raw Program XML and place these Digest XML in the
flat build folder using the same name as the Raw Program XML.
2. In the Readback Mode field, select one of the following to enable validation during
download:
Item Description
0-No Readback Disable Readback Verify
1-Always External Readback Data Once the download of a file is finished, Host(PC) will read out all
the data that is downloaded and compared them with the original
file data.
2-Always Internal Readback verify Once the download of a file is finished, Target (phone) will read
out all the downloaded data from eMMC and compared them with
the data that is received from USB Line.
3-Always External Readback Once the download of a file is finished, Host ask target to send out
SHA256 SHA256 hash of the data that is downloaded and compared them
with the original file hash. (Only work for a flat build. You will need
to create digest XML in advance in order to enable this feature)
4-Always External Readback Once the download of a file is finished, Host will read out all the
Data(SHA256 Verify) data that is downloaded, calculate the SHA256 hash of these data
on Host side and compared them with the original file hash. (Only
work for a flat build. You will need to create digest XML in advance
in order to enable this feature)
3. Once the *.pcfg file is loaded, the Programmer Path, Search Path, RawProgram and Patch
files will be loaded.
Access denied
error message