This system was built to test the GECKO3main after production or from time to time. The GECKO3TESTER is divided into two parts:
The tester-hardware contains a power supply, Ethernet and RS232 cable adapters, clock sources for the EXTCLK
inputs, power LEDs
and most important it loops the GPIO
signals on the System-Bus.
With this peripheral the GECKO3main is able to run the test itself.
To be able to run the automated test, at least the on-board 1.2 V power supply and the JTAG
system must be working since you have to configure the FPGA. If you use the USB connection to configure the FPGA, the whole USB system has to work as well.
In doubt use a JTAG programming cable and test the USB connection separately.
We provide two different test configurations:
Runtime: 30 seconds.
Warning
Settings: 115.2 kBaud, 8 Data bits, 1 Stop bit, no Handshake.
Ubatt
and 3.3 V
must light up.Reset
button. While you press, the red LED must light up.All Tests finished successfully. Systemtest PASSED
else check the output messages for more detailed information about the detected errors.---- Running Interrupt Controller Test... ---- Runnning IntcSelfTest... PASSED Intc Interrupt Setup... PASSED ---- Running LEDs Test... ---- LEDs Test PASSED. ---- Running Test for Push_Buttons... ---- Simple Read Test PASSED. The data should be 0xF: Read data:0xE Press button0 Button0 Test PASSED. Press button1 Button1 Test PASSED. Press button2 Button2 Test PASSED. ---- Running Uart Test... ---- Running Uart Selftest for debug_module... PASSED ---- Running Ethernet Test... ---- Running Ethernet_10_100 Selftest... PASSED Running Interrupt Test for Ethernet_10_100... PASSED ---- Running Test for IO Bus... ---- read data = 1 IO Bus Test PASSED ---- Running SPI and SPI Flash Test... ---- Running SpiSelfTest... PASSED Running Spi-Flash Test Initialize SPI Core... SUCCESSFULL Starting spi self test ...SUCCESSFULL Setup interrupt system ...SUCCESSFULL Initialize SPI Flash... SUCCESSFULL Memory Capacity: 4096 kBytes Start flash erase ...SUCCESSFULL SPI Flash SUCCESSFULLY erased *** Starting first Pattern Test *** Start flash erase ...SUCCESSFULL SPI Flash SUCCESSFULLY erased *** Starting second Pattern Test *** Spi-Flash Test PASSED ---- Runnning Memory Test for the DDR Ram... ---- Starting MemoryTest for Micron_DDR_MT46V16M16TG_75_MEM0: Running 32-bit test...PASSED! Running 32-bit Second Pattern Test...PASSED! Running 16-bit test...PASSED! Running 8-bit test...PASSED! Starting MemoryTest for MICRON_DDR_1_MEM0: Running 32-bit test...PASSED! Running 32-bit Second Pattern Test...PASSED! Running 16-bit test...PASSED! Running 8-bit test...PASSED! Memory Test PASSED ---- Flash Memory Test... ---- Querying Flash device size Value should be: 0x180018 Received Value: 0x180018 Found two 128 Mbit devices Testing Flash addresses 38000000 to 39FFFFFF TEST - Testing flash erase Erasing from 0x38000000 to 0x39FFFFFF (inclusive) TEST - Testing Walking 1's across Data bus TEST - Testing Walking 1's across Address bus (tests address bits 24 to 2) Erasing from 0x38000000 to 0x39FFFFFF (inclusive) TEST - Testing writing address into memory locations Erasing from 0x38000000 to 0x39FFFFFF (inclusive) TEST - Testing writing inverse address into memory locations Memory Test PASSED ---- Testsystem for GECKO3main finished ---- All Tests finished successfully. Systemtest PASSED
Note:
The GPIO pin numbering used by the test software is different than the normal system bus names. Refer to the gecko3_tester schematic to know which hardware pin has problems.
If a error on the system bus or on a memory chip is detected, most of the time you will get a bunch of errors after that. Always look for the first detected error and try to fix that. Afterwards do another test run.
crossconnection means thant two pins on the bus have a connection.
shortings means that one pin is connected to a supply voltage or ground.
stuck at one means that this pin is always HIGH. This occours on the GECKO3main also when a fpga pin is NOT CONNECTED AT ALL (due to internal pull-ups).