Re: [Elphel-support] Help on possible faulty FPC cable [SEC=UNOFFICIAL]

2022-03-06 Thread Elphel Support
Norman,



Yes, you will need to change configuration to reduce cable delay. I will send 
you instructions how to do this during preparation of the second camera (so I 
can reproduce and verify each step).

Each port has 8 values for the delay in 1/4 of the clock period, separate for 
vertical (frame) sync, horizontal (line) sync and 12-bit data. There is 
additional fine delay adjustment, but 1/4 of the period should be sufficient.



Andrey







 On Sun, 06 Mar 2022 17:17:51 -0700 XIONG, Norman  wrote 




Hi, Andrey, 



Our electrical technician has decided to use shorter FPC cables for the two 
sensors. And it will be one sensor per camera body. One with 100mm FPC and 
another with 70mm FPC. My question is when we replace the 450mm with 100mm 
cable, do we need to change the
 port configuration?



Thanks.



Regards,

Norman




From: Elphel Support 
 Sent: 28 February 2022 12:01 PM
 To: XIONG, Norman ; Elphel List 

 Subject: Re: [Elphel-support] Help on possible faulty FPC cable [SEC=OFFICIAL] 
 


CAUTION, EXTERNAL EMAIL: This message has come from a source outside of ANSTO. 
Do not take action, click links or open attachments unless
 you recognise and trust the source of this email and know the content is safe. 
Please report suspicious emails to  as an attachment.
 
 
   After you remove the fan from the bottom of the camera (two M2.5 screws) you 
need to remove 8 (4+4) screws from the front and back panel. Then remove front 
one and push boards with the heat plate (boards are attached to it) pushing on 
the heat plate (you
 may make some simple tool to push on that plate). When pushing - be careful 
with the SSD not to hit the camera tripod mount part as it becomes loos when 
you remove the fan.



When you will be reassembling the camera - I put the back panel on the 
assembled boards first, and then slide them together into the camera body, 
making sure that a micro-USB connector does not hit the back panel (otherwise 
it can be easily peeled off
 the PCB).



And yes - camera does not see port 1. It is more likely the PCB, not the cable 
problem - I do not see how the cable can fail gradually:

from autocampars.log

...

00037.35 autocampars: All frames:

sensor_fram16    0x2    0x0    0x0    0x0 

compressor_fram16    0x0    0x0    0x0    0x0 

  i2c_frame16    0x2    0x0    0x0    0x0 

    sensor_aframe 0x0002 0x 0x 0x 

compressor_aframe 0x 0x 0x 0x 

compressor_gframe 0x 0x 0x 0x

00037.36 autocampars: Frames: 0, 0, 0, 0

00037.37 autocampars:  Wrong/missing sensor on port 1, code=0 (expected 52) 
. Driver reports errors until port is disabled at later stage 

00037.38 autocampars:  Wrong/missing sensor on port 2, code=0 (expected 52) 
. Driver reports errors until port is disabled at later stage 

00037.39 autocampars:  Wrong/missing sensor on port 3, code=0 (expected 52) 
. Driver reports errors until port is disabled at later stage 

00037.40 autocampars: port=0 GLOBALS[sensors][port][0]=mt9p006

00037.41 autocampars: port=1 GLOBALS[sensors][port][0]=none

00037.42 autocampars: port=2 GLOBALS[sensors][port][0]=none

00037.43 autocampars: port=3 GLOBALS[sensors][port][0]=none

...



Andrey





 On Sun, 27 Feb 2022 17:50:35 -0700 Elphel Support 
 wrote 



Norman,



If it is not too late - you need to take off fan first, then slide out the 
boards of the camera. Fan has a long connector reaching to the board through 
the hole.



Andrey







 On Sun, 27 Feb 2022 16:59:41 -0700 XIONG, Norman 
 wrote 



Hi, Andrey, 



Thanks for the quick response. 

Here are the two log files, with both ports connected with sensors. I'll try to 
open up the box to reconnect the cable shortly.



Regards, 

Norman




From: Elphel Support 
 Sent: 28 February 2022 10:19 AM
 To: XIONG, Norman 
 Subject: Re: [Elphel-support] Help on possible faulty FPC cable [SEC=OFFICIAL] 
 


CAUTION, EXTERNAL EMAIL: This message has come from a source outside of ANSTO. 
Do
 not take action, click links or open attachments unless you recognise and 
trust the source of this email and know the content is safe. Please report 
suspicious emails to  as an attachment.
 
 
   Hello Norman,



Can you get log files from the camera?



>From Linux system



ssh-copy-id root@192.168.0.9 # Or whatever IP is assigned to the camera



default password is pass



Then you can use scp to copy files to your local directory:



scp root@192.168.0.9:/var/log/messages

scp root@192.168.0.9:/var/log/autocampars.log



Abd then send these files.



Yes, we will prepare the new camera, but in any case I would 

Re: [Elphel-support] Help on possible faulty FPC cable [SEC=UNOFFICIAL]

