Nuvoton NUC900 Series User Manual

Diagnostic code
Table of Contents

Advertisement

NUC900 Diagnostic Code User's Manual
NUC900 Series Diagnostic Code User's Manual
April 15, 2009
Released
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission from Winbond.
1110-0001-08-A
6/18/2009

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NUC900 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Nuvoton NUC900 Series

  • Page 1 NUC900 Diagnostic Code User’s Manual NUC900 Series Diagnostic Code User’s Manual April 15, 2009 Released The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission from Winbond. 1110-0001-08-A 6/18/2009...
  • Page 2: Table Of Contents

    NUC900 Diagnostic Code User’s Manual 1. Introduction .................... 4 1.1 NUC910 Test Items ................. 4 1.2 NUC920 Test Items ................. 4 1.3 NUC950 Test Items ................. 5 1.4 NUC960 Test Items ................. 5 2. Diagnostic Code ..................6 2.1 USB Host ..................6 EHCI with USB 2.0 mass storage device ............
  • Page 3 NUC900 Diagnostic Code User’s Manual Tx/Rx Test .................. 18 2.8.1 2.9 UART..................... 18 External loop-back ................19 2.9.1 Simple UART receiving ............... 19 2.9.2 Simple UART transmitting ..............19 2.9.3 Get UART registers value ..............20 2.9.4 UART line break interrupt ..............20 2.9.5 UART1 &...
  • Page 4: Introduction

    NUC900 Diagnostic Code User’s Manual 1. Introduction 1.1 NUC910 Test Items • USB Host (2 ports) • USB Device • • 2D Graphic Engine • Audio (AC97) • FMI (SD Card, Memory Stick, and NAND flash) • ATAPI • Ethernet MAC •...
  • Page 5: Nuc950 Test Items

    NUC900 Diagnostic Code User’s Manual • UART • • • • PS/2 • 1.3 NUC950 Test Items • USB Host (2 ports) • USB Device • Audio (AC97 and I2S) • FMI (SD card 1 or Memory Stick 1) • Ethernet MAC •...
  • Page 6: Diagnostic Code

    NUC900 Diagnostic Code User’s Manual 2. Diagnostic Code 2.1 USB Host NUC910 USB Host combines EHCI and OHCI host controllers. Which host controller will run the diagnostic code depends on the connected device. If you want to test EHCI, please plug USB 2.0 device into the USB ports.
  • Page 7: Ohci With Usb 1.1 Mass Storage Device

    NUC900 Diagnostic Code User’s Manual 3. If the test was completed and passed, you will see “Test OK” message on console. Otherwise, the test failed. Note 2.1.3 OHCI with USB 1.1 mass storage device Instrument Any USB 1.1 mass storage device. Jumper Settings None Test Sequence...
  • Page 8: Ram Disk Access

    NUC900 Diagnostic Code User’s Manual memory or read data from memory through the AHB master interface. The USBD controller also contains the USB transceiver to interface the USB. It consists of four endpoints, designated EP0, EPA, EPB and EPC. The USB Device diagnostic code can do the following test: •...
  • Page 9: Osd Display Test

    NUC900 Diagnostic Code User’s Manual 2.3.2 OSD display test Instrument LCD module TD035STED3 Jumper Settings None Test Sequence 1. Plug the LCD module TD035STED3 on the EV board 2. See the image shows on the LCD correct or not Note Size 128X160 color bar image cover on the video image 2.3.3 Alpha test Instrument...
  • Page 10: Bitblt Test

    NUC900 Diagnostic Code User’s Manual • Style Line Draw • Rotate • Scaling Up • Scaling Down 2.4.1 Bitblt test Instrument LCD module TD035STED3 Jumper Settings None Test Sequence 1. Plug the LCD module TD035STED3 on the EV board. 2. Test function will show the image on the LCD. 3.
  • Page 11: Mono Pattern Fill

    NUC900 Diagnostic Code User’s Manual 2. Test function will show the image on the LCD. 3. The image demonstrates whether correctly. Note The pattern size is 8x8 pixels. The image is showed according to specified width and height. 2.4.4 Mono Pattern Fill Instrument LCD module TD035STED3 Jumper Settings...
  • Page 12: Line Draw

    NUC900 Diagnostic Code User’s Manual Jumper Settings None Test Sequence 1. Plug the LCD module TD035STED3 on the EV board. 2. Test function will show the image on the LCD. 3. The image demonstrates whether correctly. Note Several images overlap on the LCD. 2.4.7 Line Draw Instrument LCD module TD035STED3...
  • Page 13: Scaling Up

    NUC900 Diagnostic Code User’s Manual Jumper Settings None Test Sequence 1. Plug the LCD module TD035STED3 on the EV board. 2. Test function will show the image on the LCD. 3. The image demonstrates whether correctly. Note Program will capture the image and rotate the image on the LCD. 2.4.10 Scaling Up Instrument LCD module TD035STED3...
  • Page 14: Playback Test

    NUC900 Diagnostic Code User’s Manual 2.5.1 Playback Test Instrument AC’97 external codec (and I2S on NUC950) Jumper Settings SW1 AC97 1~5:ON (I2S 1~5 ON on NUC950) Test Sequence 1. Plug the output device (head phone or speaker) 2. Listen the sound output from AC’97 (I2S) is correct or not Note 8K sampling rate PCM is used 2.6 FMI...
  • Page 15: Nand Test

    NUC900 Diagnostic Code User’s Manual Test Sequence Initial the card and then write / read / compare Note 2.6.3 NAND Test Instrument None (on board NAND) Jumper Settings NAND switch turn ON Test Sequence Initial the NAND flash and then write / read / compare Note 2.6.4 MS0 Test Instrument...
  • Page 16: Sd1 Card Detection Test

    NUC900 Diagnostic Code User’s Manual insert/remove card two times, the program will exit. Note 2.6.7 SD1 Card detection Test Instrument Any SDHC / SD / MMC card Jumper Settings SD1 switch turn ON and MS1 switch turn OFF Test Sequence Initial the card and then wait the card insert or remove.
  • Page 17: Atapi

    NUC900 Diagnostic Code User’s Manual 2.7 ATAPI The ATAPI controller can control the disk connected at the master or slave position, but the diagnostic code only test the device connected at the master position. Before testing, make sure the disk is connected at the master position. The ATAPI diagnostic code can do the following test: •...
  • Page 18: Tx/Rx Test

    NUC900 Diagnostic Code User’s Manual • Tx/Rx test 2.8.1 Tx/Rx Test Instrument One CAT5 cable and a loop back connector. Jumper Settings Plug a loop-back connector into RJ45 jack Test Sequence 1. Connect on board RJ45 jack with loop back connector via CAT5 cable 2.
  • Page 19: External Loop-Back

    NUC900 Diagnostic Code User’s Manual • UART1 H/W flow control • UART1 S/W flow control 2.9.1 External loop-back Instrument A RS232 socket that TX/RX is closed. Jumper Settings Set JP1 to select TXD2 or DTR1. Set JP2 to select TXD4 or RIn1. Set JP3 to select RXD2 or DSR1.
  • Page 20: Get Uart Registers Value

    NUC900 Diagnostic Code User’s Manual 2.9.4 Get UART registers value Instrument None Jumper Settings None Test Sequence 1. Select UART0~4 on UART0 HyperTerminal. 2. Program should print the UART registers value. Note 2.9.5 UART line break interrupt Instrument A RS232 socket that TX/RX is closed. Jumper Settings Set JP1 to select TXD2 or DTR1.
  • Page 21: Uart1 High Baud Rate (Bluetooth)

    NUC900 Diagnostic Code User’s Manual 2.9.7 UART1 high baud rate (Bluetooth) Instrument If test with Bluetooth, UART1 should be connected with one Bluetooth module. Otherwise, connect with the USB to serial cable for high baud rate test. Jumper Settings None Test Sequence 1.
  • Page 22: Uart1 H/W Flow Control

    NUC900 Diagnostic Code User’s Manual 2.9.10 UART1 H/W flow control Instrument HyperTerminal. Jumper Settings Set JP1 to select TXD2 or DTR1. Set JP2 to select TXD4 or RIn1. Set JP3 to select RXD2 or DSR1. Set JP4 to select RXD4 or CDn1. Test Sequence 1.
  • Page 23: I2C0 Byte Write / Random Read

    NUC900 Diagnostic Code User’s Manual The I2C diagnostic code can do the following test: • I2C0 byte write / random read • I2C0 page write / sequential read • I2C1 byte write / random read • I2C1 page write / sequential read 2.10.1 I2C0 byte write / random read Instrument EEPROM.
  • Page 24: I2C1 Page Write / Sequential Read

    NUC900 Diagnostic Code User’s Manual Test Sequence 1. Program should write data to EEPROM at offset address. 2. Program read data from EEPORM at the address that wrote before. 3. Compare TX and RX data. Note 2.10.4 I2C1 page write / sequential read Instrument EEPROM.
  • Page 25: Rtc

    NUC900 Diagnostic Code User’s Manual within the target, the next target will appear on the screen until 4th target appears. If touch position is out of target, the next target won’t show on the screen and the error message will be shown on the console.
  • Page 26: Set Alarm Time Test

    NUC900 Diagnostic Code User’s Manual 2.12.2 Set alarm time test Instrument None Jumper Settings None Test Sequence 1. Test program will set alarm time 2. If the test was completed and passed, you will see “OK” message on console. Otherwise, the test failed. Note Remember to install battery 2.12.3 Set current time test...
  • Page 27: Leap Year Test

    NUC900 Diagnostic Code User’s Manual 2.12.5 Leap year test Instrument None Jumper Settings None Test Sequence 1. Test program will set current time 2. If the test was completed and passed, you will see “OK” message on console. Otherwise, the test failed. Note Remember to install battery 2.12.6 Alarm interrupt test...
  • Page 28: Wake-Up Interrupt Test

    NUC900 Diagnostic Code User’s Manual Note Remember to install battery 2.12.8 Wake-up interrupt test Instrument None Jumper Settings None Test Sequence 1. Test program will enable wake-up function, set current and alarm time by one sec. 2. After one sec, 910/920 should wake up. 3.
  • Page 29: Smart Card

    NUC900 Diagnostic Code User’s Manual Test Sequence 1. Send command to PS/2 keyboard and get data from it. Note Plug in PS/2 keyboard first. 2.13.2 PS/2 Mouse Instrument PS/2 Mouse. Jumper Settings SW5: 1-8 ON. SW6: 1-8 OFF. SW7: 1-8 OFF. Test Sequence 1.
  • Page 30: Spi

    NUC900 Diagnostic Code User’s Manual Note 2.15 SPI NUC910 supports Synchronous Serial Port Controller. It performs a serial to parallel conversion on data characters received from the peripheral, and a parallel to serial conversion on data characters received from CPU. The SPI diagnostic code can do the following test: •...
  • Page 31: Pwm

    NUC900 Diagnostic Code User’s Manual Note If OK, shows the time period and throughput If fail, shows error massage 2.17 PWM PWM test function could test each individual timer in one shot mode and toggle mode. All the APIs accessing PWM related registers are provided by PWM Non-OS Library. In toggle mode testing, timeout interval will decease by half the duration every time an interrupt occurs.
  • Page 32: Power Down Wake Up Test

    NUC900 Diagnostic Code User’s Manual • KPI non-block mode test • KPI buffer test • KPI three key test 2.18.1 Power Down Wake Up Test Instrument On board 4*8 keypad Jumper Settings SW3[OFF],SW4[ON], Test Sequence 1. Press any key to enter power down mode 2.
  • Page 33: Kpi Buffer Test

    NUC900 Diagnostic Code User’s Manual 2.18.4 KPI Buffer Test Instrument On board 4*8 keypad Jumper Settings SW3[OFF],SW4[ON], Test Sequence 1. Please press any KPI key. 2. Test program will console out the key which you have ever pressed after press any key in PC. Note Press KPI key less than ten times 2.18.5 KPI Three Key Mode Test...
  • Page 34 NUC900 Diagnostic Code User’s Manual The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission from Winbond. 1110-0001-08-A 6/18/2009...

This manual is also suitable for:

Nuc910Nuc920Nuc950Nuc960

Table of Contents