ResearchDownload User Guide (En)
ResearchDownload User Guide (En)
ResearchDownload User Guide (En)
Version: 1.0.4
DocCode: SW-BASE-UG-0051
Date: Jul 31, 2013
www.spreadtrum.com
Issue 01 (2010-04-13)
Important Notice
Copyright Notice
Copyright 2010, Spreadtrum Communications, Inc. All rights reserved.
Trademarks
Spreadtrum Communications, Inc. and Spreadtrum Communications, Inc.'s products are
exclusively owned by Spreadtrum Communications, Inc. References to other companies and
their products use trademarks owned by the respective companies and are for reference
purpose only.
Warranty Disclaimer
Spreadtrum Communications, Inc. makes no representations or warranties, either expressed or
implied, by or with respect to anything in this document, and shall not be liable for any
implied warranties of merchantability or fitness for a particular purpose or for any indirect,
special or consequential damages.
Confidentiality
The information contained herein (including any attachments) is confidential. The recipient
hereby acknowledges the confidentiality of this document, and except for specific purposes,
this document shall not be disclosed to any third party.
ii
Issue 01 (2010-04-13)
Intended Audience
Organization
This document consists of five chapters and is organized as follows.
Chapter
Describes
1 Introduction
2 Interface Description
3 Quick Start
4 Basic Operations
Issue 01 (2010-04-13)
iii
Contents
1 Introduction............................................................................... 1-3
1.1 System Overview............................................................................................................................................1-3
1.2 File Composition............................................................................................................................................1-3
1.3 Running Requirements...................................................................................................................................1-4
2 Interface Description..................................................................2-5
2.1 Main User Interface........................................................................................................................................2-5
2.2 Toolbar............................................................................................................................................................2-5
2.3 Status Area......................................................................................................................................................2-6
3 Quick Start................................................................................3-8
3.1 Running the Program......................................................................................................................................3-8
3.2 Setting Parameters..........................................................................................................................................3-8
3.3 Starting Downloading.....................................................................................................................................3-9
3.4 Completing Download Process....................................................................................................................3-10
3.5 Stopping the Program...................................................................................................................................3-10
4 Basic Operations......................................................................4-11
4.1 Parameter Settings........................................................................................................................................4-11
4.1.1 Download Settings Dialog Box...........................................................................................................4-11
4.1.2 Main Page Tab Page............................................................................................................................4-12
4.1.3 Options Tab Page.................................................................................................................................4-13
4.1.4 Calibration Tab Page...........................................................................................................................4-14
4.1.5 Flash Operation Tab Page....................................................................................................................4-15
4.1.6 Multi-Language Tab Page...................................................................................................................4-16
4.1.7 LCD-Configure Tab Page....................................................................................................................4-17
4.1.8 MCP Type Tab Page............................................................................................................................4-18
4.2 Packing.........................................................................................................................................................4-18
4.3 Modifying the Product Configuration File...................................................................................................4-19
4.3.1 Adding Products..................................................................................................................................4-19
4.3.2 Adding Backup Items..........................................................................................................................4-21
4.3.3 Adding the Special Configuraiton File................................................................................................4-22
4.3.4 Hiding Some Products.........................................................................................................................4-22
iv
Issue 01 (2010-04-13)
Figures
Figure 2-1 Main user interface............................................................................................................................2-5
Figure 2-2 Status area..........................................................................................................................................2-6
Figure 2-3 Passed.................................................................................................................................................2-7
Figure 2-4 Failed..................................................................................................................................................2-7
Figure 2-5 Waiting...............................................................................................................................................2-7
Figure 3-1 Download settings dialog box............................................................................................................3-9
Figure 3-2 Downloading progress.......................................................................................................................3-9
Figure 3-3 Downloading succeeded..................................................................................................................3-10
Figure 3-4 Downloading failed..........................................................................................................................3-10
Figure 4-1 Download Settings dialog box.........................................................................................................4-11
Figure 4-2 Serial port settings............................................................................................................................4-12
Figure 4-3 Selecting the product........................................................................................................................4-12
Figure 4-4 Selecting the file..............................................................................................................................4-13
Figure 4-5 FLASH settings................................................................................................................................4-13
Figure 4-6 Options tab page..............................................................................................................................4-13
Figure 4-7 Calibration tab page.........................................................................................................................4-14
Figure 4-8 Flash Operation tab page.................................................................................................................4-15
Figure 4-9 Multi-language tab page..................................................................................................................4-16
Figure 4-10 Multi-language tab page................................................................................................................4-17
Figure 4-11 MCP Type tab page........................................................................................................................4-18
Figure 4-12 Packet Setting dialog box...............................................................................................................4-19
Tables
Table 1-1 File composition..................................................................................................................................1-3
Table 2-1 Toolbar icons........................................................................................................................................2-5
Table 2-2 Columns in the status area...................................................................................................................2-6
Table 4-1 Download settings dialog box elements............................................................................................4-11
Table 4-2 Calibration tab page...........................................................................................................................4-14
Table 4-3 Flash Operation tab page...................................................................................................................4-15
Table 4-4 Multi-language tab page....................................................................................................................4-17
Issue 01 (2010-04-13)
Introduction
File
*.exe
ResearchDownload.exe
BMAFrame.dll
*.dll
BMPlatform.dll
Channel.dll
DiagChan.dll
ResearchDownload.ini
BMFileType.ini
BMError.ini
Configuration file
BMTimeout.ini
BMAConfig.xml
Channel.ini
DiagChan.ini
MCPType.ini
Issue 01 (2010-04-13)
Issue 01 (2010-04-13)
Interface Description
2.2 Toolbar
Table 2-1 describes the toolbar icons.
Figure 1.1 Toolbar icons
Icon
Description
Select the downloading packet file
Issue 01 (2010-04-13)
Start downloading
Stop downloading
Version information
Description
Port number
Port
Step
Status
Progress
Time(s)
Issue 01 (2010-04-13)
Note:
Waiting indicates that an operation is being performed and it will take some time.
Issue 01 (2010-04-13)
Quick Start
to select downloading
to select the
Issue 01 (2010-04-13)
Note:
Set the parameters when you run the program for the first time. Later you can set them depending on
your own requirements.
Note:
If the mobile device is connected to the serial port but download process is still not started, infer that:
Issue 01 (2010-04-13)
The serial port is being used by another program and therefore ResearchDownload cannot open it.
To solve the problem, quit the program that is using the serial port.
The mobile device is not in the boot mode state. Only when the mobile device is in the boot mode
state, download can be started.
to start downloading
10
to stop downling.
Issue 01 (2010-04-13)
Basic Operations
Figure 1.2 describes the elements in the Download settings dialog box.
Figure 1.2 Download settings dialog box elements
Element
Description
Issue 01 (2010-04-13)
11
Product to be downloaded
Packet button
12
Issue 01 (2010-04-13)
Double-click the FileName column to type the file path in or click to select the file. See
Figure 1.1.
Figure 1.1 Selecting the file
Note:
The file name is ***.bin and is released with the program. Generally, the first file is FDL(1) and shall
be downloaded. The FileName column cannot be null.
FLASH Settings
If you select the FLASH, ResearchDownload will erase the section of mobile device flash.
The address and size of the flash section is shown in Figure 1.1.
Figure 1.1 FLASH settings
Issue 01 (2010-04-13)
13
Repartition
ResearchDownload will repartition the NAND flash during downloading FDL2, only if
the NAND flash is initialized failed, no matter what errors occur the fail. In this case, it
is not sure that all the data in the flash is erased, and it will depend on FDL2 itself.
Keep Charge
Keep V-charge.
Reset To Normal
ResearchDownload will send reset command to the phone at the end of download
process if you check this item.
14
Issue 01 (2010-04-13)
Description
Check Calibration and then the following sub check
boxes become available:
Calibration
IMEI
Checked by default
Blue Tooth
Checked by default
TD_Calivration
Save To local
Checked by default
The functions of Continue if not find calibration item in Bluetooth is the same as that in
Calibration.
Issue 01 (2010-04-13)
15
16
Element
Description
SN
Base
Size
Read size
File
Clear
Issue 01 (2010-04-13)
It is used to set the supported languages in NV file specially. You can double click the icon
ball to set default language.
Figure 1.2 Multi-language tab page
Element
Description
Red-ball is default language
Normal supported language
Note:
If the NV file is not set or included supported language information, this page will be empty.
Issue 01 (2010-04-13)
17
18
Issue 01 (2010-04-13)
Issue 01 (2010-04-13)
19
4.2 Packing
Step 1 In the Download settings dialog box shown in 3.2.1 IStep 1Figure 1.1, select the product to
be packed.
Step 2 Select the files to be packed.
The PhaseCheck file is used only for downloading production tools. It shall be selected.
Step 3 Set the parameters on the Nand Flash and Calibration tab pages.
20
The parameters on the Nand Flash tab page shall be correctly set. Otherwise, error
messages will be given during unpacking.
If you select repartitioning, back up the NV and select all the files. Otherwise, error
messages will be given during unpacking.
Issue 01 (2010-04-13)
Issue 01 (2010-04-13)
21
</File>
...
</Scheme>
Pay attention to the following points:
XXX is the Scheme name. It cannot be the same as those Scheme names under
<SchemeList>.
For the file type, consult relevant engineers. If necessary, you can add file types in
BMFileType.h, for example, <ID>FDL2</ID>. For NAND Flash, the file type should
be <Type>NAND_FDL</Type>.
Base and Size are both hexadecimal and start with 0x. The initial value of size is
generally 0x0 except when the file ID is Flash.
Flag is generally 1, which indicates importing the file. If the file ID is Flash, Flag is 0.
Adding a Product
Under <ProductList>, add a new node at the end.
<Product name="YYY" [enable="1"]>
<SchemeName>XXX</SchemeName>
<FlashTypeID>0</FlashTypeID>
<Mode>0</Mode>
<NvBaseAddrChangeFlag>0</NvBaseAddrChangeFlag>
<NvNewBasePosition>1</NvNewBasePosition>
<NVBackup backup="1">
<NVItem name="Calibration" backup="1">
<ID>0xFFFFFFFF</ID>
<BackupFlag use="1">
< NVFlag name ="Replace" check ="0"></ NVFlag >
< NVFlag name ="Continue" check ="0"></ NVFlag >
</BackupFlag>
</NVItem>
<NVItem name="IMEI" backup="1">
<ID>0xFFFFFFFF</ID>
<BackupFlag use="0"></BackupFlag>
</NVItem>
</NVBackup>
<ProductComment></ProductComment>
22
Issue 01 (2010-04-13)
</Product>
Pay attention to the following points:
Product name YYY cannot be the same as the names under <ProductList>.
[enable="1"] is optional.
SchemeName is the scheme name created in the previous segment or the existing names
under SchemeList.
For single mode products, Mode is 0. For dual mode products, Mode is 1.
NV backup items is either Calibration or IMEI, the backup of which is 1 and the ID of
which is 0xFFFFFFFF. Other items have their own IDs.
NVFlag name is either Replace or Continue. The former indicates that the old NV items
are replaced with the new items. The latter indicates that if no NV items are found, the
operation will go on.
Issue 01 (2010-04-13)
23
<BackupFlag use="1">
< NVFlag name ="Replace" check ="0"></ NVFlag >
< NVFlag name ="Continue" check ="0"></ NVFlag >
</BackupFlag>
<BackupFlag use="0"></BackupFlag>
<BackupFlag use="1">
< NVFlag name ="Continue" check ="0"></ NVFlag >
</BackupFlag>
The new backup item ID cannot be the same as that of the ID of Calibration or IMEI.
If a product in the BMAConfig.xml has the same name as a file in the private
configuration file, replace the former with the latter. If there are multiple private
configuration files, the standard configuration of the same products is the latest one.
The directory of the private configuration file shall be on the same level as that of the
BMAConfig.xml.
//method 1
...
</Product>
<Product name="YYYY" enable="0"/>
24
//method 2
Issue 01 (2010-04-13)
</ProductList>
Pay attention to the following points:
Method2: set enable to 0 to hide a product. It cannot be set to 1 because it has no detailed
product description.
Issue 01 (2010-04-13)
25