Tuesday, 2 July 2013

RPi #2 USB (webcam) , JTAG, CLK, and SPI (Guzunty Pi gz_test) testing notes

Now I am doing some basic test to make sure that both RPis are still working after the messy rewiring.

I first ran the program fongtoy.py which tests webcam.  This makes sure that at least the USB connection and signalling are basically OK.

I then ran the Guzunty Pi gz_test.  I first uploaded the gz_test.xsvf to make sure the JTAG connection and signalling are OK.  I then ran gz_test to make sure the SPI and Clock 0 connection and signalling are OK.

So far so good.


.END

*** Testing webcam C270 and Guzunty Pi gz_test - tlfong01 2013jul02 ***

pi@raspberrypi ~/fongtoy $ sudo python fongtoy.py

*** Start Program - FongToy v1.15 tlfong01 2013jun24 ***


*** Sample run begin - TestWebCamCamera08() 2013jun18hkt10:54 ***

Number of cameras found =  1
Camera used =  0
Image size = ( 1280 ,  720 )
Number of images to get =  120
Time between images (in seconds) =  0.5
Image number =  0
Image number =  1
Image number =  2
Image number =  3
Image number =  4
Image number =  5
Image number =  6
Image number =  7
Image number =  8
Image number =  9
Image number =  10
Image number =  11

...

Image number =  114
Image number =  115
Image number =  116
Image number =  117
Image number =  118
Image number =  119
File name of last image = /home/pi/fongtoy/testImage.bmp
*** Sample run end ***


*** Stop Program ***

pi@raspberrypi ~ $ cd Guzunty
pi@raspberrypi ~/Guzunty $ cd Pi
pi@raspberrypi ~/Guzunty/Pi $ cd src
pi@raspberrypi ~/Guzunty/Pi/src $ cd gz_test

pi@raspberrypi ~/Guzunty/Pi/src/gz_test $ sudo gz_load gz_test.xsvf
Guzunty loader v5.01, portions courtesy Xilinx, Inc.
XSVF file = gz_test.xsvf
SUCCESS - Completed XSVF execution.
Execution Time = 9.980 seconds

pi@raspberrypi ~/Guzunty/Pi/src/gz_test $ sudo ./gz_test
Press any key to stop test.
pi@raspberrypi ~/Guzunty/Pi/src/gz_test $ date Tue Jul  2 08:15:04 UTC 2013

.END

No comments:

Post a Comment