Android Tool and Production Line Solution презентация

Содержание

* Copyright © MediaTek Inc. All rights reserved. Outline Production Line Flow introduction Download Solution Meta Solution HW Test tool ATE tool SN-Writer Factory Mode Appendix

Слайд 1Internal Use
Copyright © MediaTek Inc. All rights reserved.
Android Tool and Production

Line Solution




Слайд 2*
Copyright © MediaTek Inc. All rights reserved.
Outline
Production Line Flow introduction
Download Solution
Meta

Solution
HW Test tool
ATE tool
SN-Writer
Factory Mode
Appendix


Слайд 3Internal Use
Copyright © MediaTek Inc. All rights reserved.
Production Line Flow intruduction



Слайд 4*
Copyright © MediaTek Inc. All rights reserved.
Production Line Test Tools


Слайд 5Internal Use
Copyright © MediaTek Inc. All rights reserved.
Download Solution



Слайд 6*
Copyright © MediaTek Inc. All rights reserved.
Boot up mode summary (Tree

view)

*

Copyright © MediaTek Inc. All rights reserved.

Normal Mode


BootRom

BROM DL Mode

Pre-Loader DL Mode


Pre-Loader

Factory Mode


LK

META Mode


Kernel


Recovery Mode

Fast boot Mode


Слайд 7USBDL Trigger Diff
Blank device USB DL
If flash of device has

no image, plug in usb cable directly to trigger device into DL.
Auto-detection
Auto detect usb cable plugging into and trigger device into download mode
USB DL Key
Using DL key (for example: kcol0) to trigger device into DL.

X*(NOTE): MT6573 preloader can support Preloader DL DA in Auto Detection mode.
Preloader Download DA Feature: FlashTool 1148 supported, MDT 1228 supported
Patch ID : ALPS00087511

*

Copyright © MediaTek Inc. All rights reserved.


Слайд 8*
Copyright © MediaTek Inc. All rights reserved.
Pre-loader
Pre-loader image
Handles all the download

and secure boot procedures
DSP_BL
DSP boot loader
NVRAM
Backup the hardware related information, such as calibration data, MAC address, IMEI … etc.
PRO_INFO , PROTECT_F and PROTECT_S
Stores the important data ,
SECCFG and SEC_RO
Reserved for the security platform used
U-boot
Second loader image
Handles most hardware initializations and bring-up entire Linux kernel
Boot
Linux kernel image and it’s root file system

*

Copyright © MediaTek Inc. All rights reserved.

NAND Partition Layout


Слайд 9*
Copyright © MediaTek Inc. All rights reserved.
*
Copyright © MediaTek Inc. All

rights reserved.

NAND Partition Layout

Recovery
Recovery kernel image and it’s root file system
Handles all the system recovery and firmware update functionalities
System (Android)
Android system image
Logo
Boot-up logo image
Cache
For Android internal used
Store Android internal cache data or web cache data
Misc
Used for the recovery procedure (power loss)
User
Used for Android system to store user data such as user contacts, settings, installed applications … etc.
EXPDB
Used to store the kernel panic debug messages


Слайд 10*
Copyright © MediaTek Inc. All rights reserved.
eMMC Device Layout (cont.)
The organization

of User Area

EBR1

NVRAM

SECCFG

UBOOT

BOOTIMG

RECOVERY

SECRO

MISC

LOGO

EXPDB

EBR2

ANDROID

CACHE

USRDATA

1st Partition Entry

2nd Partition Entry

3rd Partition Entry

4th Partition Entry

Master Boot Code

0x55AA


MBR



Слайд 11*
Copyright © MediaTek Inc. All rights reserved.
System Download Process(BROM)
Boot ROM









ISRAM
NAND




U-Boot
Boot IMG
Recovery
Boot

Code

1

DA


4

Pre-loader

Android

Flash Tool

5

6

7

8

9

Enum USB Full speed

3

DL DA

……

10

Enum USB High speed

Press KCOL0


Слайд 12*
Copyright © MediaTek Inc. All rights reserved.
Copyright © MediaTek Inc. All

rights reserved.

Download Methods (cont.)

DA Download All (Full Speed Only)
USB DL mode only
Full speed is slow, but stable.



Downloading bootloaders through DA

Downloading other images through DA

USB-FS: VID=0x0E8D, PID=0x0003

bootrom

DA

Preloader

bootimg

system img


USB

USB


A

B

A downloads B

USB-FS

Downloading DA through BootROM


Слайд 13*
Copyright © MediaTek Inc. All rights reserved.
Download Methods (cont.)
DA Download All