2022-03-06 Thread XIONG, Norman
Hi, Andrey,

Our electrical technician has decided to use shorter FPC cables for the two 
sensors. And it will be one sensor per camera body. One with 100mm FPC and 
another with 70mm FPC. My question is when we replace the 450mm with 100mm 
cable, do we need to change the port configuration?

Thanks.

Regards,
Norman

From: Elphel Support 
Sent: 28 February 2022 12:01 PM
To: XIONG, Norman ; Elphel List 

Subject: Re: [Elphel-support] Help on possible faulty FPC cable [SEC=OFFICIAL]

CAUTION, EXTERNAL EMAIL: This message has come from a source outside of ANSTO. 
Do not take action, click links or open attachments unless you recognise and 
trust the source of this email and know the content is safe. Please report 
suspicious emails to serviced...@ansto.gov.au as an attachment.



After you remove the fan from the bottom of the camera (two M2.5 screws) you 
need to remove 8 (4+4) screws from the front and back panel. Then remove front 
one and push boards with the heat plate (boards are attached to it) pushing on 
the heat plate (you may make some simple tool to push on that plate). When 
pushing - be careful with the SSD not to hit the camera tripod mount part as it 
becomes loos when you remove the fan.

When you will be reassembling the camera - I put the back panel on the 
assembled boards first, and then slide them together into the camera body, 
making sure that a micro-USB connector does not hit the back panel (otherwise 
it can be easily peeled off the PCB).

And yes - camera does not see port 1. It is more likely the PCB, not the cable 
problem - I do not see how the cable can fail gradually:
from autocampars.log
...
00037.35 autocampars: All frames:
sensor_fram160x20x00x00x0
compressor_fram160x00x00x00x0
  i2c_frame160x20x00x00x0
sensor_aframe 0x0002 0x 0x 0x
compressor_aframe 0x 0x 0x 0x
compressor_gframe 0x 0x 0x 0x
00037.36 autocampars: Frames: 0, 0, 0, 0
00037.37 autocampars:  Wrong/missing sensor on port 1, code=0 (expected 52) 
. Driver reports errors until port is disabled at later stage 
00037.38 autocampars:  Wrong/missing sensor on port 2, code=0 (expected 52) 
. Driver reports errors until port is disabled at later stage 
00037.39 autocampars:  Wrong/missing sensor on port 3, code=0 (expected 52) 
. Driver reports errors until port is disabled at later stage 
00037.40 autocampars: port=0 GLOBALS[sensors][port][0]=mt9p006
00037.41 autocampars: port=1 GLOBALS[sensors][port][0]=none
00037.42 autocampars: port=2 GLOBALS[sensors][port][0]=none
00037.43 autocampars: port=3 GLOBALS[sensors][port][0]=none
...

Andrey


 On Sun, 27 Feb 2022 17:50:35 -0700 Elphel Support 
 wrote 

Norman,

If it is not too late - you need to take off fan first, then slide out the 
boards of the camera. Fan has a long connector reaching to the board through 
the hole.

Andrey



 On Sun, 27 Feb 2022 16:59:41 -0700 XIONG, Norman 
mailto:n...@ansto.gov.au>> wrote 

Hi, Andrey,

Thanks for the quick response.
Here are the two log files, with both ports connected with sensors. I'll try to 
open up the box to reconnect the cable shortly.

Regards,
Norman


From: Elphel Support 
mailto:support-list@support.elphel.com>>
Sent: 28 February 2022 10:19 AM
To: XIONG, Norman mailto:n...@ansto.gov.au>>
Subject: Re: [Elphel-support] Help on possible faulty FPC cable [SEC=OFFICIAL]

CAUTION, EXTERNAL EMAIL: This message has come from a source outside of ANSTO. 
Do not take action, click links or open attachments unless you recognise and 
trust the source of this email and know the content is safe. Please report 
suspicious emails to serviced...@ansto.gov.au as an attachment.



Hello Norman,

Can you get log files from the camera?

>From Linux system

ssh-copy-id root@192.168.0.9 # Or whatever IP is assigned to the camera

default password is pass

Then you can use scp to copy files to your local directory:

scp root@192.168.0.9:/var/log/messages
scp root@192.168.0.9:/var/log/autocampars.log

Abd then send these files.

Yes, we will prepare the new camera, but in any case I would like to try to 
troubleshoot the camera you have, if that will not work we will send you a 
replacement one. You may try to open the camera and get access to the camera 
side of the cable. Camera has 4 cable ports so you may try to either just 
reconnect the cable or try other port.

The gold-plated pins on the cable end should be towards the connector lock. 
When you try different port, the image can be corrupted (delays fro the long 
cable were set only for ports 0 and 1.

Andrey


 On Sun, 27 Feb 2022 15:57:50 -0700 XIONG, Norman 
mailto:n...@ansto.gov.au>> wrote 

Hi, Andrey,

I am not able to get port 1 back. When I connected both ports, I got