Difference between revisions of "Prod353"

From ElphelWiki
Jump to: navigation, search
Line 13: Line 13:
 
===Ports===
 
===Ports===
  
The first line, ''''''ports'''''', does not apply to users that are reflashing a single camera directly from their PC.  The ''''''ports'''''' setting only needs to be changed if you have a POE manageable switch connected to your PC, and plan to test/reflash several cameras at once using several of the switch ports.  If you do need to reflash several cameras hooked up to your POE manageable switch, then type in the number of cameras into the box next to ''''''ports''''''.  During the reflashing/testing process, after the start button has been pressed, the Prod353 software will assign the label 'port 1' to the first camera that is plugged in, and 'port 2' to the next camera that is plugged in, etc... It assigns these labels regardless of the physical port number on the router.
+
The first line, ''''''ports'''''', does not apply to users that are reflashing a single camera directly from their PC.   
 +
 
 +
====='''Multiple Cameras'''===== The ''''''ports'''''' setting only needs to be changed if you have a network switch connected to your PC, and plan to test/reflash several cameras at once using several of the switch ports.  It is generally easiest to reflash one camera at a time.  But if it is necessary to reflash multiple cameras in one session, two methods can be used, manual control, and automatic control.  Multiple cameras can be controlled manually using a standard network switch.  Or multiple cameras can be controlled automatically using a POE manageable network switch (only two POE manageable switches are currently compatible with Prod353.  These are listed in the README file in the Prod353 folder).  With both methods, type in the number of cameras into the box next to ''''''ports''''''.   
 +
 
 +
'''Automatic POE Control''' If you are using one of the two compatible POE manageable switches mentioned,  all that needs to be done is to plug in the cameras to the first several ports of the POE manageable switch, and Prod353 will take care of the rest.
 +
 
 +
'''Manual Control''' If you are using a standard non-POE manageable network switch, do not plug the cameras in until after the ''''''start'''''' button has been pressed.  After the start button has been pressed, the Prod353 software will assign the label 'port 1' to the first camera that is plugged in, and 'port 2' to the next camera that is plugged in, etc... It assigns these labels regardless of the physical port number on the network switch.
  
 
===Start MAC, Board Revision, 10369 Start ID, and 10396 Board Revision===
 
===Start MAC, Board Revision, 10369 Start ID, and 10396 Board Revision===
Line 65: Line 71:
 
''''''start''''''  This button begins the reflashing/testing process for the number of cameras specified in the ''''''ports'''''' setting.
 
''''''start''''''  This button begins the reflashing/testing process for the number of cameras specified in the ''''''ports'''''' setting.
  
''''''abort all''''''  This button will stop the reflashing/testing process for all cameras connected to the PC or router.  It is not possible yet to stop the reflashing/testing process for a single camera without stopping them all.
+
''''''abort all''''''  This button will stop the reflashing/testing process for all cameras connected to the PC or network switch.  It is not possible yet to stop the reflashing/testing process for a single camera without stopping them all.
  
 
===Starting Prod353===
 
===Starting Prod353===
  
With Prod353 configured as discussed above, once you press the start button, you will be prompted to "Please, push the button of the camera on port 1".  This means that it is time to connect the camera to your PC or router, and put it into net-boot mode so that it will accept the new firmware image.  There are two different methods  of putting the Elphel 353 camera into net-boot mode, depending on the cameras hardware revision.  These methods will be detailed below:
+
With Prod353 configured as discussed above, once you press the start button, you will be prompted to "Please, push the button of the camera on port 1".  When this window pops up, it is time to connect the camera to your PC or network switch, and put it into net-boot mode so that it will accept the new firmware image.  There are two different methods  of putting the Elphel 353 camera into net-boot mode, depending on the cameras hardware revision.  The details of how to do this are found on the '''[[Net-Boot]]'''page.
 
 
====Rev. E (No switch net-boot)====
 
 
 
Our most recent camera hardware revision is Rev. E
 
  
 
'''TO BE CONTINUED'''
 
'''TO BE CONTINUED'''

Revision as of 16:40, 9 April 2009

Prod353

Prod353 is a valuable hardware testing and firmware reflashing tool. Depending on the settings, Prod353 can be used to completely test the hardware of a camera system; from the system memory and video/FPGA memory, to the sensor, to the optional 10359 and 10369 'daughter' boards. It can also be configured to reflash the existing camera firmware, or flash a new updated firmware image onto the camera to increase its functionality and stability. Prod353 can be downloaded by following the link below:

http://elphel.cvs.sourceforge.net/viewvc/elphel/prod353/station/

Before attempting to install Prod353, be sure to read the INSTALL text file for instructions on what is required on your PC before Prod 353 can be installed.

Once Prod353 has been successfully installed, open it up using the Mozilla Firefox web browser. There are several options that need to be set before you click the 'Start' button. Please do not connect any cameras to the network until these settings have been properly configured. In the upper left hand corner of the screen, under the heading 'session settings', there are several lines of options. These are described below:

Setting up Prod353

Ports

The first line, 'ports', does not apply to users that are reflashing a single camera directly from their PC.