(Full Speed→ High Speed)
USB DL mode only
Please uninstall and reinstall your PC BROM USB driver in Factory. It will be stable.

1st stage: USB-FS

2nd and 3rd stage USB-HS

Downloading DA through BootROM

Downloading bootloaders through DA

Downloading other images through DA

USB-FS: VID=0x0E8D, PID=0x0003

USB-HS: VID=0x0E8D, PID=0x2001

bootrom

DA

Preloader

bootimg

system img


USB

USB


A

B

A downloads B


Слайд 14*
Copyright © MediaTek Inc. All rights reserved.
SP Flash Tool-- Main feature





Main feature
Download: Download only
Firmware upgrade
Keep PRO_INFO /NVRAM/ PROTECT_F/PROTECT_S
Size of backup partition must be the same.
Format
Logical format: default
physically format: need enter advance mode(“ctrl + alt +t”)
Readback: Readback raw data from target to PC
Memory test: Basic DRAM/NAND/eMMC r/w IO Test










SECCFG

Pre-loader

…..

PRO_INFO

PROTECT_F

PROTECT_S

NVRAM


Слайд 15*
Copyright © MediaTek Inc. All rights reserved.
Feature Support -Downlaod
SP Flash Tool

UI




Слайд 16*
Copyright © MediaTek Inc. All rights reserved.
Feature Support - Firmware upgrade
SP

Flash Tool UI






Слайд 17Feature support- firmware upgrade
There are two case of operations When doing

firmware upgrade
Case 1: Image layout not change
Case 2: Image layout change change
What is Image Layout
Means begin address and partition size of partition in scatter file.
old scatter file new scatter file


*

Copyright © MediaTek Inc. All rights reserved.



Begin address

Partition size


0x1300000-0xe00000


Слайд 18Case 1: Image layout not change
Tool will check the changes of

begin address and partition size from PRELOADER to PROTECT_S partition
Tool operations if layout has no changes
Step1 : Format from SECCFG to the end address of the flash
Step2: Download
Step3: Done


*

Copyright © MediaTek Inc. All rights reserved.





SECCFG

Pre-loader

…..

PRO_INFO

PROTECT_F

PROTECT_S

NVRAM


Слайд 19Case 2: Image layout change
Check the changes of begin address and

partition size from PRELOADER to PROTECT_S partition
Tool operations if layout change
Step1 : Tool backup partitions to PC side,include: PRO_INFO /NVRAM/ PROTECT_F/PROTECT_S
Step2: Total format and download
Step3: Restore the backup partitions
Step4: done


*

Copyright © MediaTek Inc. All rights reserved.





SECCFG

Pre-loader

…..

PRO_INFO

PROTECT_F

PROTECT_S

NVRAM


Слайд 20ReadBack NVRAM/PRO_INFO/ PROTECT_F /PROTECT_S parition to PC
Format the flash from Preloader

to User Image
Download all
Restore NVRAM Bin region to target

restore

backup

Partitions are Raw Data!!





SECCFG

Pre-loader

UBOOT

…..

NVRAM


PRO_INFO

PROTECT_F

PROTECT_S

Case 2: Image layout change


Слайд 21*
Copyright © MediaTek Inc. All rights reserved.
Feature Support - Format
Logical Format

(default)




Слайд 22*
Copyright © MediaTek Inc. All rights reserved.
*
Copyright © MediaTek Inc. All

rights reserved.

Feature Support - Format

physically Format
Need enter Advance mode first( “ctrl+alt+v”)





Слайд 23Feature Support - ReadBack
ReadBack:
Read flash raw data to PC side


Слайд 24Feature Support - Memory Test
Memory Test:
Basic DRAM/NAND/eMMC r/w IO Test





Слайд 25Feature Support - Others
SP flashtool Tool Logging
default is in “Runtime Trace

Mode”









Слайд 26*
Copyright © MediaTek Inc. All rights reserved.
SP MDT Tool-- Main feature



Format

and Download All
Physically Formal All, then download
Firmware upgrade(the same as flashtool)
Keep calibration data,IMEI,Simlock
Size of backup partition must be the same
Format All
Physically Formal All
Format Bootloader



Слайд 27MDT feature support- Scan comport
The comport number should be configured first.
Two

method to configure comport number
Using auto scan feature
Please refer to the document “\Document\自动扫口和自动识别下载.pptx” which is in the location of MDT root directory.
Configure the SPMultiPortFlashDownloadProject.ini directly.



bootrom comport

Preloader comport


Слайд 28MDT feature support- operating steps


Слайд 29*
Copyright © MediaTek Inc. All rights reserved.
MDT feature support- Others
Auto pulling
If

