




已阅读5页,还剩29页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
DYNA-SM32XUSB2.0 flash media controllerUSB TEST PROGRAMVersion:3.0SM32X Introduce:The program is for SMI SM32Xs Mass Production. This tool can test up to 16 devices at once. Platform:There are two drivers for different platform:l win98_factory_driver:n Windows98l winXP_factory_driver:n Windows 2000n Windows XP 环境设置:l 设置功能::(see the Fig. 1)Fig. 1 Setting Function of SM32X Production ToolIt will allow the user to change CID information.n Password Entering:(see the Fig. 2)Fig. 2 Password entering for SettingFunction.The system default password is320. The wrong password led user to edit theBegin SerialandEnd Serialfields only.n Loading the INI File:(see the Fig. 3)Fig. 3 Loading the INI file forSetting Function.Loading an ini file which saved in the past or the system default .The system default ini file is located in the same directory with application executable file. If no setting executed, the setting will be according to thedefault.inifile.Version : 4.2 Confidential - 34 -n Configuration:(see the Fig. 4)Fig. 4 The main frame forSetting FunctionThere are several parts in the setting main frame, all field descriptions are presented in the Table 1.Table 1 The field descriptions forSetting Function.Main ItemFieldDescriptionDisk LabelFor WinXP display on file explorer string (If null then its OS default string)Disk SizeChecking after flash pretest disk capacity from 16M 4GDisk TypeSetting the USB Disk type to USB-ZIP or USB-HDD , (USB-ZIP is removable disk ,USB-HDD is fix disk )Enable ISP SelectSelecting the downloaded ISP file name manually (default auto selecting).Led Ready80: plug-in led on 82: plug-in led offLed BusyLed frequency 0: quick 48 : 1 secondModeChooseMemory Barfor SM32x series.Serial NumberSelectno serial numberN bytesorNo Update Serialof serial numbers. No serial number: It will not enable USB serial number. N bytes: It will write the serial number into UFD and enable it. No Update Serial: It will write the identical serial number to UFD and enable the USB serial number.Serial Number LenThe maximum length of serial number.Test Result LED flashLED flash after production success.Time OutIt will exit after timeout value if the production looping.USBAuto Date MaskIt will make theBegin Serialincluding the date ifSerial Maskexisted the YYYY、MMandDDbetweenMask Start PosandMask End Pos. The number of Y、M、Dindicated the display the number of characters. For example: 2006/1/12YYYY means 2006and YYY means 006. MM means01and MMM means 001. DD means12and D means2.If the Date value in theBegin Serialis different to the current date of production, the all#positions will be reset ifAuto Date Maskis checked.bcdDeviceSet the users USB Device ID version (customer can setting the version for different modal )Begin serialSet the First serial number according toSerial Mask.Mask End PosThe Date character(Y:Year , M:Month , D:Day) finished in which one. IfAuto Date Maskis disable, theMask End Poswill be disable too. The pos value start from 1 and end ofSerial Number Len.Mask Start PosThe Date character(Y:Year , M:Month , D:Day) start in which one. IfAuto Date Maskis disable, theMask Start Poswill be disable too. The pos value start from 1 and end ofSerial Number Len.PIDSet the USB Product IDProduct StrSet the Product Information 20 bytesSerial MaskIt will make theBegin Serialdisplay according to the mask. The specific character of#will be the increasing serial number set. For example, if the mask showed as DD#, then theBegin Serialwill be betweenDD000andDD999. IfMask Start Posis 1 and Mask End Posis 2 andAuto Date Mask is check, todays Day is12,then theBegin Serialwell be between12000and12999.Vendor StrSet the Vendor Information 20 bytesVIDSet the USB Vendor IDInquiryProductInquiry Product String 16 bytesUSB PowerSetting the USB maximum power.(From 100mA to 500mA step by 100mA)VendorInquiry Vendor String 8 bytesSpecific Application SupportAuto capacityWhen the option enabled, it will fit to the maximum capacity of UFD withoutBad block over settingSM321AC AGAND : Support AGAND downgrade production. NR :Ignore the Fail when production. Micron :Support Micron downgrade production.SM321BB NR :Ignore the Fail when production. Spectek :Support Spectek downgrade production. Half Size: Downgrade the capacity to half.SM324BB Half Size: Downgrade to capacity to half. -R : Support AGAND R downgrade production.340CID ISP FolderIt just for SM340 production. The ISP folder position.ROM FileIt just for SM340 production. The ROM file that will be downloaded.Test ItemCopy TestDoing simple read write test with percentage and patternsSetting the pattern and looping within setbutton.Download ISPDownloading ISP file to Flashs into reserved memory. TheSelect ISPoption will download the ISP with selection.Enable Turn-Off MUIt can support turn-off MU(s) functions with: Turn-Off Upper MU: turn off the upper half mu(s). Turn-Off Bottom MU:turn off the bottom half mu(s). Turn-Off Specific MU: turn off the user setting specific mu(s). Automatic Turn-Off MU: turn off the maximum badblock MU.FormatHigh level FAT16/FAT32 format.To FAT32: format the UFD to FAT32 only.Make Auto RunWriting a CD-ROM image into diskMixing File SupportThe mixing file combined with DBF , Pretest file and ISP file. User can use the specific CMB file to production.PreloadDownloading the files into UFD with selected folder. FAT format: preload according to the MBR , PBR FAT and Root directory. Non FAT Format: preload according to the selected image file byte by byte.PretestInitialize the controller and Flash with five modes:Erase Bad BlockErase Bad Block with 0x55.Erase Bad Block with 0x55 and 0xAA.Erase Good Block.Erase Good Block with 0x55 and 0xAA.The Bad block option used for reserved spare block to replace when bad block marked.Write CIDWriting the above USB、Inquiryetc Configure Information into CID Block.l Config HUB Function:(see the Fig. 5)Fig. 5 The Config HUBfunction of SM32X Production Tool.The function supports the sequence configuration for specific USB hub port. The user can detect the error USB storage device is failed in which port.n Configuration Step:Step 1、 In the Fig. 6, if the configuration is the first time and the device port labels existedO or you want to reset the port mapping, press theScan USBbutton without plugging any UFD to reset the configuration.Step 2、 Plugging the prepared USB storage device into USB hub port, the OS will install the default device driver for this USB storage device.Fig. 6 The process of the first time to configuration in this condition.Step 3、 According to your OS version, ran the specific USB storage device driver existed in the winXP、Win2000 or win98_factory_driverdirectory, and press the SMI Factory Driverbutton for driver installation as Fig. 7. If you want to remove the specific USB storage device driver, press the Mass Storage Driverbutton in the Fig. 7. The driver will become the system default and this application program will not support exactly.Fig. 7 The installation for Specific USB storage device driver.Step 4、 Pressing theScan USBbutton to setup, then the USB hub port will mapping to each button when the label becomeOin the Fig. 8. Otherwise it will pop-up an error message in Fig. 9.Fig. 8 USB Port mapping to test program successFig. 9 Error Message forNot Find any device on HUBSM32X Test Steps:Step 1、 Plugging the prepared testing devices into the USB hub ports that configured according toConfig HUBfunction.Step 2、 Because test program using the specific driver, so that theFactory Drivermust be selected, and press theScan USBfor device detect, the button will show the green icon if plugged USB device and configured withConfig HUBfunction. Otherwise are not changed, the Fig. 10 presents the sub-steps for upper process and result.Fig. 10 The result ofScan USBusingFactory DriverStep 3、 After pressing theStartbutton, the program would start testing according to the test items selected in Fig. 4. In Fig. 11, the each port presents the RedXand Pretest Failin theStatusfield besides Port-1. It presents theFAILmessage in the right-top position because thePort-2 to Port-5is failed. If all ports pass the production, the right-top will present theOKmessage.Fig. 11 the result of testing Other Buttons and Key points:l ToolsThe specific tool for mass production.(Fig. 12)n Mixing FilesCombining the selected DBF、ISP and pretest file into CMB file.n Decode CMB FileDecoding theCMBfile into specific DBF、ISP and pretest files.n Create UDisk ImageCreating the Non-FAT format preload image.n COM Port ConnectConnecting to COM port for production controlling with Auto Handler.n Multiple Erase AllFor multiple erase all bad block for restoring bad block.Fig. 12 The tools function and dialog presented.l Dialog Option:Setting the UI forFonts Size、Button Hide、Num of Buttonand field show or hide control for the list.(See Fig. 13 ).n Font:Setting the font size from 12 to 28.n Button Hide:Hiding the buttons and resizing list box into frame size.n Num of Buttons:Setting the number of button to display.n Progress:Enable theProgressfield in the list box or not.n Status:Enable theStatusfield in the list box or not.n Capacity:Enable theCapacityfield in the list box or not .n Serial Number:Enable theSerial Numberfield in the list box or not.n VID/PID:Enable theVID/PIDfield in the list box or not.n Flash ID:Enable theFlash IDfield in the list box or not.n Bad Block:Enable theBad Blockfield in the list box or not.n Inquiry:Enable theInquiryfield in the list box or not.n Write Protect:Enable theWrite Protectfield in the list box or not.Fig. 13 Dialog Option Function.l Others Settingn Extra Setting(Fig. 14)Its used to specific application. These applications are:n uDisk Partitions:u Setting the size of Reserve Zone、Hidden Area and CDROM.n The Software USB serial number:u Used to identify the internal product. Its not identical to USB serial number.n Preload file into Binary Area:u There is a simple file system in the ReserveZone, it can support file preload into the reserve zone.n Security Disk Supportu There are two modes:l Mode-A: The Public/Security mode, just one disk display in the same time.l Mode-C: The Public+Public/Security mode, there are two disks display in the same time. The second disk is identical to mode-A.n Server Generating SN supportu It needs the socket server to communicate with our MPTool. Just setting the IP address and Port number, out MPTool will negotiate with the server during production.n Enable Floppy Supportu Setting the one disk become floppy, it also support floppy format to FAT12 and preload functions.n COM Communication Settingsu Setting the COM port number which connected toAuto Handlerand Enable/Disable the COM port function.n Log file settings:u Setup the format of log file and customize information.n Enable Unique Serial Number:u If enable this function, MPTool will retrieve the serial number from this ini file only, although used the different INI files.Fig. 14 The Extra Setting Dialogl Debug Button:Its for internal debugging using.l Read CID:Press theButtonor row itemof mapped USB hub port, the information for device plugged in this port will be presented in Fig. 15. All fields are defined in Table 2.Fig. 15 The related information of CID.Table 2 The field Descriptions of CID .FieldDescriptionVIDNow the device USB vid stringPIDNow the device USB pid stringSerialNow the device USB serial numberVendor StrNow the device USB vendor stringProduct StrNow the device USB product stringInquiryNow the device SCSI inquiry stringISP versionNow the device ISP versionSystem CLKNow the controller clock setting ,only for 320 controller clock setting.IC verNow the device controller hardware versionBad BlockShow after pretest , bad block informationISP Check sumRead back download isp check sumFLASHShow flash maker code 、device code、the 3rd and 4th Byte information.DSP VersionThe SM340 related information.Save BadblockIt will scan the fully disk to save the all badblock.Save InfoSave the FlashID、CID、WPRO、PAR、CardMode、InforBlock(s) and ISP information into file for RD debugging.Card ModeIt will display the all card mode of current plugged UFD.Erase CID, ISPErasing the current UFDs CID and ISP.l INI SettingBelow item not show on setting UI , must modifyinifile :(1) CUSTOMER (2) READCLK (3) WRITECLK (4) RESERVEZONEThe all field ininifile description in Table 3.Table 3 The all field descriptions in theINIfile.NameBytesDefault ValueDescriptSERIALMETHOD100: USB serial number is increase 1: USB seial number is 0 2: USB serial number no updateUSBMAXPOWER100: USB Power define 100mA 1: USB Power define 200mA 2: USB Power define 300mA 3: USB Power define 400mA 4: USB Power define 500mADISKTYPE110: USB-HDD 1: USB-ZIPDISKSIZE100: No Check DiskCapacity 1: 16M , 2: 32M , 3: 64M , 4: 128M 5: 256M ,6: 512M , 7: 1G , 8: 2G 9: 4GAPPLICATION110: Card Reader 1: Flash Disk 2: CardReader+FlashDiskVID4090CUSB Vendor IDPID41000USB Product IDVENDORSTR20USB Vendor StringPRODUCTSTRING20USB Product StringSERIALBEGIN20USB Serial number beginSERIALEND20USB Serial number end , when serial number count to the number , program will stopINQUIRYSTRING16SCSI Inquiry Product StringINQUIRYVENDOR8SCSI Inquiry Vendor StringDISKLABEL32Disk Volume LabelDID41000USB bcdDevice version numberDEFAULTISP100: Auto Select ISP file download 1: Force select a ISP file downloadISPFILE256IF DEFAULTISP equal 1 then download the ISP FileBADBLOCK120Setting Pretest bad block range SLC must more than 20 , MLC must more than 44CUSTOMER11For different customer Application used.AUTORUNFILE256Autorun Image file name.RESERVEZONE10Reserve data zone , size= n*1024 sectorBOOTTYPE100: when format MBR offset 0x1BE=0 1: when format MBR offset 0x1BE=0x80PRETESTTIME130: NO R/W1: R/W 552: R/W 55 AA3: No EraseEnableFactoryDriver110:Select Default driver1:Select Factory Driver for testLEDREADY18080: Plug in Led ON82:Plug in Led OFFLEDBUSY148Led frequencyPRETEST110:disable pretest 1:enable pretestWRITECID110:disable write CID 1:enable write CIDFORMAT110:disable format 1:enable formatCOPYCOMPARE110:disable copy compare 1:enable copy compareDOWNLOADISP110:disable download ISP 1:enable download ISPMAKEAUTORUN100:disable AUTORUN1:enable AUTORUNPRELOAD10:Disable Preload1:Enable the Preload functionCCSCHEDULE256Copy Compare schedule listCCFAILCOUNT40:Failed if one byte different and return false directly.1: Failed if one byte different but compare until finished.CCRANDOM0:Sequence write and sequence read1:Random write and random read.CopyCmpPattern0:pattern with 02551:pattern with 02: pattern with FF3: pattern with 554: pattern with AA5: pattern with 336: pattern with CC7: pattern with 668: pattern with 999: pattern with Customize110: pattern with Customize211: pattern with Customize312: pattern with EFCustomize1:the customize file pathCustomize2: the customize file pathCustomize3: the customize file pathEndInfoENDHEAD32:The ENDHEAD value for 32MB flashENDSECTOR32:The ENDSECTOR value for 32MB flashENDCYLINDER32:The ENDCYLINDER value for 32MB flashENDHEAD64:The ENDHEAD value for 64MB flashENDSECTOR64: The ENDSECTOR value for 64MB flashENDCYLINDER64: The ENDCYLINDER value for 64MB flashENDHEAD128:The ENDHEAD value for 128MB flashENDSECTOR128: The ENDSECTOR value for 128MB flashENDCYLINDER128: The ENDCYLINDER value for 128MB flashENDHEAD256:The ENDHEAD value for 256MB flashENDSECTOR256: The ENDSECTOR value for 256MB flashENDCYLINDER256: The ENDCYLINDER value for 256MB flashENDHEAD512:The ENDHEAD value for 512MB flashENDSECTOR512: The ENDSECTOR value for 512MB flashENDCYLINDER512: The ENDCYLINDER value for 512MB flashENDHEAD1024:The ENDHEAD value for 1024MB flashENDSECTOR1024: The ENDSECTOR value for 1024MB flashENDCYLINDER1024: The ENDCYLINDER value for 1024MB flashENDHEAD2048:The ENDHEAD value for 2048MB flashENDSECTOR2048: The ENDSECTOR value for 2048MB flashENDCYLINDER2048: The ENDCYLINDER value for 2048MB flashENDHEAD4096:The ENDHEAD value for 4096MB flashENDSECTOR4096: The ENDSECTOR value for 4096MB flashENDCYLINDER4096: The ENDCYLINDER value for 4096MB flashENABLEENDCHS0:Using the system default EndCylinder, EndHead and EndSector1:Using the manual setting in EndInfoITEMCOUNT4The number of end info in the listAPP3IN1=010Support Autorun+Public+Security UFD productionCIDPATH256For SM340 CID existed folderROMPATH256For Sm340 Rom file existed pathPRELOADPATH256Preload file pathPARTIALSIZE4For partial flash se
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 5 Languages Around the World 主题词汇专项练习(含答案)-2025-2026学年高中英语人教版(2019)必修第一册
- 肾内科血透患者的护理
- 2025年事业单位工勤技能-湖南-湖南广播电视天线工五级(初级工)历年参考题库典型考点含答案解析
- 2025年事业单位工勤技能-湖北-湖北计算机文字录入处理员二级(技师)历年参考题库典型考点含答案解析
- 2025年事业单位工勤技能-湖北-湖北水工监测工二级(技师)历年参考题库含答案解析
- 2025年事业单位工勤技能-湖北-湖北收银员五级(初级工)历年参考题库典型考点含答案解析
- 2025-2030中国纸浆模塑行业竞争格局与发展规划分析报告
- 2025年事业单位工勤技能-湖北-湖北兽医防治员五级(初级工)历年参考题库典型考点含答案解析
- 2025年农业绿色发展政策与法律法规解读
- 2025年药物研发新方向:创新药物靶点挖掘与验证技术实战分析报告
- 与供应商的合作与谈判
- IT技术支持与服务响应机制建设指南
- 2024年房县人民医院高层次卫技人才招聘笔试历年参考题库频考点附带答案
- 有机合成实验室技安规程(3篇)
- GB/T 5534-2024动植物油脂皂化值的测定
- DBJ52T 096-2019 城市轨道交通土建工程施工质量验收标准
- 《合成孔径雷达原理》课件
- 人教版(2024新版)七年级上册英语Starter Unit1单元测试卷(含答案)
- 全国托育职业技能竞赛理论考试题及答案
- HSK标准教程1-第一课lesson1
- 损伤识别和结构健康监测中的动态响应特征
评论
0/150
提交评论