81
Introduction of Introduction of MTK Tools MTK Tools Jackson Liang Jackson Liang 200 200 6 6 / / 12 12 / / 20 20

Introduction of MTK Tools V2 .pdf

Embed Size (px)

Citation preview

  • Introduction of Introduction of MTK ToolsMTK Tools

    Jackson LiangJackson Liang20020066//1212//2020

  • COMPANY CONFIDENTIAL, Page 2

    AgendaAgenda Introduction of Catcher tool

    Basic operation of catcher Catcher debug usage AT Command tool bar

    Introduction of Meta tool Brief introduction of Meta Meta Lab introduction Meta factory introduction

    Introduction of MTK download tools Brief introduction of brom, brom.dll and DA Usage of Flash tool Brief introduction of multiple bin mechanism Usage of Multi-port download tool

    Introduction of ATE tool Brief introduction of MTK production test solution How to setup production line test station for RF Calibration and Final test Usage of ATE

    Introduction of SN Station tool Brief introduction of SN Station tool Usage of SN Station tool

    Q&A

  • IIntroducntroduction oftion of CatcherCatcher

  • COMPANY CONFIDENTIAL, Page 4

    What is catcher? Catcher is a PCCatcher is a PC--side tool for MTK GSM/GPRS Products. side tool for MTK GSM/GPRS Products. The main purpose of Catcher is for The main purpose of Catcher is for logging primitives and debug logging primitives and debug

    informationinformation. Engineers can use Catcher to analyze the behavior of . Engineers can use Catcher to analyze the behavior of mobile phones.mobile phones.N.BN.B: Before using catcher, please remember to : Before using catcher, please remember to set TST UART Port set TST UART Port

    to UART 1. to UART 1.

  • COMPANY CONFIDENTIAL, Page 5

    Basic operation of catcher (1) Step1:Set databaseStep1:Set database

    Step2:Set logging modeStep2:Set logging mode

  • COMPANY CONFIDENTIAL, Page 6

    Basic operation of catcher(2)(2) Step3: Configure RS232Step3: Configure RS232

  • COMPANY CONFIDENTIAL, Page 7

    Basic operation of catcher(3)(3) Step4: Start connectStep4: Start connect

    Step5:Select the correct filterStep5:Select the correct filter

  • COMPANY CONFIDENTIAL, Page 8

    Catcher default filter User can select what type of log they want to catch and select tUser can select what type of log they want to catch and select the he

    type from the List.type from the List.

  • COMPANY CONFIDENTIAL, Page 9

    Catcher debug usage (1) Catcher will cache the log according to which filters has been sCatcher will cache the log according to which filters has been set.et.

  • COMPANY CONFIDENTIAL, Page 10

    Catcher debug usage (2) User User can cache can cache the the assert assert procedure by catcherprocedure by catcher..

    Assert Assert :: AssertAssert(())

  • COMPANY CONFIDENTIAL, Page 11

    Catcher debug usage ((33))

  • COMPANY CONFIDENTIAL, Page 12

    Catcher debug usage ((44)) AssertAssertIdleIdle

    Engineer ModeEngineer ModeTST UART TST UART TST UART1TST UART1

  • COMPANY CONFIDENTIAL, Page 13

    Catcher debug usage (5) After connecting with the target, Catcher receives notification After connecting with the target, Catcher receives notification of of

    any valid exception records in the NVRAM and shows them in the any valid exception records in the NVRAM and shows them in the Sys Trace window.Sys Trace window.

    When the user press the read button, Catcher receives the When the user press the read button, Catcher receives the corresponding primitive log messages and decodes the exception corresponding primitive log messages and decodes the exception records into their data structures according to their exception records into their data structures according to their exception type. type. Pressing the Reset button deletes all exception records in NVRAMPressing the Reset button deletes all exception records in NVRAM..

  • COMPANY CONFIDENTIAL, Page 14

    AT Command Toolbar The AT Command toolbar allows the user to send AT commands to The AT Command toolbar allows the user to send AT commands to

    the protocol stack. The AT command may only be sent after the the protocol stack. The AT command may only be sent after the catcher is oncatcher is on--line and connected to a target mobile phone.line and connected to a target mobile phone.

  • Introduction of MetaIntroduction of Meta

  • COMPANY CONFIDENTIAL, Page 16

    What is Meta? Meta (Mobile Engineering Testing Architecture) application is coMeta (Mobile Engineering Testing Architecture) application is composed mposed

    of Meta LAB and Meta factory. Both Meta Lab and Meta factory areof Meta LAB and Meta factory. Both Meta Lab and Meta factory are the the windows application at PC side.windows application at PC side.

    Meta LAB offers versatile testing features in RF TX/RX/AFC contrMeta LAB offers versatile testing features in RF TX/RX/AFC control, ol, NVRAM access testing and editing, audio related functions, NVRAM access testing and editing, audio related functions, BaseBandBaseBandrelated functions, MMI data download, IMEI download, getting harrelated functions, MMI data download, IMEI download, getting hardware dware and software version, barcode download, updating parameter, FAT and software version, barcode download, updating parameter, FAT editor editor and database change list. All Meta LAB testing procedure should and database change list. All Meta LAB testing procedure should be be operated manually due to no specific equipment control.operated manually due to no specific equipment control.

    Meta factory provides the RF calibration and ADC calibration funMeta factory provides the RF calibration and ADC calibration function ction required in factory mass production line and Ag8960, R&S CMU200 required in factory mass production line and Ag8960, R&S CMU200 and and Power Supply control will be supported.Power Supply control will be supported.

  • COMPANY CONFIDENTIAL, Page 17

    META Target Tasks There are only the following five tasks wake up in Meta Mode:There are only the following five tasks wake up in Meta Mode:

    FT taskFT task TST taskTST task MEDIAMEDIA tasktask L1 audio taskL1 audio task NVRAM taskNVRAM task

  • COMPANY CONFIDENTIAL, Page 18

    Meta Lab introduction (1) Software architecture Software architecture

  • COMPANY CONFIDENTIAL, Page 19

    Meta Lab introduction (2) RF ToolRF Tool

    Totally, there are ten RF sections in the RF toolTotally, there are ten RF sections in the RF tool1.1. PM: Used to measure the RX power transfer from the Radio TesterPM: Used to measure the RX power transfer from the Radio Tester2.2. GainSweepGainSweep: Used to measure the RX power in different gains : Used to measure the RX power in different gains 3.3. ContinousContinous RX: Used to do the target RX: Used to do the target continouscontinous RX qualityRX quality4.4. ContinousContinous TX: Used to control the target transmit powerTX: Used to control the target transmit power5.5. TX Level and profile: Used to measure the TX power of the targetTX Level and profile: Used to measure the TX power of the target by using by using

    Radio TesterRadio Tester6.6. AFC Control: Used to do AFC controlAFC Control: Used to do AFC control7.7. AFC DAC Sweep: Used to get the best AFC DAC value AFC DAC Sweep: Used to get the best AFC DAC value 8.8. Crystal AFC control: Used to do Crystal AFC controlCrystal AFC control: Used to do Crystal AFC control9.9. Crystal AFC Sweep: Used to do the Crystal AFC calibration Crystal AFC Sweep: Used to do the Crystal AFC calibration 10.10. Multi Slot TX: Used to control target TX in multi Time slotMulti Slot TX: Used to control target TX in multi Time slot

  • COMPANY CONFIDENTIAL, Page 20

    Meta Lab introduction (3) NVRAM TestingNVRAM Testing User can use this function to access and edit three kinds of NVRUser can use this function to access and edit three kinds of NVRAM AM

    Data. There are System related Data , L1 Data and other data.Data. There are System related Data , L1 Data and other data.

  • COMPANY CONFIDENTIAL, Page 21

    Meta Lab introduction (4) Audio functionAudio function

    There are many audio functions supported by Meta. They are acousThere are many audio functions supported by Meta. They are acoustic tic FIRFIR--coefficient, additional output FIRcoefficient, additional output FIR--coefficient, AMR FIRcoefficient, AMR FIR--coefficient, coefficient, melody FIRmelody FIR--coefficient, audio testing ,ring composer, play song in FAT, coefficient, audio testing ,ring composer, play song in FAT, play song using ID, customer volume setting, acoustic FIR tuningplay song using ID, customer volume setting, acoustic FIR tuning and and Melody FIR tuning.Melody FIR tuning.

  • COMPANY CONFIDENTIAL, Page 22

    Meta Lab introduction (5) BaseBandBaseBand functionfunction

    There are three following parts in this function.There are three following parts in this function. Auxiliary ADC: Used to do ADC calibration manuallyAuxiliary ADC: Used to do ADC calibration manually Register Read/Write: Used to read or write the BB register valueRegister Read/Write: Used to read or write the BB register value Battery Level: Used to modify the battery level valueBattery Level: Used to modify the battery level value

  • COMPANY CONFIDENTIAL, Page 23

    Meta Lab introduction (6) MMI Data DownloadMMI Data Download

    User can use MMI data download window to download full screen , User can use MMI data download window to download full screen , associate, EMS , midi and associate, EMS , midi and iMelodyiMelody files to FAT from PC Side.files to FAT from PC Side.

  • COMPANY CONFIDENTIAL, Page 24

    Meta Lab introduction (7) IMEI downloadIMEI download

    User can use IMEI download window to write IMEI into target or rUser can use IMEI download window to write IMEI into target or read ead out the IMEI of target .out the IMEI of target .

    Barcode downloadBarcode download User can use Barcode download window to write SN into target or User can use Barcode download window to write SN into target or read read

    out the SN of target .out the SN of target .

  • COMPANY CONFIDENTIAL, Page 25

    Meta Lab introduction (8) Get VersionGet Version

    User can use Get Version window to get version of User can use Get Version window to get version of BaseBandBaseBand, ECO, , ECO, DSP firmware, DSP patch ,software , Hardware , Melody from targeDSP firmware, DSP patch ,software , Hardware , Melody from target.t.

  • COMPANY CONFIDENTIAL, Page 26

    Meta Lab introduction (9) Update parameterUpdate parameter

    User can use update parameter window to upload/download RX path User can use update parameter window to upload/download RX path loss, AFC, APC and ADC calibration parameter or load/save RX patloss, AFC, APC and ADC calibration parameter or load/save RX path h loss, AFC ,APC and ADC calibration from/to file.loss, AFC ,APC and ADC calibration from/to file.

  • COMPANY CONFIDENTIAL, Page 27

    Meta Lab introduction (10) FAT EditorFAT Editor

    User can use FAT editor window to read ,write ,delete files in FUser can use FAT editor window to read ,write ,delete files in FAT and AT and get FAT disk information which contains sector per cluster, FAT get FAT disk information which contains sector per cluster, FAT total total size and FAT free space.size and FAT free space.

  • COMPANY CONFIDENTIAL, Page 28

    Meta Lab introduction (11) DataBaseDataBase ChangeChange

    User can use database change window to get database change list User can use database change window to get database change list between two NVRAM database files and FAT free space.between two NVRAM database files and FAT free space.

  • COMPANY CONFIDENTIAL, Page 29

    Meta Lab introduction (12) SettingSetting

    User can use setting function to get/set target setting.User can use setting function to get/set target setting.

  • COMPANY CONFIDENTIAL, Page 30

    Meta factory introduction (1)

    Software architectureSoftware architecture

  • COMPANY CONFIDENTIAL, Page 31

    Meta factory introduction (2) In Meta factory mode, Meta controls Agilent 8960, R&S CMU200, In Meta factory mode, Meta controls Agilent 8960, R&S CMU200,

    Power Supply and target to do calibration procedure. Before usinPower Supply and target to do calibration procedure. Before using g this mode, user must install driver of GPIB card and Visa.this mode, user must install driver of GPIB card and Visa.

    The Meta factory mode current support:The Meta factory mode current support: Agilent 8960 with GSM only mode (E1960A) and GSM/GPRS combine Agilent 8960 with GSM only mode (E1960A) and GSM/GPRS combine

    mode (E1968A)mode (E1968A) CMU200CMU200 Agilent 663x2 series power supply Agilent 663x2 series power supply Agilent 661x series power supplyAgilent 661x series power supply Agilent and NI GPIB CardAgilent and NI GPIB Card

  • COMPANY CONFIDENTIAL, Page 32

    Meta factory introduction (3)

  • Introduction of Download Tool

  • COMPANY CONFIDENTIAL, Page 34

    The component of Flash Tool Flash tool requires four parts, one is FlashFlash tool requires four parts, one is Flash tool.tool. exe, the others exe, the others

    are BROM DLL, DA and scatter file.are BROM DLL, DA and scatter file. Flash tool.exeFlash tool.exe

    Flash_tool.exe is only the UI program of Flash tool. It requiresFlash_tool.exe is only the UI program of Flash tool. It requires BROM DLL to BROM DLL to all all the Flash the Flash tool operations.tool operations.

    BROM DLLBROM DLLBBrom.dll is the kernel library of Flash_tool.exe, it is in chargerom.dll is the kernel library of Flash_tool.exe, it is in charge of all the main of all the main functions to do BootROM handshake, DA downloading and DA handshafunctions to do BootROM handshake, DA downloading and DA handshake.ke.

    DA (Download Agent)DA (Download Agent)zz Flash tool will download DA into targetFlash tool will download DA into targets internal SRAM and execute s internal SRAM and execute zz MTK_AllInOne_DA.binMTK_AllInOne_DA.bin Support aSupport all MT6205B, MT621ll MT6205B, MT621X, MT62XX X, MT62XX

    BB chip projectsBB chip projects.. ScatfileScatfilezz The The starting address of ROM should be same as the built image.starting address of ROM should be same as the built image.

  • COMPANY CONFIDENTIAL, Page 35

    Flash tool executable file

  • COMPANY CONFIDENTIAL, Page 36

    What is Boot ROM? DescriptionDescription

    zz Every MTK baseEvery MTK base--band chips embed a Boot ROM, which is used to store band chips embed a Boot ROM, which is used to store a simple boot program. Internal BOOT ROM will be selected if BOOa simple boot program. Internal BOOT ROM will be selected if BOOT T pin (GPIO0) is tied to GND once reset. pin (GPIO0) is tied to GND once reset.

    zz The Boot ROM contains a small program for downloading data via The Boot ROM contains a small program for downloading data via UART, and this feature is applied to download program or factoryUART, and this feature is applied to download program or factorytesting. Purpose of Boot ROM is to interpret commands received ftesting. Purpose of Boot ROM is to interpret commands received from rom UART1. UART1.

    zz The Boot ROM is useful in the absence of offThe Boot ROM is useful in the absence of off--chip memory or when the chip memory or when the external Flash memories have not been initialized yet.external Flash memories have not been initialized yet.

    ConfigurationConfigurationzz Boot ROM code is executed in ARM 32 bit mode, and the stack is Boot ROM code is executed in ARM 32 bit mode, and the stack is

    allocated at 0x40000000~0x400007ff.allocated at 0x40000000~0x400007ff.

  • COMPANY CONFIDENTIAL, Page 37

    What is BROM_DLL? The Flash Tool is developed base on the kernel library BROM_DLL.The Flash Tool is developed base on the kernel library BROM_DLL.

    BROM DLL is multiBROM DLL is multi--thread safe library and it is designed to provide thread safe library and it is designed to provide the functionality of the functionality of BootROMBootROM handshaking and flash download/readhandshaking and flash download/readback/format. back/format.

    BROM DLL provides two target boot modes, one is META mode; BROM DLL provides two target boot modes, one is META mode; the other is the other is FlashToolFlashTool mode. mode.

    Boot_METABoot_META will trigger target to boot up to META mode for will trigger target to boot up to META mode for META testing; META testing; Boot_FlashToolBoot_FlashTool will download the DA into target will download the DA into target and then user can perform flash download/readand then user can perform flash download/read back/format back/format operations.operations.

    BROM_DLLKernel

    Flash Tool( UI Program )

    BinaryLoad

    RS232

  • COMPANY CONFIDENTIAL, Page 38

    What is DA? DA is a target side agentDA is a target side agent After DA is successfully downloaded and running on target, it wiAfter DA is successfully downloaded and running on target, it will be ll be

    standby and passively waiting BROM DLL to issue flash download, standby and passively waiting BROM DLL to issue flash download, read read back or format command via UART.back or format command via UART.

  • COMPANY CONFIDENTIAL, Page 39

    What is Scat file? A simple sample of scat file is as follows:A simple sample of scat file is as follows:

    ROM 0x0ROM 0x0{{}}

    Flash tool will parse the scat file Flash tool will parse the scat file to to get the name get the name of the Load of the Load and the download and the download start address start address of of flash. flash.

  • COMPANY CONFIDENTIAL, Page 40

    Flash Tool Feature List Flash Tool Flash Tool supportssupports the following features.the following features. Support NOR flash download/read back/erase operation. Support NOR flash download/read back/erase operation. Support NAND flash download/erase operation.Support NAND flash download/erase operation. Support most popular NOR flashes in the world.Support most popular NOR flashes in the world. Both of AMD family and Intel family flash.Both of AMD family and Intel family flash.

    HighHigh--Speed download.Speed download. Support highSupport high--speed baud rate download up to 921600bps.speed baud rate download up to 921600bps.

    Support MBA (MultipleSupport MBA (Multiple--BinaryBinary--Architecture) download. Architecture) download.

  • COMPANY CONFIDENTIAL, Page 41

    How to download at highHow to download at high--speed baudspeed baud--rate?rate?

    1)1) IInstall a general high speed RS232 cardnstall a general high speed RS232 card2)2) UUse USBse USB--ToTo--COM bridge cable. COM bridge cable.

  • COMPANY CONFIDENTIAL, Page 42

    Usage of Flash tool (1)1) Choose the DA file, Scat file and ROM file 3) C1) Choose the DA file, Scat file and ROM file 3) Choose COM Porthoose COM Port

    2) Choose the Bard2) Choose the Bard--rate 4) Choose rate 4) Choose NOR/NAND Operation modeNOR/NAND Operation mode

  • COMPANY CONFIDENTIAL, Page 43

    Usage of Flash tool -Download Download 1)1) Power off target firstPower off target first2)2) File/Open download agent file File/Open download agent file 3)3) File/Open scatterFile/Open scatter--loading fileloading file4)4) Assign load regions you want to downloadAssign load regions you want to download5)5) Press download buttonPress download button6)6) Power on targetPower on target

  • COMPANY CONFIDENTIAL, Page 44

    Usage of Flash tool -Read back

    1)1) Power off target firstPower off target first2)2) File/Open download agent fileFile/Open download agent file3)3) Assign read back fileAssign read back file4)4) Select which file you want to read backSelect which file you want to read back5)5) Press read back buttonPress read back button6)6) Power on targetPower on target

  • COMPANY CONFIDENTIAL, Page 45

    Usage of Flash tool Format Type (1) Format TypeFormat Type Do Not Format FATDo Not Format FAT

    If select this option, Flash Tool will not erase the FAT aIf select this option, Flash Tool will not erase the FAT area.rea. Reset to factory defaultReset to factory default

    If select this option, Flash Tool will do the following thiIf select this option, Flash Tool will do the following things: ngs: 1) Restore the 1) Restore the DataItemDataItem with with NVRAM_CATEGORY_FACTORYNVRAM_CATEGORY_FACTORY

    2) R2) Restore certain estore certain byte/short/doublebyte/short/double value to default value in value to default value in NVRAM cache data items. NVRAM cache data items. There are three functions in the There are three functions in the nvram_user_config.cnvram_user_config.c::voidvoid nvram_restore_byte_cache(kal_uint8 *buffer){}nvram_restore_byte_cache(kal_uint8 *buffer){}voidvoid nvram_restore_short_cache(kal_uint16 *buffer){}nvram_restore_short_cache(kal_uint16 *buffer){}void void nvram_restore_double_cache(kal_uint32 *buffer){}nvram_restore_double_cache(kal_uint32 *buffer){}

    3) Delete the folder defined in 3) Delete the folder defined in NVRAM_CLEAN_FOLDER_LIST[]NVRAM_CLEAN_FOLDER_LIST[] ininnvram_user_config.cnvram_user_config.c::

  • COMPANY CONFIDENTIAL, Page 46

    Auto Format FATAuto Format FATIf select this option , Flash Tool will format FAT by the area dIf select this option , Flash Tool will format FAT by the area defined in efined in Flashconf.cFlashconf.c..

    #define FLASH_BASE_ADDRESS 0x0E00000#define FLASH_BASE_ADDRESS 0x0E00000#define ALLOCATED_FAT_SPACE 0x200000#define ALLOCATED_FAT_SPACE 0x200000

    Note: Please use the following syntax in Note: Please use the following syntax in flashconf.cflashconf.c#define FLASH_BASE_ADDRESS 0x0E00000#define FLASH_BASE_ADDRESS 0x0E00000#define ALLOCATED_FAT_SPACE 0x200000#define ALLOCATED_FAT_SPACE 0x200000but donbut dont use the following syntax:t use the following syntax:#if 0#if 0# # defindefin FLASH_BASE_ADDRESS 0x0x700000 FLASH_BASE_ADDRESS 0x0x700000 #else#else#define FLASH_BASE_ADDRESS 0x0E00000#define FLASH_BASE_ADDRESS 0x0E00000##endifendif

    Manual Format FATManual Format FATIf select this option , user can define which FAT area he want tIf select this option , user can define which FAT area he want to format.o format.

    Usage of Flash tool Format Type (2)

  • COMPANY CONFIDENTIAL, Page 47

    Usage of Flash tool -FormatFormat1)1) Power off target firstPower off target first2)2) File/Open download agent fileFile/Open download agent file3)3) Press format buttonPress format button4)4) Configure the format rangeConfigure the format range5)5) Power on targetPower on target

  • COMPANY CONFIDENTIAL, Page 48

    Two Mode of Flash toolTwo Mode of Flash tool11Test Mode: CTRL+ALT+A (only for Nor flash)Test Mode: CTRL+ALT+A (only for Nor flash)22 Debug Mode: CTRL+ALTDebug Mode: CTRL+ALTTT

  • COMPANY CONFIDENTIAL, Page 49

    Multiple bin mechanism MBA V2.0 is an enhanced version of MTK multiple binary architectMBA V2.0 is an enhanced version of MTK multiple binary architecture ure

    support. support. Enabling multiple bin is simple and involves only 3 steps:Enabling multiple bin is simple and involves only 3 steps: -- #define MULTIPLE_BINARY_FILES#define MULTIPLE_BINARY_FILES in in

    \\mcumcu\\customcustom\\systemsystem\\[PROJECT][PROJECT]\\custom_jump_table.hcustom_jump_table.h -- Add multiple BINs sections in the scatter fileAdd multiple BINs sections in the scatter file -- Clean and remake the following modules: custom, mmiresource andClean and remake the following modules: custom, mmiresource and plutommiplutommi

    There will be 4 BINs in the build folder: There will be 4 BINs in the build folder: ROM : Code and most dataROM : Code and most data LangPack_ROM: Strings, Fonts and IMEsLangPack_ROM: Strings, Fonts and IMEs CustPack_ROM: Customized NVRAM settings, audios, images and WAPCustPack_ROM: Customized NVRAM settings, audios, images and WAP/MMS /MMS

    settingssettings JUMP_TABLE: the system jump table for accessing the BINsJUMP_TABLE: the system jump table for accessing the BINs

  • COMPANY CONFIDENTIAL, Page 50

    Usage of Multi-port download tool (1) MultiMulti--port download tool is used in production line for port download tool is used in production line for

    download Bin file . It supports most 16 COM Port to download Bin file . It supports most 16 COM Port to download at the same time.download at the same time.

    MultiMulti--port download tool is base on flash tool ,so it has the port download tool is base on flash tool ,so it has the same function of flash tool.same function of flash tool. Support NOR flash download/erase operation.Support NOR flash download/erase operation. Support NAND flash download/erase operation.Support NAND flash download/erase operation. Support most popular NOR flashes in the worldSupport most popular NOR flashes in the world

    Both of AMD family and Intel family flash.Both of AMD family and Intel family flash. HighHigh--Speed download.Speed download.

    Support highSupport high--speed baud rate download up to 921600bps.speed baud rate download up to 921600bps. Support MBA (MultipleSupport MBA (Multiple--BinaryBinary--Architecture) download. Architecture) download.

  • COMPANY CONFIDENTIAL, Page 51

    Usage of MultiUsage of Multi--port download tool port download tool (2)(2) All the setting of MultiAll the setting of Multi--port download tool is set in the file port download tool is set in the file

    MultiPortFlashDownloadProject.INIMultiPortFlashDownloadProject.INI..1.1. TheFirstComPortNo=3TheFirstComPortNo=3

    Please set the first COM port according to actual status here.Please set the first COM port according to actual status here.2.2. Format FAT begin address = 0x00E00000Format FAT begin address = 0x00E00000

    Format FAT length = 0x00200000Format FAT length = 0x00200000 If If Format FAT OptionFormat FAT Option is Manual and is Manual and OperationOperation is NOR, please set is NOR, please set

    NOR flash format FAT information here.NOR flash format FAT information here.3.3. NAND format FAT begin address = 0x02000000NAND format FAT begin address = 0x02000000

    NAND format FAT length = 0x06000000NAND format FAT length = 0x06000000 If If Format FAT OptionFormat FAT Option is Manual and is Manual and OperationOperation is NFB, please set is NFB, please set

    NAND flash format FAT information here.NAND flash format FAT information here.

    Auto pollingAuto polling If select Auto polling ,after finish downloading one handset , wIf select Auto polling ,after finish downloading one handset , what you hat you

    need to do is just pull out the handset and connect another hanneed to do is just pull out the handset and connect another handset dset waiting to downloaded. You donwaiting to downloaded. You dont need to click Start button again. t need to click Start button again.

  • IIntroducntroduction oftion of ATEATE

  • COMPANY CONFIDENTIAL, Page 53

    Environment Request1) PC 1) PC OS: OS: MS Windows 2000 or XPMS Windows 2000 or XP2) 2) Hardware:Hardware: Pentium III or above PCPentium III or above PC Radio Tester: Radio Tester: AAGG 8960 8960 ,, CMUCMU2200,CMD55, MT8820A,WT440000,CMD55, MT8820A,WT4400. Power Supply: . Power Supply: AAGG666633x or Ax or AGG 663x663xx, x, KeithleyKeithley 230x , NGSM230x , NGSM3) Software:3) Software: NI (National Instruments) GPIB driverNI (National Instruments) GPIB driver VerVer 2.2.10 or later Version2.2.10 or later Version. NI Visa . NI Visa VerVer 3.0 or later version3.0 or later version

  • COMPANY CONFIDENTIAL, Page 54

    MTK Production line test solution

  • COMPANY CONFIDENTIAL, Page 55

    UI of ATEUI of ATE

    Initial Button

    Test Setting button

    Calibration or Final test setting

  • COMPANY CONFIDENTIAL, Page 56

    Calibration Calibration testtest include calibration and check result for include calibration and check result for MTK chipset, such as AFC calibration, Pathloss Calibration, MTK chipset, such as AFC calibration, Pathloss Calibration, APC calibration, ADC CalibrationAPC calibration, ADC Calibration..

    Final testFinal test include GSM/GPRS signaling test, such as power include GSM/GPRS signaling test, such as power measurement, modulation measurement, spectrum measurement, modulation measurement, spectrum measurement and BER measurement, and for the GPRS part measurement and BER measurement, and for the GPRS part include Test Mode B and BLER(CMU200) and Type B and include Test Mode B and BLER(CMU200) and Type B and BLER(Agilent 8960)BLER(Agilent 8960)

    Combined calibration(META mode) and final test(Normal Combined calibration(META mode) and final test(Normal mode) for reducing change test stationmode) for reducing change test station

    Function of ATEFunction of ATE

  • COMPANY CONFIDENTIAL, Page 57

    RF Calibration and Final test Setup

    Support Hardware:Power Supply

    R&S NGSMAgilent 663xxKeithley 230xNGSM

    Radiocommunication TesterR&S CMU200Agilent 8960CMD55WT440MT8820A

  • COMPANY CONFIDENTIAL, Page 58

    Report & System Setting (1)

  • COMPANY CONFIDENTIAL, Page 59

    Report & System Setting (2) Fast Power Measurement (CMU 3.50) Fast Power Measurement (CMU 3.50)

    When you use CMU200 to do Cal or Final test, remember to selectWhen you use CMU200 to do Cal or Final test, remember to selectthis option to speed up the power measure rate.this option to speed up the power measure rate.

    Wireless testWireless test If you want to do If you want to do wirelesswireless test, remember to test, remember to selectselect this option.this option.

    GSM Default ItemsGSM Default Items If selectIf select this option, ATE will this option, ATE will dodo the default items the default items RF FinalRF Final test test

    defined in the defined in the MTK_xxxxx_SETUP.iniMTK_xxxxx_SETUP.ini.. Stop ConditionStop Condition

    If select If select this option, ATE will stop testing immediately while one test this option, ATE will stop testing immediately while one test item canitem cant pass . In production line, this option should be pitched on t pass . In production line, this option should be pitched on always.always.

  • COMPANY CONFIDENTIAL, Page 60

    Report & System Setting (3) RF Final Test with Check Bar Code RF Final Test with Check Bar Code

    If select this option, ATE will not continue to do final test If select this option, ATE will not continue to do final test while while calibration result is failcalibration result is fail

    Final Test with IMEI WriteFinal Test with IMEI Write If you want to write IMEI to handset before doing final test, If you want to write IMEI to handset before doing final test, selectselect

    this option.this option. Add Cal StatusAdd Cal Status

    If If select select this option, ATE will add this option, ATE will add 1010 ( ( calibration calibration pass) or pass) or 0101((calibration calibration fail) flag behind barcode after Calibration.fail) flag behind barcode after Calibration.

  • COMPANY CONFIDENTIAL, Page 61

    Report & System Setting (4) BandBand

    You can select which band You can select which band needneed to do calibration here.to do calibration here. RXRX

    Only select AFC Cal and Only select AFC Cal and PathlossPathloss Calibration here.Calibration here. TXTX

    RFMD GSMRFMD GSM If the handset use RFMD series PA ,please select this optionIf the handset use RFMD series PA ,please select this option

    SKY GSM (77328)SKY GSM (77328) If the handset use Sky77328 series PA ,please select this optionIf the handset use Sky77328 series PA ,please select this option

    RENESAS GSMRENESAS GSM If the handset use If the handset use RenesasRenesas series PA ,please select this optionseries PA ,please select this option

    Full PCL GSMFull PCL GSM Select this option will do all PCL Select this option will do all PCL ApcApc calibrationcalibration

    APC Cal CheckAPC Cal Check Select this option will check the power of all PCL after APC calSelect this option will check the power of all PCL after APC calibrationibration

    ADC Cal/PSU CtrlADC Cal/PSU Ctrl Select this option will do ADC battery and charger calibration.Select this option will do ADC battery and charger calibration.

  • COMPANY CONFIDENTIAL, Page 62

    Report & System Setting (5) Final Test SettingFinal Test Setting

    GPRS TestGPRS Test Select this option will do GPRS TestSelect this option will do GPRS Test

    GSM850 FinalGSM850 FinalGSM900 FinalGSM900 FinalDCS1800 FinalDCS1800 FinalPCS1900 FinalPCS1900 Final Please select which band you want to do RF Final test herePlease select which band you want to do RF Final test here

  • COMPANY CONFIDENTIAL, Page 63

    Report & System Setting (6) Test MODE SelectTest MODE Select

    If want to initialize ATE manually, please SelectIf want to initialize ATE manually, please Select Manual InitializeManual Initialize If want If want ATEATE initialize Final test automatically, initialize Final test automatically, pleaseplease select select GSM TestGSM Test If want If want ATEATE initialize Calibration test automatically, initialize Calibration test automatically, please please select select

    Calibration TestCalibration Test If want If want ATEATE initialize Cal and Final test automatically, initialize Cal and Final test automatically, please please select select

    Calibration & GSM TestCalibration & GSM Test. . Three Unit CalibrationThree Unit Calibration is hold for future use.is hold for future use.

    Bar Code Get Type When CalibrationBar Code Get Type When Calibration If want to get barcode from handset NVRAM, If want to get barcode from handset NVRAM, pleaseplease select select Get From Get From

    NVRAMNVRAM and the barcode of all calibrated handset will be and the barcode of all calibrated handset will be the the same.same. If select If select Auto Bar Code with Date & BatchAuto Bar Code with Date & Batch, ATE will , ATE will writewrite the PC date plus the PC date plus

    Batch Batch into handset NVRAM as barcode. into handset NVRAM as barcode. Batch is Batch is define in MTK_XXXXX_SETUP.ini .define in MTK_XXXXX_SETUP.ini .

    If want to scan Barcode manually, If want to scan Barcode manually, please please select select Scan BarcodeScan Barcode .. Check fixture closeCheck fixture close is hold for future use.is hold for future use.

  • COMPANY CONFIDENTIAL, Page 64

    Report & System Setting (7) PowerSupply Type PowerSupply Type

    PleasePlease select the Powersupply type select the Powersupply type usedused in your production line here.in your production line here. Radio Communication TesterRadio Communication Tester

    PleasePlease select Radio Communication Tester type select Radio Communication Tester type used used in your in your production line here. production line here.

    BaseBand Chip TypeBaseBand Chip Type ATE ATE V5.0.3 or later version V5.0.3 or later version supports all MTK supports all MTK BBBB Chip type. You Chip type. You may may

    select AutoDetect select AutoDetect except handset use 6205B BBexcept handset use 6205B BB ChipChip.. If the handset use 6205B BB Chip, please select 6205B in this opIf the handset use 6205B BB Chip, please select 6205B in this option.tion.

    CMU Measurement PortCMU Measurement Port Just keep the type as RF2.Just keep the type as RF2.

    PowerSupply GPIB AddressPowerSupply GPIB Address Here shows the power supply GPIB address. The address is set in Here shows the power supply GPIB address. The address is set in thethe

    Mtk_XXXXB_setup.iniMtk_XXXXB_setup.ini file.file. Cal INP loss and Cal OUP lossCal INP loss and Cal OUP loss

    MustMust selectselect these two options always. these two options always.

  • COMPANY CONFIDENTIAL, Page 65

    Report & System Setting (8) NVRAM Database fileNVRAM Database file

    PleasePlease select the database file like the following format select the database file like the following format BPLGUInfoxxxxxxBPLGUInfoxxxxxxhere . here . The version of the database fileThe version of the database file should be the same as the bin file.should be the same as the bin file.

    Config File locationConfig File location PleasePlease select the select the CFG CFG file here. file here.

    Calibration file LocationCalibration file Location PleasePlease select the select the Calibration.Calibration.iniini file here.file here.

    Test Setup file LocationTest Setup file Location PleasePlease select the MTK_xxxxx_SETUP.ini file here.select the MTK_xxxxx_SETUP.ini file here.

    Test Report LocationTest Report Location PleasePlease select the location where you want to store the test report herselect the location where you want to store the test report here. e.

    Default location is: C:Default location is: C:\\Program FilesProgram Files\\MTK_atedemo. Suggest to change it.MTK_atedemo. Suggest to change it.

    Report DataBase LocationReport DataBase Location JustJust keepkeep the file: C :the file: C :\\Program FilesProgram Files\\MTK_atedemoMTK_atedemo\\6218B_statistics.xls 6218B_statistics.xls

    here.here.

  • COMPANY CONFIDENTIAL, Page 66

    Final Test Configuration Panel (1)

    1

    32

  • COMPANY CONFIDENTIAL, Page 67

    Final test Configuration Panel (2)

    There are only three places perhaps need to modified in this There are only three places perhaps need to modified in this panel according to actual status.panel according to actual status. Call TypeCall Type

    MO CallMO Call If select MO call, ATE will control handset to dial If select MO call, ATE will control handset to dial 112112 connect the connect the

    Radio communication tester while doing final test.Radio communication tester while doing final test. MT CallMT Call

    If select MT call, you should plug a Test SIM card into the handIf select MT call, you should plug a Test SIM card into the handset. And set. And Radio communication tester will call handset while doing final Radio communication tester will call handset while doing final test.test.

    RX QualityRX Quality PleasePlease input the RX Meas Level here. The default value is input the RX Meas Level here. The default value is --102. 102.

    Cable loss settingCable loss setting PleasePlease input the RF input the RF Signaling Signaling cable cable loss of CMU200 loss of CMU200 here. here.

  • COMPANY CONFIDENTIAL, Page 68

    Calibration Configuration PanelCalibration Configuration Panel PleasePlease input the RF input the RF Non signalingNon signaling cable cable loss of CMU200 loss of CMU200 here.here.

  • COMPANY CONFIDENTIAL, Page 69

    Usage of ATE-Related files There are following three files related to ATE: There are following three files related to ATE:

    .INI File.INI File .CFG File.CFG File SETUPSETUP.INI File.INI File

  • COMPANY CONFIDENTIAL, Page 70

    Usage of ATE Cal.ini File This file contains all initialized data for calibration test.This file contains all initialized data for calibration test.

    At the beginning of calibration, ATE will write At the beginning of calibration, ATE will write the data of this file the data of this file into handset into handset NVRAMNVRAM to be close to the target value.to be close to the target value.

    This file should be modified the Power Ram Table by your RF This file should be modified the Power Ram Table by your RF engineer.engineer.

  • COMPANY CONFIDENTIAL, Page 71

    Usage of ATE - CFG File (1) This file contains all calibration setting data. ThThis file contains all calibration setting data. Thereere are are following following several place perhaps need to be modified in this file:several place perhaps need to be modified in this file:

    [8960 Initialization][8960 Initialization] 8960 GPIB Address = GPIB0::15::INSTR8960 GPIB Address = GPIB0::15::INSTRPlease set the Ag8960 GPIB address here.Please set the Ag8960 GPIB address here.

    [RX path loss table][RX path loss table] GSM850_MAX_RX_LOSS = 5.0,5.0,5.0,5.0,5.0,3.0,3.0,3.0,3.0,3.0,3.0GSM850_MAX_RX_LOSS = 5.0,5.0,5.0,5.0,5.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,,3.0, GSM850_MIN_RX_LOSS = GSM850_MIN_RX_LOSS = --5.0,5.0,--5.0,5.0,--5.0,5.0,--5.0,5.0,--3.0,3.0,--3.0,3.0,--3.0,3.0,--3.0,3.0,--3.0,3.0,--3.0,3.0,--

    3.0,3.0,--3.0,3.0,Please set the RX Path Loss limit table here.Please set the RX Path Loss limit table here.

  • COMPANY CONFIDENTIAL, Page 72

    Usage of ATE - CFG File (2) [TX PCL table][TX PCL table]

    The red circle section perhaps need to be modified accordingThe red circle section perhaps need to be modified according to to actual status.actual status.

    [ADC table][ADC table] CHARGER_CHANNEL = 1CHARGER_CHANNEL = 1

    If handset BB chip is 6205B, please set the : If handset BB chip is 6205B, please set the : CHARGER_CHANNEL = CHARGER_CHANNEL = 33 else else CHARGER_CHANNEL = CHARGER_CHANNEL = 11

    ADC_RESISTANCE = 0.33ADC_RESISTANCE = 0.33 Please set the ADC_RESISTANCE as Please set the ADC_RESISTANCE as 0.330.33 or or 0.40.4 according to the according to the

    handset handset schematicschematic

  • COMPANY CONFIDENTIAL, Page 73

    Usage of ATE - setup.ini File (1)TheThere arere are following place perhaps need to be modified in this file:following place perhaps need to be modified in this file: [System Setting][System Setting]

    CMU Base GPIB Address = 20CMU Base GPIB Address = 20 Power Supply Address = GPIB0::5::INSTRPower Supply Address = GPIB0::5::INSTRPlease set the CMU200 and Power Supply GPIB Address here.Please set the CMU200 and Power Supply GPIB Address here.

    [Call Setup Configuration][Call Setup Configuration] Setup Network = Setup Network = 11

    If Setup Network= If Setup Network= 11ffinal test begininal test beginss from from GSM900GSM900 else if Setup Networkelse if Setup Network= = 44 , , ffinal test begininal test beginss from from GSM850GSM850

    TribandTriband Test Type = b Test Type = b If bIf b=0=0,, ATE will do GSMATE will do GSM900/1800/1900 900/1800/1900 triple band final testtriple band final test If If b=1, b=1, ATE will do GSMATE will do GSM850/1900/1800 850/1900/1800 triple band final testtriple band final test If If b=2, b=2, ATE will do GSMATE will do GSM850/1800/190850/1800/1900 triple band final test0 triple band final test

  • COMPANY CONFIDENTIAL, Page 74

    Usage of ATE setup.ini File (2) [Final Test TX Check][Final Test TX Check]

    Please set the RF Final Test Power Limit here.Please set the RF Final Test Power Limit here.

    Please set the Ag8960 RF cable loss here.Please set the Ag8960 RF cable loss here.

  • Introduction of SNIntroduction of SN--Station toolStation tool

  • COMPANY CONFIDENTIAL, Page 76

    What is the feature of SN-Station tool? SN Station tool supports the following features: SN Station tool supports the following features:

    1.1. Write Barcode/IMEI/BD Address Write Barcode/IMEI/BD Address 2.2. Do the BT Loopback1 ,Loopback2 testDo the BT Loopback1 ,Loopback2 test3.3. Write audio parametersWrite audio parameters

  • COMPANY CONFIDENTIAL, Page 77

    Two modes of SN-Station One is Meta Mode and the other is Normal Mode.One is Meta Mode and the other is Normal Mode.

    1.1. While writing Barcode or IMEI number, both two modes are supportWhile writing Barcode or IMEI number, both two modes are support..2.2. While writing BD Address , Only meta mode is support.While writing BD Address , Only meta mode is support.3.3. While doing BT Loopback1 or Loopback2 test, Only Normal mode is While doing BT Loopback1 or Loopback2 test, Only Normal mode is

    support.support.4.4. While writing audio parameters, Only Meta mode is support.While writing audio parameters, Only Meta mode is support.

  • COMPANY CONFIDENTIAL, Page 78

    Usage of SN Station Tool -Meta Mode LetLets use writing IMEI number in s use writing IMEI number in Meta Meta Mode as an example:Mode as an example:

    1.1. Select Select IMEIIMEI in the in the Write SelectWrite Select listlist2.2. Select the right COM port and BaudSelect the right COM port and Baud--Rate.Rate.3.3. Select Select Meta Meta Mode in the Mode in the MODE SelectMODE Select ListList4.4. Select the NVRAM Database file and Initialize itSelect the NVRAM Database file and Initialize it5.5. Press the Start button and scan into the IMEI numberPress the Start button and scan into the IMEI number6.6. Power on to let the handset intoPower on to let the handset into Meta Meta modemode7.7. If write success, the If write success, the write Bar code/IMEI donewrite Bar code/IMEI done LED will change to LED will change to

    blue, else change to redblue, else change to red

  • COMPANY CONFIDENTIAL, Page 79

    Usage of SN Station Tool -Normal Mode LetLets use writing IMEI number in s use writing IMEI number in Normal Normal Mode as an example:Mode as an example:

    1.1. Select Select IMEIIMEI in the in the Write SelectWrite Select listlist2.2. Select the right COM port and BaudSelect the right COM port and Baud--Rate.Rate.3.3. Select Select NormalNormal Mode in the Mode in the MODE SelectMODE Select ListList4.4. Press the Start button and Scan into the IMEI number Press the Start button and Scan into the IMEI number

    (Don(Dont need to initialize NVRAM)t need to initialize NVRAM)5. Power on the handset to enter5. Power on the handset to enter Normal Normal modemode6. If write success, the 6. If write success, the write Bar code/IMEI donewrite Bar code/IMEI done LED will change to LED will change to

    blue, else change to redblue, else change to red

  • COMPANY CONFIDENTIAL, Page 80

    Q&A

  • ThatThats Alls AllThank you!Thank you!