this option is selected, After one download thread has download successfully, this download thread will enter next download flow automatically, and wait the next phone to be plugged into.


Tool Logging





Слайд 30QT Flashtool
*
Copyright © MediaTek Inc. All rights reserved.


Слайд 31How to reinstall your PC driver
CMD to show all Comport device
Click

devmgmt.bat in MDT Tool folder
Check view->显示隐藏设备.

*

Copyright © MediaTek Inc. All rights reserved.



Слайд 32How to reinstall your PC driver
Uninstall PC driver



Re-Install PC driver

*
Copyright ©

MediaTek Inc. All rights reserved.



Слайд 33How to reinstall your PC driver
Right Click -> Update Driver,
*
Copyright ©

MediaTek Inc. All rights reserved.



Слайд 34DL and Firmware Update Summary
 1.工廠端, 第一次download使用:  FORMAT +Download;
=>[Download] DA完成对整个flash的erase操作, 并将image 下载到手机中去

[Bootup] 此后开机bootup到bootimg
2. 工厂,售后, 透过DL Tool进行 USB update image, 选择Firmware Update.
=>[Update] USB download 覆盖上一个版本的相关image区域, 保留nvram区域. 如果您还在flash tool勾选了user image, user data数据会被擦除更新掉,否则不会.
[Bootup] 此后开机bootup到新bootimg 
3. 客戶或工厂,使用 Android 內的 Setting -> privacy -> restore factory 的選項reset  Factory (Clean Boot)
=> [Recovery] 重新Reset,bootup到 Recovery image, 清除 user data, Cache 区域. 保留NVRAM参数. 时间大约20 s.
 然后重新bootup到bootimg(有断电处理,当看到下一次开机跑bootloader,就可以关机了)
4.End User端,透过SD image update
=>[update] 按特定key,进入recovery mode,升级Boot.img, recovery.img, system.img,保留nvram, user data区域(有断电处理)
[Bootup] 此后开机bootup到新bootimg

Слайд 35Internal Use
Copyright © MediaTek Inc. All rights reserved.
Meta Tool



Слайд 36*
Copyright © MediaTek Inc. All rights reserved.
SP META Mode Architecture

*
Copyright

© MediaTek Inc. All rights reserved.

Application

AP Side

MD Side

SP Meta

HW Test

MAUI Meta

Underlying DLLs

FlashToolLib.dll

SPMETA_DLL.dll

CatcherCore.lib


TST

FT


AP CCCI


Modem

Modem CCCI



AP Editor


WIFI

Camera



MD NvRam

L1 Audio

L1(RF)

AP NvRam

Nvram_mdd

Nvram_pdd

PC

Target

Message / API

Message / API

UART/USB

Message
/ API

Libnvram

Libfile_op

META.dll


Слайд 37*
Copyright © MediaTek Inc. All rights reserved.
Boot Meta flow(uart1)
SP META Tool
FlashToolLib.dll
preloader
Uboot
meta_init
meta_init.rc
meta_tst
SP_BootAsMeta
“Ready”
“METAMETA”
“ATEMATEM”
FT_IS_ALIVE_REQ
SP

META DLL

FT_IS_ALIVE_CNF

reconnect


Слайд 38*
Copyright © MediaTek Inc. All rights reserved.
Boot Meta Flow(USB)
SP META Tool
FlashToolLib.dll
Preloader
Uboot
meta_init
meta_init.rc
meta_tst
SP_BootAsMetaByUSB
“Ready”
“METAMETA”
“ATEMATEM”
FT_IS_ALIVE_REQ
SP

META DLL

FT_IS_ALIVE_CNF

Select USB

reconnect

BootROM*

*不能按下KCOL0


Слайд 39*
Copyright © MediaTek Inc. All rights reserved.
Meta Tools
SP Meta Tool







Maui

Meta Tool



Слайд 40*
Copyright © MediaTek Inc. All rights reserved.
META Feature


Слайд 41*
Copyright © MediaTek Inc. All rights reserved.
Meta Connect requirement
Software requirements
SP Meta

tool / MAUI Meta tool
USB Driver
Preloader driver – USB VCOM Driver.zip
Gadget CDC driver – Android_Gadget_CDC_driver.rar.
Window SP2 Should Patch or upgrade to SP3
http://support.microsoft.com/kb/918365/
http://support.microsoft.com/kb/935892/
AP/BP database:





HW Requirement
USB or uart1 (1.8V TTL)
VBAT 供电



Слайд 42*
Copyright © MediaTek Inc. All rights reserved.
Meta Tool
Backup Nvram
If this option

is selected, Meta tool will trigger nvram backup from user data to NVRAM partitions when disconnect