=====Multiple Cameras===== The 'ports' setting only needs to be changed if you have a network switch connected to your PC, and plan to test/reflash several cameras at once using several of the switch ports. It is generally easiest to reflash one camera at a time. But if it is necessary to reflash multiple cameras in one session, two methods can be used, manual control, and automatic control. Multiple cameras can be controlled manually using a standard network switch. Or multiple cameras can be controlled automatically using a POE manageable network switch (only two POE manageable switches are currently compatible with Prod353. These are listed in the README file in the Prod353 folder). With both methods, type in the number of cameras into the box next to 'ports'.

Automatic POE Control If you are using one of the two compatible POE manageable switches mentioned, all that needs to be done is to plug in the cameras to the first several ports of the POE manageable switch, and Prod353 will take care of the rest.

Manual Control If you are using a standard non-POE manageable network switch, do not plug the cameras in until after the 'start' button has been pressed. After the start button has been pressed, the Prod353 software will assign the label 'port 1' to the first camera that is plugged in, and 'port 2' to the next camera that is plugged in, etc... It assigns these labels regardless of the physical port number on the network switch.

Start MAC, Board Revision, 10369 Start ID, and 10396 Board Revision

Directly below the 'ports' option are two lines for the 10353 'start MAC' address, and 10353 'board revision' number. When the 10369 test is selected, there are also two more lines that will appear below that, the '10369 start ID' number and '10369 board revision' number. These lines can all be ignored. They are only used at the factory for initial programming of the boards, and have no effect on the process after that.

Net-Boot by Button

To the right you will find the 'net-boot by button' check box. This box must be checked for the reflashing process to work properly. Checking this box configures Prod353 to allow the user to place their cameras in net-boot mode manually. If it is not checked, Prod353 may go into an endless loop (as it attempts to initialize an automated POE switch).

Clean Cameras and POE Switch

Directly beneath the 'net-boot by button' check box is the 'clean cameras/POE switch' check box. This check box must remain un-checked. This option is something that is only needed in the initial factory programming stage.

Reflash Cameras

To the right you will find the 'reflash cameras' check box. Place a checkmark in this box if you want to flash the camera with a new firmware image. If the box is left un-checked, the firmware on the camera will remain unchanged.

Test Sensor

Directly below this, you will find the 'test sensor' check box. If this box is checked, one of two types of sensor test will be run. If it is not checked, then the two sensor test options will be disabled, and will not be run. It is possible to select between two types of sensor tests. These two options are listed below the 'test sensor' check box. These are the standard 'test sensor board' option for cameras with a single sensor attached, and the 'test 10359 board' option, which is only needed for custom camera applications using the 10359 Sensor Multi-plexor board, with up to three independent sensors attached to it. These tests assure the proper function of the sensor board, and also check the integrity of the image data transmission lines through the cable.

Test 10369 Board

Below the sensor test options you will find the 'test 10369 board' check box. Place a checkmark in this box if your camera has a 10369 IO Interface board, and you would like to verify that it is functioning correctly. This test will automatically check for the presence of any IDE, USB, or SATA storage devices, and output the results to a log file that will be discussed in more detail below.

MAC Logs List

This is not a setting to be configured, but rather a link to all the log files saved from previous tests. This will also be discussed in more detail below.

Firmware

In the top right hand corner of the screen is the 'firmware' selection area. Click on the '8.X firmware' selection button and leave the 'custom firmware:' check box below it blank to reflash your camera to the most recent 8.x firmware. If you would like to reflash you camera using a customized firmware image based on 8.x, just check the 'custom firmware:' check box, and use the drop down menu to select the custom firmware that you would like to use. If you would prefer to use 7.x firmware, Click on the '7.1 firmware' selection button and leave the 'custom firmware:' check box below it blank to reflash your camera to the most recent 7.x firmware. If you would like to reflash you camera using a customized firmware image based on 7.x, just check the 'custom firmware:' check box, and use the drop down menu to select the custom firmware that you would like to use.

Before it is possible to reflash the camera to any firmware at all, the desired image files must first be installed in the proper NFS directory.

8.x Default: Extract the most recent 8.x image tarball (image353-8.X.X.tar.gz) into /nfs/latest80/

8.x Custom: Extract any customized 8.x based image files that you would like to see listed in 8.x custom firmware drop down menu, into /nfs/images/

7.x Default: Extract the most recent 7.x image tarball (image353-2.10-7.1.8.1.tar.gz) into /nfs/elphel353-2.10/

7.x Custom: Extract any customized 7.x based image files that you would like to see listed in 7.x custom firmware drop down menu, into /nfs/elphel353-2.10/images

Please remember that the 'reflash cameras' check box must have a check mark in it before any of these selections will take effect on your camera.

Reflashing a Camera using Prod353

The Control Buttons

'start' This button begins the reflashing/testing process for the number of cameras specified in the 'ports' setting.

'abort all' This button will stop the reflashing/testing process for all cameras connected to the PC or network switch. It is not possible yet to stop the reflashing/testing process for a single camera without stopping them all.

Starting Prod353

With Prod353 configured as discussed above, once you press the start button, you will be prompted to "Please, push the button of the camera on port 1". When this window pops up, it is time to connect the camera to your PC or network switch, and put it into net-boot mode so that it will accept the new firmware image. There are two different methods of putting the Elphel 353 camera into net-boot mode, depending on the cameras hardware revision. The details of how to do this are found on the Net-Bootpage.

TO BE CONTINUED