Hardware/EIR/Tester

From Nutwiki
Jump to: navigation, search

EIR Hardware Tester

A first preview version 0.1.1 of the EIR Hardware Tester is available in [[../../../arc/eirhwt-0.1.1.zip|this archive]]. It contains all source code as well as a pre-compiled binary and will test the following hardware:

  • MultiMedia Card Interface

Insert any MMC or SD-Card before running the test.

  • Ethernet Controller

The EIR must be connected to an Ethernet network.

  • Audio Codec

Very simple test, which will just read two registers.

  • Serial Flash

Extensive test, which will destroy the contents. As a result, your radio configuration will get lost.

  • SDRAM

Extensive test, which automatically detects the size of the SDRAM chip.

Running the Tester

If running a Windows PC, use SAM-BA to upload the binary to the EIR. Alternatively you can use the JTAG interface.

Attach the RS-232 connector on the EIR with any COM port of your PC, using a [[../../documents/rs232primer.html|null modem cable]]. Start a terminal emulator like
TeraTerm for Windows,
Minicom for Linux or
ZTerm for Mac OS X.

Configure the serial port to 115,200 Baud, 8 data bit, no parity and 1 stop bit. Disable all handshakes. When pressing the reset button, the following output should appear in the terminal emulator window.

EIR Hardware Tester 0.1.1
CPU Clock: 48.0548 MHz
MMC Init...OK
Manufacturer : 1
OEM ID       : 0
Product name :  128MB
Product rev. : 1
Serial number: 3550871616
Date Code    : 152
Detecting NIC...OK
Reset NIC...OK
Start NIC.....OK
Detect VS10X3...OK
Testing Dataflash................................................................OK
Clear area  ................................................................OK
Pattern test................................................................OK
Fill SDRAM  ................................................................OK
Test SDRAM  ................................................................OK
67108864 bytes SDRAM

Return to the EIR project page.