SECCFG

Pre-loader

UBOOT

…..

NVRAM

PRO_INFO

PROTECT_F

PROTECT_S

USERDATA




Слайд 43*
Copyright © MediaTek Inc. All rights reserved.
Meta Tool—how to get META

log

SP META Tool: default is off, press “ctrl+alt+m” to turn on.
C:\BROM_DLL_V5.log
C:\SP_META_DLL.log




MAUI META Tool: default is on.
C:\Meta_DLL.log
C:\SP_BROM_DLL.log
C:\SP_META_DLL.log




Слайд 44*
Copyright © MediaTek Inc. All rights reserved.
Modem META Tool
Connect to Meta

mode
Check “Connect Smartphone into Meta mode”
Click “Reconnect”
Connect to UART1 or USB (press power on key only for UART1).

Слайд 45Internal Use
Copyright © MediaTek Inc. All rights reserved.
HW Test tool



Слайд 46*
Copyright © MediaTek Inc. All rights reserved.
HW Test tool
HW Test

Tool – for SMT soldering check











Слайд 47*
Copyright © MediaTek Inc. All rights reserved.
HW Test tool






Auto Test
Bluetooth
WIFI
GPS
FM
SD Card
GPIO

input level
SIM1/SIM2
M-Sensor
G-Sensor
ALSPS Sensor
C-Touch Panel



Слайд 48*
Copyright © MediaTek Inc. All rights reserved.
HW Test tool







Manual Test
Keypad LED
Vibrator
Index

LED
LCD Backlight
LCM
Speaker L/R
Receiver
Mic1 loopback
Mic2 loopback
GPIO output
Photoflash
Camera/Sub camera



Слайд 49Internal Use
Copyright © MediaTek Inc. All rights reserved.
ATE Tool



Слайд 50*
Copyright © MediaTek Inc. All rights reserved.
ATE Tool
MP Tool
Modem

2G/3G Calibration and Final Test
















Слайд 51*
Copyright © MediaTek Inc. All rights reserved.
ATE Tool

















Слайд 52*
Copyright © MediaTek Inc. All rights reserved.
ATE Tool


Слайд 53Internal Use
Copyright © MediaTek Inc. All rights reserved.
WCN ATE Tool



Слайд 54*
Copyright © MediaTek Inc. All rights reserved.
WCN ATE Tool


Слайд 55*
Copyright © MediaTek Inc. All rights reserved.
– BT/WIFI/FM/GPS RF performance check















WCN ATE Tool


Слайд 56Internal Use
Copyright © MediaTek Inc. All rights reserved.
SN-Writer



Слайд 57SN Write tool
SN write tool for Smartphone
Feature
Support Barcode/IMEI/BT/WIFI MAC write
Support Backup

NVRAM
Support Four-In-One write




Copyright © MediaTek Inc. All rights reserved.


Слайд 58*
Copyright © MediaTek Inc. All rights reserved.
SN Write tool
System Config


Слайд 59*
Copyright © MediaTek Inc. All rights reserved.
SN Write tool
Writer IMEI


Слайд 60Internal Use
Copyright © MediaTek Inc. All rights reserved.
Factory Mode



Слайд 61Factory Mode – UI
UI Framework
MINI-UI framework
Boot up time much faster

than normal boot
Total test items: ~30




Слайд 62Factory Mode – linux mode
How to enter factory mode
Press power key+

volume-down key










Default setting
#define MT65XX_FACTORY_KEY KEY_VOLUMEDOWN















Слайд 63*
Copyright © MediaTek Inc. All rights reserved.
Factory Mode Test item(1/2)
8


Слайд 64Factory Mode Test item(2/2)

*
Copyright © MediaTek Inc. All rights reserved.


Слайд 65Factory Testing Customization
the factory mode can also be customized at run-time

via a customization file, named ‘factory.ini’, in the root directory of memory card

*

Copyright © MediaTek Inc. All rights reserved.

NOTE: the name of test item in factory.ini should be same as the name
of pre-defined test item. If it is not match, the test item will be filtered
and won’t be available on the testing list.

//FM Radio
FMRadio.CH1=885;
FMRadio.CH2=1058;
FMRadio.CH3=980;
FMRadio.CH4=1080;

//WIFI
WIFI.SSID=mtkguest;


Слайд 66Copyright © MediaTek Inc. All rights reserved.
Appendix


Слайд 67*
Copyright © MediaTek Inc. All rights reserved.
Boot up Mode
Android Bootup Mode
Download

