You are on page 1of 11

Fuzhou Rockchip Electronics Co.

,
Ltd.
Unified production tools
User Instructions
2010-3-20
Document Revision History
The
version
number
Enacted
Preparer
/ modify
people
Modify the description
Effective
Date
Remarks
1.0 2010-3-20 C w First edition

1.1 2010-10-12 LY
Increase the error
description

1.2
2011-06-
28
LY
Increase the data disk
operating configuration
parameters

1.3 2011-11-15 LY
Quick check firmware mode
increases

1.4 2012-03-02 LY
Increase the common setup
instructions








Table of Contents
Overview
1. Use objects
2. Components Overview
2.1. Tools directory structure
2.2. Common profile settings
2.2.1. Language Day
2.2.2. System section
2.2.3. Common functional configuration
3. Use the steps
3.1. Modify the configuration file
3.2. Install the driver
3.3. Batch firmware upgrade
3.3.1. Interface Introduction
3.3.2. Procedure
3.3.3. Error Messages Explained
4. Precautions
Overview
Unified production tools are Rockchip Electronics Co., Ltd. in order to improve
customer productivity and specially developed tools. The tool is primarily used in
factory firmware upgrade for the product in large quantities.
1. Use objects
The need for large quantities of products factory firmware upgrade.
2. Components Overview
2.1. Tools directory structure
config.ini
Tool configuration file, the tool can be used to set the language and upgrades
related properties, the specific setting methods are detailed profile commonly used
settings .
Language
Language file storage directory, all files currently supported languages are stored
in this directory.
Log
Log storage directory, log normal and error messages output to save the upgrade
process, the log function can be modified in the configuration file LOGFLAG item to
enable or disable, the proposed open to facilitate future error analysis.
RKBatchTool.exe
Production tools program
2.2. Common profile settings
N ote: red is commonly used settings
2.2.1. Language Day
Kinds = 2 @ All the current number
of languages supported by the tool
Selected = 1 @ Specify the current tool uses language
// Selected = 1 (Chinese); Selected = 2 (English)
LangPath = Language \ @ Language file directory
Lang1File = Chinese.ini @ Chinese language file
Lang1 FontName = Arial @ Chinese language fonts
Lang1FontSize = 9 @ Chinese language font size
Lang1Tag = CHN @ Chinese language logo
Lang1CHNTitle = Chinese Chinese @ Chinese language
selection Show Title
Lang1ENGTitle = Chinese Chinese // English language selected
display title

Lang2File = English.ini @ English language file
Lang2FontName = Arial @ English language fonts
Lang2FontSize = 9 @ English language font size
Lang2Tag = ENG @ English language logo
Lang2CHNTitle = English English @ Chinese language
selection Show Title
Lang2ENGTitle = English English // English language selection
Show Title
2.2.2. System section
RKUSB_VID = 0x 2207 // VID RockUsb equipment, do
not set the vent to
RKUSB_PID = 0x 290A // PID
RockUsb equipment ,, not set, the vent can be
MSC_VID = 0x0 BB4 // VID MSC device, do not set the
vent to
MSC_PID = 0x 2910 // PID MSC device, do
not set the vent to

FORCEFLAG = FALSE @ Whether to adopt
mandatory erased, no longer use

FORMATFLAG = TRUE Whether the disk is a user @ upgrade formatting format set to TRUE, the other value is not
formatted
DISKVOLUME = Rockchip When the disk volume label for the
specified user @ formatting
COPYFLAG = TRUE Are copies of the directory or file to the user after the @ upgrade disk
root directory, set to TRUE copy, do not copy other values
DEFAULT_COPYDIR = @ Copy of the directory or file
to specify the path where you want to copy

FORMATDATADISKFLAG = TRUE Whether the data disk is formatted after // upgrade, set to TRUE format, other values
without formatting
DATADISKVOLUME = Rockchip When the disk volume label for the
specified user @ formatting
COPYDATADISKFLAG = TRUE Are copies of the directory or file @ upgrade to the data root directory, set to
TRUE copy, do not copy other values
DEFAULT_DATADISK_COPYPATH = @ Copy of the directory or file to
specify the path where you want to copy

