Difference between revisions of "Diagnostic & repair"

From ElphelWiki
Jump to: navigation, search
(How can I change or restore the MAC address?)
(How do I restore the camera to its factory state ?)
 
(5 intermediate revisions by 5 users not shown)
Line 16: Line 16:
  
  
== How can I change or restore the MAC address? ==
 
  
The factory default MAC address of Elphel products is the same as the serial number which begin with 000E64. If you would like to use a MAC address different from the serial number you can edit the /etc/conf.d/mac file.
 
 
If the serial number has not been configured is possible to set it (but only once!). To set the serial number use the bootblocktool command on the camera:
 
 
<nowiki>bootblocktool -a SERNO 000E64xxxxxx</nowiki>
 
 
Exchange “xxxxxx” with the serial number of the board.
 
 
!As you can do it only once be careful! If you write the MAC address in a wrong format (ie with : separations) the camera will not boot any more.
 
 
 
You may do it with the special HTML [http://www.elphel.com/3fhlo/bootblock/bootblock333.html page] but those serial numbers are supposed to be factory programmed.--[[User:Andrey.filippov|Andrey.filippov]] 05:36, 30 December 2005 (CST)
 
  
 
== How do I restore the camera to its factory state ? ==
 
== How do I restore the camera to its factory state ? ==
  
To restore the camera defaults you can re-flash it. You may download [[http://prdownloads.sourceforge.net/elphel/elphel333-6.4.17-flash.tar.bz2?download the flash image (333 only)]], and save it somewhere.
+
To restore the camera defaults you can re-flash it. You may download the flash image [[http://prdownloads.sourceforge.net/elphel/elphel333-6.4.25-flash.tar.bz2?download (333 only)]], and save it somewhere.
  
 
Then start the Live CD, and drop the saved flash image over the "flashit" icon.
 
Then start the Live CD, and drop the saved flash image over the "flashit" icon.
  
 
Finally, plug in the camera cable while holding the green button on the back panel. The program will notice it and happily write some debug info. Both LEDs on the camera will go on for several minutes. Afterwards they will go off and the camera will reboot with its default IP address of 192.168.0.9
 
Finally, plug in the camera cable while holding the green button on the back panel. The program will notice it and happily write some debug info. Both LEDs on the camera will go on for several minutes. Afterwards they will go off and the camera will reboot with its default IP address of 192.168.0.9
 +
 +
If you have a 353 camera, try the [[Reflashing the 353/363|other flashing instructions]]
  
  
 
----
 
----
''Free Software and Open Hardware. Elphel, Inc., 2005''
+
''Free Software and Open Hardware. Elphel, Inc., 2007''

Latest revision as of 10:24, 28 November 2007

Elphel Network Cameras Manual

353/363 | Using the cameras | Camera software | Live CD | Camera hardware | Diagnostic & repair | Development documentation | 333 prices | Information | FAQ | About Elphel, Inc


Introduction

Like any modern digital devices, Elphel network cameras include complex hi-tech components. We spend a lot of effort to ensure long term trouble-free working of our cameras, but, unfortunately, any complex technical equipment can break.

The following section of the Manual contains information about possible malfunctions arising during the operation of the cameras, and ways of detecting and eliminating them. We hope that this will be the least visited section of the Manual !

There is another reason for such a section. You see, our hardware is open for hacking - you do not need to take photos of the PCBs and reverse-engineer the circuit diagrams or component placement - it is already available for download under the Free Documentation License !

Elphel cameras use a very nice feature of the Axis Communications processor - ETRAX100LX - an embedded network boot loader. That means that you do not need any special tools/cables or special tricks (as here) to reprogram the cameras, and furthermore - you cannot screw up the flashing process and make the cameras permanently unbootable. The network boot code resides in the CPU ROM, so if flashing fails - you can always start over again.

So you are welcome to hack away and we'll have some useful tips here on that matter.

One simple tip that I can think of - if you start to modify/rebuild the FPGA code it can be a good idea to hold you finger over the FPGA and/or CPU during FPGA programming - some errors (i.e. forgetting to include the physical constraint file with the pin designations) can cause bus conflicts (CPU and FPGA will fight each other) and overheat fast - just unplug the power if this happens.



How do I restore the camera to its factory state ?

To restore the camera defaults you can re-flash it. You may download the flash image [(333 only)], and save it somewhere.

Then start the Live CD, and drop the saved flash image over the "flashit" icon.

Finally, plug in the camera cable while holding the green button on the back panel. The program will notice it and happily write some debug info. Both LEDs on the camera will go on for several minutes. Afterwards they will go off and the camera will reboot with its default IP address of 192.168.0.9

If you have a 353 camera, try the other flashing instructions



Free Software and Open Hardware. Elphel, Inc., 2007