Mode
BootROM/Preloader+DL DA (Full speed) -> DA DL Images(Full/High speed)
FlashToolLib.dll trigger
Meta Mode
BootROM -> Preloader -> Uboot -> Linux+TST APP+Modem Meta Mode
FlashToolLib.dll trigger
Factory Mode
BootROM -> Preloader -> Uboot -> Linux+FM APP+Modem Normal Mode
FactoryMode Key trigger
Normal Mode
BootROM -> Preloader -> Uboot -> Linux + Android
Recovery Mode
BootROM -> Preloader -> Uboot -> Linux+Recovery APP
Recovery Key, Reset To Factory trigger


Слайд 68*
Copyright © MediaTek Inc. All rights reserved.
ATE Tool
ATE Tool Calibration

Feature















Слайд 69
WiFi/BT/GPS/FM Test Flow
*
Copyright © MediaTek Inc. All rights reserved.


Parallel Test
Sequential Test
Time(s)


66.3
25.5

WIFI



Enter Test mode



Enable DUT/Tester




BT



GPS



FM



Exit Test mode




End Test


Слайд 70Copyright © MediaTek Inc. All rights reserved.
Feature phone Download tool


Слайд 71*
Copyright © MediaTek Inc. All rights reserved.
Feature phone- Flashtool Download Tool
Download

Tool

Слайд 72*
Copyright © MediaTek Inc. All rights reserved.
Feature phone- Flashtool



firmware upgrade :

Backup->download/format->restore



Слайд 73*
Copyright © MediaTek Inc. All rights reserved.
Feature phone- MDT Download Tool
Set

comport





Слайд 74*
Copyright © MediaTek Inc. All rights reserved.
Feature phone- MDT Download Tool





Слайд 75*
Copyright © MediaTek Inc. All rights reserved.
Feature phone- MDT Download Tool


Trace

Logging
Default is on.






Logging files
FP_MDT.log
BROM_DLL.log
META_DLL.log



Слайд 76*
Copyright © MediaTek Inc. All rights reserved.
AP META - NVRAM


Слайд 77*
Copyright © MediaTek Inc. All rights reserved.
AP META - Baseband


Слайд 78*
Copyright © MediaTek Inc. All rights reserved.
AP META - FM tool


Слайд 79*
Copyright © MediaTek Inc. All rights reserved.
AP META - WIFI tool


Слайд 80*
Copyright © MediaTek Inc. All rights reserved.
AP META - BT tool


Слайд 81*
Copyright © MediaTek Inc. All rights reserved.
AP META - GPS
Open GPS
Close

GPS
Query GPS info
8 item
Phase ratio
TXCO offset
TXCO drift
CNR mean




Compare the result with Spec and display

Please ask MTK GPS RF Owner for help by eService





Слайд 82*
Copyright © MediaTek Inc. All rights reserved.
Modem META Tool-Get Version
User can

use Get Version window to get version of Baseband, ECO, DSP firmware, DSP patch, software, Hardware, Melody from target

Слайд 83*
Copyright © MediaTek Inc. All rights reserved.
Modem META Tool-RF Tool




PM: Used

to measure the RX power transfer from the Radio Tester
GainSweep: Used to measure the RX power in different gains
Continous RX: Used to do the target continous RX quality
Continous TX: Used to control the target transmit power
TX Level and profile: Used to measure the TX power of the target by using Radio Tester
AFC Control: Used to do AFC control
AFC DAC Sweep: Used to get the best AFC DAC value
Crystal AFC control: Used to do Crystal AFC control
Crystal AFC Sweep: Used to do the Crystal AFC calibration
Multi Slot TX: Used to control target TX in multi Time slot

Слайд 84*
Copyright © MediaTek Inc. All rights reserved.
Modem META Tool-NVRAM Editor
The data

saved in flash is constructed by many records. NVRAM editor can edit each value in each record in the flash
Lock NVRAM function will lock write protect LID (such as IMEI)

Слайд 85*
Copyright © MediaTek Inc. All rights reserved.
Modem META Tool-IMEI/Barcode
User can use

IMEI download window to write IMEI into target or read out the IMEI of target



User can use Barcode download window to write SN into target or read out the SN of target

Слайд 86*
Copyright © MediaTek Inc. All rights reserved.
Modem META Tool-Factory mode
The META

factory mode current support:
2G/3G FDD:Agilent E1968A / CMU200/CMW500
3G TDD: Agilent E1968A / SP6010/CMW500

Обратная связь

Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое ThePresentation.ru?

Это сайт презентаций, докладов, проектов, шаблонов в формате PowerPoint. Мы помогаем школьникам, студентам, учителям, преподавателям хранить и обмениваться учебными материалами с другими пользователями.


Для правообладателей

Яндекс.Метрика