LOGFLAG = TRUE @ Logging, open the log function is set to TRUE, the other values off logging

SUPPORTLOWUSB = TRUE @ Scan full speed usb device switch is
set to TRUE then scanned Full speed usb device, other values only scan high speed usb device

DEFAULT_FIRMWARE = @ Default firmware load path, the path after the specified default firmware, it will
automatically open the default firmware tool starts


CHECK_MACHINE_MODEL = TRUE @ Firmware matching checking function,
By setting CHECK_MACHINE_MODEL items, you can check whether to allow before upgrading the firmware upgrade, allowing
the
Conditions MACHINE_MODEL file matches the value parameter values to keep the device firmware.
QUICK_CHECK_MODE = TRUE @ Quick check firmware switch, set to open quickly check the firmware function
is TRUE, but this feature is non-complete check there are certain risks.

FW_VERSION_MODE = @ Firmware version display format
DEC: Decimal display
Other: hexadecimal display
MISC_MODIFY_MODE = // MISC zoning changes sign,
WIPE_ALL: Erase userdata, cache and user area
WIPE_DATA: erase userdata and cache area
Other values are not modified by the original
partition contents misc

MSC_WAITTIME = 30 @ Msc reconnect wait
time (unit: seconds)
RKUSB_WAITTIME = 20 @ Waiting time RockUsb reconnect (unit: seconds)
2.2.3. Common functional configuration
Open the copy of the Demo function:
Set FORMATFLAG = TRUE,
COPYFLAG = TRUE,
DISK_VOLUME = disk label
DEFAULT_COPYDIR = be copied file or directory path
Android projects need to add a setting:
MISC_MODIFY_MODE = WIPE_DATA; After prevent copying user data is erased
disk recovery program

3. Use the steps
Modify the configuration file
Plug the device to be upgraded, if prompted to find new hardware, install the
driver Rockusb
Run the tool, select the firmware upgrade
3.1. Modify the configuration file
Modify the configuration file, as described in the configuration file commonly used
settings
3.2. Install the driver
Before upgrading the firmware, turn off the player. Press and hold the button down
upgrades, while connecting the device to a PC USB port. If not previously installed
device drivers, it will pop up the following tips:

Select "Install from a list or specific location (Advanced)" and click Next.

Select the driver folder rockusb.sys


This completes the driver installation of the USB device.
3.3. Batch firmware upgrade
3.3.1. Interface Introduction

3.3.2. Procedure
Plug the device
Select the Firmware
Verify that the device enters Rockusb state (Maskrom and Loader state belong Rock
usb state)
Upgrade or repair equipment
3.3.3. Error Messages Explained
"Failed to load configuration information can not be operated",
because Config.ini file loading error, you can get the correct files from the release
program Config.ini replacement
"Load Firmware failure, unable to operate!" Because there is no selection or
firmware firmware can not correctly read the cause, make sure the firmware is correct
"Other operations are running, please wait!" As other operations currently in
progress, please wait for the end of the other operations further
"Did not find the device can not be operated!" Please confirm whether the device
is connected, or whether Rockusb state
"Creating operational processes fail, unable to operate!" Please restart the
program before proceeding
"Object creation failed, unable to operate!" Please restart the program, and then
when the line operations
"Does not support this type of device can not be operated!" Please confirm whether
the device into the Rock usb state, if the current state is U disk, please switch
operation after

4. Precautions
When the batch is best to upgrade multiple devices connected to the
same HUB, while upgrading equipment is recommended no more than four units.
After modifying the configuration file, you need to re-run production tools
When using production tools, do not open other upgrades
Production tools in the production process to the device automatically generates
a UID unique code, if you need to ensure that this unique code, reliable, please use
production tools for computer equipped card.
When Boot firmware version update, we recommend using the repair function do
the upgrade.

You might also like