========================================= Diagnostic Program : V:1.1.01 06/01 122.88Mhz [1] Memory TEST [2] UART TEST [3] Timer TEST [4] Ethernet TEST [5] PM Load TEST [6] Flash TEST [7] SPI TEST [8] FIFO TEST [9] LCD TEST [0] LED TEST [A] Test All [D] User Program Download [E] CM5001 Test Select One... : *** 5 seconds,time out *** Update Firmware Ip=192.168.1.100 Update successfully. System will reboot..... Downloading to RAM Would you like to download by UART ? [y]|[Ethernet] : LED testing ..... End of LED testing ! Timer0 interval is 250ms and Timer1 interval is 750ms Returning to Main Menu... Wrong Number!! EXIT to Top Menu... --------------------------------- Memory Test Menu --------------------------------- [1] Memory Read [2] Memory Write [3] Read & Write [Q] Exit Memory Test Select One.. Enter the Start Address to Read....0x Enter the byte Count to Read....(Maximun 10000) ============================================================================== Memory Dump Result 0x%x : 0%x 0x%x : %x The maximun SDRAM size is 32M Memory has error at location 0x%lx Processing R/W Test...%c ############################### Memory W/R TEST SUCCEEDED!! ############################### Processing W/R Test...| Processing W/R Test...%c Memory Write ERROR!! Enter the Start Address to WRITE (Can't write between 0xbfc00000 and 0xbfc7ffff)...0x ## Can't write to ROM Area!! ## Enter the Word Count to Write.. Enter the Word to Write to the Memory...0x Writing Process Completed, Press Anykey to View the Result.. Returning to Main Menu... Wrong Number !! Press Anykey To Return To Top MENU... --------------------------------- Timer Test Menu --------------------------------- [1] Run Timers [2] View Timer Configuration [Q] Exit Timer Test Select One.. >> Enter the Timer0 interval(msec).. >> Enter the Timer1 interval(msec).. Timer test OK +----------------------------------+ | >> Timer Configuration << | +----------------------------------+ Timer0 counter 0x%8x Timer1 counter 0x%8x Timer IntMask 0x%2x Timer0 Interval 0x%8x Timer1 Interval 0x%8x ------------------------------------ >> Choose Ethernet controller number [0/1]: Ethernet controller is [%d] Press Any Key to Continue.... >>Please input new destination address (ex:00:F1:2A:3C:4E:5B): Input format error. Change DA failure %x:%x:%x:%x:%x:%x ------------------------------------------------ Ethernet Test Menu (Ethernet SA: %2x:%2x:%2x:%2x:%2x:%2x) [1] Choose Ethernet Controller 0/1 (default:0) [2] Change Destination Address(DA MAC Address) [3] Ethernet Diagnostic [4] PHY Diagnostic [Q] Quit Select One.. [ESC]/[Q] Quit Ethernet Diagnostic (P):Polling Mode, (I):Interrupt Mode ------------------------------------------------------------------------------- [1] Tx/Rx Monitor(P) [2] FIFO Loopback(P) [3] MAC Loopback(P) [4] Ping-Pong Master(P) [5] Ping-Pong Slave(P) [6] Tx/Rx Monitor(I) [7] FIFO Loopback(I) [8] MAC Loopback(I) [9] Ping-Pong Master(I) [a] Ping-Pong Slave(I) [c] Flow Control Test [o] Flow Control On Off [e] Threshold_ON_OFF=0x%4x [v] VLAN test [v] VLAN test [r] Receive Mode Test [m] Modify Tx Packet Length (dynamic pkt length=%4d) [n] Send Multicast Packet [t] Other Tests Select One: [6] Tx/Rx Monitor(I) ## Please input Packet size in decimal type(bytes): ## Please input FlowThreshold in hex-decimal type(bytes): 0x 0================================================ Ethernet SA: %2x:%2x:%2x:%2x:%2x:%2x Ethernet DA: %2x:%2x:%2x:%2x:%2x:%2x ================================================ Would you like to swap them ? [y]|[others] ================================================ SBD RESET COMPLETE ! SDRAM SIZE: 8M! SDRAM SIZE: 16M! SDRAM SIZE: 32M! SDRAM TEST FAIL! TEST FAIL! start RAM test move gunzip ROM image to RAM jump to gunzip RAM image Press Anykey To Return To Top MENU... Return to Main MENU ================================================= UART TEST MENU ================================================= [1] View Current UART Configuration [2] Set Baud Rate [3] UART Tx Interrupt Test [4] UART Rx Interuupt Echo Test [Q] EXIT UART Test Select One ... This is UART 1 This is UART 2 ########################################## UART CONFIG : 0x%8x UART data : 0x%8x #################################### Setting Baud Rate #################################### [1] 1200 [2] 2400 [3] 4800 [4] 9600 [5] 19200 [6] 38400 [7] 57600 - Select One..- Set baudrate to 1200 Set baudrate to 2400 Set baudrate to 4800 Set baudrate to 9600 Set baudrate to 19200 Set baudrate to 38400 Set baudrate to 57600 Wrong Number!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Before Change UART BaudRate, Do Change the BaudRate of Hyperterminal !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! After Changing, Press ENTER... Type Any key to Test Rx Interrupt Get Rx Interrupt! The character is '%c' ManifactorID = 0x%04x DeviceID = 0x%04x FlashID = 0x%08x SST -> 39VF160 (2M)!! SST -> 39VF3201 (4M)!! ESI -> 29LV160DT (2M) !! AMIC -> A29L160ATV (2M) !! EON -> 29LV160T (2M) !! EON 1M FALSH !! TOSHIBA -> 58FVT160AFT (2M) !! SPANSION -> 29AL016DT (2M) !! MXIC -> MXIC_29LV160ABTC (2M)!! MXIC -> 29LV160BTC (2M)!! HYNIX FALSH !! UNKNOWN FALSH !! Enter the Address to program...0x Error Address !!! Enter the Programming size (Maximum 1024) Count is too large !!! ================================================= FALSH TEST MENU ================================================= [1] View Flash ID [2] Erase Sector [3] Erase Block(SST) [4] Erase Chip [5] Program Sector [6] Show Data of Sector [7] Delay Loop Test [A] Update All Code [B] Update DSP Gzip Code [C] Update IC Gzip Code [D] Update OS Image0 Code [E] Update OS Image1 Code [F] Update System's Database [G] Update User's Database [J] Update Web's logo [Q] Exit Flash Test Select One (ESC to Return To MAIN MENU)... 0123456789abc Press Anykey To Return To Top MENU... Return to Main MENU ## Input Download Area Address (default:0x80400000) : 0x ## Waiting for Loading PM code..... ## Waiting for Loading CM data.... ## Waiting for Loading CM_PM data.... ## Please input file size in decimal type(bytes): ## Waiting for User Program Downloaded..... Download OK! Update Flash >> FILE SIZE %d Byte Download SUCCEEDED!! >> Enter any key to START USER PROGRAM.... ## Please Input IP address (default:192.168.96.53): Wrong IP Address !!! Will use default IP. Current IP Address: %d.%d.%d.%d ## Fail!!! The logo size is too big. Update Flash. Recieved data error!!!! Please try again. Transmit over Press Anykey To Return To Top MENU... ## PMLoader OK! ## PMLoader FAIL! ## PMLOader hardware bug!!! ========================================= Diagnostic Program : V:03.6.12 [1] Download CM code [2] Download PM data [3] Download CM_PM data [4] Transfer PM_CM data to DSP [5] Download DSP code [Q] Quit & Continue System Starting Select One... : ## Input the DSP writing address ..0x ## Input the DSP reading address ..0x ## Wrong DSP address ! ## Input the Data ...0x ## Wrong SPI Data ! ## Input the reading Count ...0x ## Too large Count ! ## DSP Fail in CMD write! ## DSP Fail in Response read! ## DSP Write OK! DSP Data = DSP Read OK ! Press ESC to exit data mode! ========================================== FIFO TEST MENU ========================================== [1] DSP read Command [2] DSP Write Command [3] CPU_DSP data mode [Q] EXIT SPI Test Select One ... DSP Initial Fail! [ESC] Quit [SPACE] Start/Stop Tx [f] Fixed [d] Dynamic Packet Length ----------------------------------------------------------------------- Transmited Packet Status | Received Packet Status 1. Packet Transmitted : 0 | 1. Packet Received : 0 2. Broadcast Packet : 0 | 2. Broadcast Packet : 0 3. Multicast Packet : 0 | 3. Multicast Packet : 0 4. Collisions : 0 | 4. Unicast Packet : 0 5. Transmit deferral : 0 | 5. CRC Error : 0 6. Carrier Sense Error: 0 | 6. Link speed : 0 7. Mac Control Packet : 0 | 7. Frame Lost Error : 0 8. Tx Under run : 0 | 8. MAC Control Packet: 0 9. Tx Packet Length : 0 | 9. Receive pkt Length: 0 tx_count= 0 | rx_count= 0 Src Address: | Dest Address: Would you like to use limited packets ? [y]|[others] : Please input the number of packets [10000] : Leaving polling mode bye Leaving interrupt mode bye Please input hash pattern of VLANHashTable in hex-decimal type: 0x You should enble your VLAN Tagging to send VLAN packets. The hash pattern of VLANHashTable is : %4x The received hash pattern is : %4x PASS !!! FAIL !!! Press any key to continue.... [ESC]/[Q] Quit Other Tests ------------------------------------------------------------------------------- [1] Interrupt register [2] Mactrl (TX/RX EN) [3] Mactrl (RcvFCS EN) [4] TX/RX (Multi Des) [5] Disable CRC attached [6] Send diffent VID [7] Send Radom 2046 Pkt H Interrupt register test PASS. Failed, int_occured = %08x tx_int_count = %d rx_int_count = %d MII_int_count = %d Link_int_count = %d RFDEnd_int_counter = %d Please unplug/replug the network line to verify link event If finished, press any key to continue .... Processing.... Press any [SPACE] to STOP .... No MII transceivers found! Realtek RTL8201(L) Unknown PHY type , PHY addr=%d, Timeout waiting for PHY to reset Auto Negotiation Fail Reg00 BMCR =%4x Reg01 BMSR =%4x Reg02 PHYID1 =%4x Reg03 PHYID2 =%4x Reg04 ANAR =%4x Reg05 ANLPAR =%4x Reg06 ANER =%4x [Current PHY state: Link Fail!] other type Port Select(Speed/Duplex) ------------------------------ [1] Auto [2]100FD [3]100HD [4] 10FD [5]10HD [6]AN-100FD [7] AN-100HD [8]AN-10FD [9]AN-10HD [Q] Quit Select One: Wait........ [%d;%dH [%d;%dH%8ld Flow Control ------------------------------------------------------------ (1) Modify Threshold_ON_OFF =0x%4x (2) Modify Threshold_ON_OFF =0x%4x (3) Run Tx Flow Control Test (4) Run Rx Flow Control Test (5) Run Flow Control A Test (6) Run Flow Control B Test (s) Send unicase Pause Frames(Generate by software) (m) Send muticase Pause Frames(Generate by software) (n) Send Normal Packets (q) Quit Select One: ## Please input FlowThreshold in hex-decimal type(bytes): 0x Receive Mode Test --------------------------------------------------------------------------- (a) Receive unicast (b) Receive Multicast (c) Receive Broadcast (d) Receive all frames (e) Receive Multicast Hash (f) Receive IP Multicast (g) Receive U+M frames (h) Receive U+B frames (i) Receive M+B frames Select One: [ESC] Quit 1. Packet Received : 0 2. Broadcast Packet : 0 3. Multicast Packet : 0 9. Receive MulticastHash: 0 4. CRC Error : 0 10. Receive FIFO Over Run: 0 5. Too Long Packet : 0 11. Receive Runt Frame : 0 6. In Range Error : 0 12. Receive Alignment err: 0 7. Frame Lost Error : 0 13. Receive Length error : 0 8. MAC Control Packet: 0 14. VLAN Detected : 0 rx_count= 0 >>Please input accept multicast address (ex:01:F1:2A:3C:4E:5B): Input format error. Change DA failure Press Any Key to Continue.... Please input the value of hash table[0..31] in Hex [12345678] : Please input the value of hash table[32..63] in Hex [12345678]: Press [SPACE] to see the calculated result: Current received hash pattern[0..31] : Current received hash pattern[32..63]: OK !!! TEST FAILED !!! Press Any Key to continue..... Recieved packet length : %d VLAN Testing ---------------------------------------------------------------------- By HW register setting (a)AutoVLANtagging= Enable, AutoVLANuntagging= Enable (b)AutoVLANtagging= Enable, AutoVLANuntagging= Disable (c)AutoVLANtagging= Disable, AutoVLANuntagging= Enable (d)AutoVLANtagging= Disable, AutoVLANuntagging= Disable By TFC0 field of the TX Descriptor setting (AutoVLANtagging= Disable, AutoVLANuntagging= Disable) (e) Enable VLAN tagging (f) Disable VLAN tagging Mixed mode (g) (a) + (e) (h) (b) + (e) Current Value: TxVID=0x%4x, RxVID=0x%4x (Receive VLAN Match) (Receive VLAN Hash) Current VALN Setting: Select One: ## Please input VID for transmitting VLAN packet in hex-decimal type: 0x (1) Receive VLAN Match (2) Receive VLAN Hash ? ## Please input VID for receiving VLAN packet in hex-decimal type: 0x ================================================= LCD TEST MENU ================================================= [1] HD44780 type 8-Bit [2] MPU6800 type [Q] Exit LCD Test Select One... Crystal Media. Tel:03-6667388 http://www.icace.com .tw >>Input string shown on LCD: Crystal Media. Would you like to use limited packets ? [y]|[others] : Please input the number of packets [10000] : Can't find RFS_FRAMEEND, press any key to continue... pRFDArray[0].RFS0 = %08x rj_Int = %d, rx_count=%d Can't find RFS_FRAMESTART, press any key to continue... ## Input the SPI address to send ...0x ## Wrong SPI address ! ## Input the SPI length send ...0x ## Wrong SPI Length ! ## Input the Tx%d Data ...0x ## Wrong SPI Data ! SPI Direct Write Fail ! SPI Direct Write OK ! ## Input the SPI address to Receive ...0x ## Input the SPI length to Receive ...0x SPI Direct Read Fail ! Rx SPI Data = 0x ## Input the Tx Data ...0x SPI Indirect Write Fail ! SPI Indirect Write OK ! SPI Indirect Read Fail ! SPI Indirect Read OK ! Rx SPI Data = 0x%4x SPI_ChannelID = 0x%2x ## Input the SPI ID ...0x ## Wrong SPI ID ! 1@3 " SPI InDirect wirte fail!! SPI Direct wirte fail!! Serial Port 0 OK!! Serial Port 0 Ringing!! Press any key to stop Serial Port 0 ringing and start Serial Port 1 ringing Serial Port 1 Ringing!! Press any key to stop Serial Port 1 ringing SPI_ChannelID = 0x%2x PCM 16-bit Transfer Input transfer format 0->linear 1->A-law 2->U-law : ## Wrong Format ! Press any key to stop PCM transfer ========================================== SPI TEST MENU ========================================== [1] Modify Channel ID [2] SPI Direct Write [3] SPI Indirect Write [4] SPI Direct Read [5] SPI Indirect Read [6] W682388 SPI Write Test [7] W682388 SPI Read Test [d] SPI Load Default [r] SPI Ring [m] Modify SPI Type [p] SPI PCM Transfer [Q] EXIT SPI Test Select One ... SPI Type meet with Legerity! SPI Type meet with Silcon Lab! Input the address to write(0x00|0xff:Quit): 0x Input the data to write(0x00): 0x Input the address to read(0x00|0xff:Quit): 0x The data read back is 0x%2x Receive by Ethernet Done !!! estimate file len = %d,crc=%d receive file len = %d ========================================== HPI TEST MENU ========================================== [0] Registers Write [1] Registers Read [2] PM/CM/DM Load Test(Single Mode) - INT [3] PM/CM/DM Load Test(Burst Mode) - INT [4] SPI Test [5] External INT Test [6] PM/CM/DM Read Test(Burst Mode) [8] DSP Load Test(Burst Mode) [9] Simple Dual Port RAM R/W Test(Single Mode) [A] Simple Dual Port RAM R/W Test(Burst Mode) [B] Normal Dual Port RAM R/W Test(Single Mode) [C] Normal Dual Port RAM R/W Test(Burst Mode) [D] Cascade Test [E] PM/CM/DM/Dual Port RAM Read/Write [F] PM/CM/DM Load Loop Test(Single Mode) [G] PM/CM/DM Load Loop Test(Burst Mode) [H] Dual Port RAM Loop Test(Single Mode) [I] Dual Port RAM Loop Test(Burst Mode) [J] Dual Port RAM (Polling Mode) [Q] EXIT HPI Test Select One ... Please input the selected CM5001. [0-3]: Select Memory Type [0:PM|1:CM|2:DM]: Select Error!!! Single Mode Burst Mode DSP Load starts. Please wait .... Please input the number of cascaded CM5001. [1-3]: Select Memory Type [0:PM|1:CM|2:DM|3:Dual Port RAM]: Select Memory Type [0:PM|1:CM|2:DM] : Input Start PM Address (default:0x0000) : 0x PM Load Test starts, please wait .... Input Start CM Address (default:0x0000) : 0x CM Load Test starts, please wait .... Input Start DM Address (default:0x0000) : 0x DM Load Test starts, please wait .... Reload PM memory address 0x%04x ---- Data to Write ---- ---- Data Read Back ---- Test Success!!! Test Failed!!! Press any key to continue .... Please input data length: Length Error!!! PM Read Test starts, please wait .... CM Read Test starts, please wait .... DM Read Test starts, please wait .... Start to run DSP [Y|N]:[N] Load DSP finished. Press any key to continue .... *** Dev0 INT Read Clear Failed !!! *** Dev0 Dual Port INT Read Clear Failed !!! *** Dev0 Dual Port conference INT Failed !!! *** Dev1 INT Read Clear Failed !!! *** Dev1 Dual Port INT Read Clear Failed !!! *** Dev1 Dual Port conference INT Failed !!! *** Dev2 INT Read Clear Failed !!! *** Dev2 Dual Port INT Read Clear Failed !!! *** Dev2 Dual Port conference INT Failed !!! *** Dev3 INT Read Clear Failed !!! *** Dev3 Dual Port INT Read Clear Failed !!! *** Dev3 Dual Port conference INT Failed !!! Input Data Mode 0:Pattern|1:Radom|2:Increment :0x Input Pattern (0x00) :0x Input Start Dual Port RAM Address (default:0x0000) : 0x Dual Port RAM R/W Test Success!!! Dual Port RAM R/W Test Failed!!! Press any key to continue .... ==== PM Read/Write Test ==== ==== CM Read/Write Test ==== ==== DM Read/Write Test ==== ==== Dual Port RAM Read/Write Test ==== Error Memory Type:%d !!! Input Data Type 0:Pattern | 1:Radom | 2:Increment : Input Pattern (0x00) : 0x Input Start RAM Address (default:0x0000) : 0x Memory address to write : 0x%02x%02x Memory address to read back : 0x%02x%02x ==== RAM R/W Test Success!!! ==== ==== RAM R/W Test Failed!!! ==== Press any key to continue or ESC to quit .... Choose data type [0:pattern|1:radom|2:increment] : There is no available channel. There is no channel available Dev%d Interrupt -- Write Buffer Full Dev%d Interrupt -- Watch Dog Dev%d Interrupt -- SPI_CONTROL_INT Error address src=0x%08x , dst=0x%08x HPI Tx/Rx Dual-Port RAM Test =========================================================================== Dev# CH0:Tx CH0:Rx CH1:Tx CH1:Rx CH2:Tx CH2:Rx CH3:Tx CH3:Rx --------------------------------------------------------------------------- Dev0 0 0 0 0 0 0 0 0 Dev1 0 0 0 0 0 0 0 0 Dev2 0 0 0 0 0 0 0 0 Dev3 0 0 0 0 0 0 0 0 Error Account Dev# CH0 CH1 CH2 CH3 ------------------------------------------ Dev0 0 0 0 0 Dev1 0 0 0 0 Dev2 0 0 0 0 Dev3 0 0 0 0 Press SPACE to stop or ESC to return to top menu .... Choose data type [0:pattern|1:radom|2:increment|3:from file] : Please input the pattern (0x00): 0x Register No. to Write:0x Input Value :0x Would you like to read data back [Y] ? [Y|N]: The value read back is 0x%x Register No. :0x Value is 0x%x Input Loop Number : Wrong Loop Number: at least 1 !!! Test Success!!!, count = %d Test Failed!!! , count = %d Dual Port RAM R/W Test Success!!! count = %d Dual Port RAM R/W Test Failed!!! count = %d Please input SPI Chip Slelect[0-3]: 0x Wrong input Input string to write to SPI: SPI Test Success!!! SPI Test Failed!!! Stopping test ? [Y] : External INT Config [0:Level High|1:Level Low|2:Rising Edge|3:Falling Edge]: Queue Maximum 7 INTs ? [Y]: Press SPACE to generate INT ; press ESC to stop .... ===================================== EXT_INT0 = %d EXT_INT1 = %d EXT_INT2 = %d EXT_INT3 = %d Press any key to continue .... === Dev0 Dual Port INT Read Clear Failed !!! === Dev0 Dual Port conference INT Failed !!! -Infinity Infinity UART Tx Interrupt Test Succeeded!! IP PHONE Boot up....