lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Pi cam v1.3 issue

Wed Feb 08, 2017 11:10 am

Hi All

One of our pi cameras doesn't seem to working correctly..

We use Rpi Camera control with the camera's( we use around 6 of them) and all is working with all of them accept one..

It was working fine but now the red light comes on for a few seconds then just goes off... Have shut dow the RPI camera control server and use the pi camera command line to try and take photos with it and all that happens it the red light comes on and then will not go out unless I reboot or unplug the camera..

Have tried the camera on different Pi's and with different cables but still same results..

Any ideas folks or is it simple a buggered camera!?

regards
Lohtse
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23366
Joined: Sat Jul 30, 2011 7:41 pm

Re: Pi cam v1.3 issue

Wed Feb 08, 2017 11:44 am

I believe you may have determined the issue - it's 'buggered'

Is it likely to have had a static shock?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7140
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Pi cam v1.3 issue

Wed Feb 08, 2017 12:43 pm

Check the small cable from the camera board to the camera module (generally has "Sunny" printed on it). It can partially pop off and result in I2C and/or CSI traffic failing to get to the module, but the LED will still come on as that just requires power up the flexi cable.
Deliberately disconnect it and then reconnect it. It should click slightly when it goes fully in.

If that doesn't work then James' answer is correct. "vcgencmd get_camera" is going to return "supported=1 detected=0".
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Re: Pi cam v1.3 issue

Wed Feb 08, 2017 2:57 pm

Thanks guys



yep it totally buggered lol led comes on then goes off and then will come on for a little longer and then goes off etc etc etc :D :D :D :D :lol: :lol:
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7140
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Pi cam v1.3 issue

Wed Feb 08, 2017 4:57 pm

Sounds a little odd.
"vcgencmd get_camera" will search for attached for available cameras and return what it found - I would have expected that will turn the LED on once for <1sec. The results are cached so that will never result in another flash.
Only if a camera is detected will a raspstill/vid command flash the LED as it actually tries to use the camera.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Re: Pi cam v1.3 issue

Wed Feb 08, 2017 6:42 pm

ran vcgencmd get_camera but nothing is shown connected... ran with a working camera and all was fine
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Re: Pi cam v1.3 issue

Tue Feb 14, 2017 3:27 pm

Right this is getting beyond a joke.....

2 x 1.3v and 2 x NOIR cameras have now shown the SAME issue on 3 DIFFERENT raspberry pi's(zero,3 and a b+) THREE of the cameras have been in 3D printed cases since they arrived and one is a BRAND NEW one... all had been working without issue.. and now ALL nolonger work!!!!!!!!! All have the same red LED coming on for a few seconds then go off for a few seconds then come on again for a few seconds and continue this routine till I turn off the pi!

running sudo vcgencmd get_camera

gives

supported=1 detected=1

yet they don't work! cameras simply fail to take photos... software I use and has worked perfectly is RPi Cam Web Interface and has worked perfectly and continues to as well..


if i run any command line such as "raspistill -t 2000 -o image.jpg -w 640 -h 480" all that happens is the led stays on till I reboot the pi... nothing else happens and thats on any Raspberry pi and any of the non functioning cameras.... yet the few cameras I still have working function fine with the SAME DEVICES AND CABLES!


what the HECK is going on folks!???
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7140
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Pi cam v1.3 issue

Tue Feb 14, 2017 3:47 pm

Code: Select all

vcgencmd version
uname -a
Are these genuine Pi cameras, or clones? NOIR V1.3 or V2.1?

Sorry, but you haven't given us much to go on at the moment.

The other thing to try is adding "start_debug=1" to /boot/config.txt, and then "sudo vcdbg log assert" after you've had issues to dump out any GPU side asserts that have fired (there are 2 that almost always fire on boot that are nothing to worry about).
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Re: Pi cam v1.3 issue

Tue Feb 14, 2017 4:09 pm

6by9 wrote:

Code: Select all

vcgencmd version
uname -a
Are these genuine Pi cameras, or clones? NOIR V1.3 or V2.1?

Sorry, but you haven't given us much to go on at the moment.

The other thing to try is adding "start_debug=1" to /boot/config.txt, and then "sudo vcdbg log assert" after you've had issues to dump out any GPU side asserts that have fired (there are 2 that almost always fire on boot that are nothing to worry about).

both are 1.3 versions(5meg) and I believe are Geniune bought from UK sellers. on ebay...as to the commands I will give them a go. but where do I add them or does it not matter?


the "vcgencmd version and uname -a" give as follows


[email protected]:~ $ vcgencmd version
Dec 9 2016 15:15:20
Copyright (c) 2012 Broadcom
version 2e557d8dac70add28597c3b449cb52c34588d818 (clean) (release)
[email protected]:~ $ uname -a
Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
[email protected]:~ $
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Re: Pi cam v1.3 issue

Tue Feb 14, 2017 4:17 pm

Added dump command to end of config text



this is what it gave me

"
001049.885: assert( source ) failed; ../../../../../middleware/confzilla/cp_fron t_fdt.c::cp_front_fdt_load_builtin line 115 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
001954.072: assert( card not initialised ) failed; ../../../../../filesystem/med ia/sdcard/sdcard.c::sdhost_close line 1045 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
016838.853: assert( camera_subsystem_state.power_enable_ref_count[port] > 0 ) fa iled; ../../../../../vcfw/drivers/device/camera_subsystem/camera_subsystem.c::ca mera_disable_ctrl line 1116 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
019429.642: assert( !clock_rate_actual || abs(clock_rate_actual - f) < 100 0000 ) failed; ../../../../../helpers/arm_loader/arm_loader.c::adjust_gpu_freqs_ pre line 3280 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
019730.217: assert( !clock_rate_actual || abs(clock_rate_actual - f) < 100 0000 ) failed; ../../../../../helpers/arm_loader/arm_loader.c::adjust_gpu_freqs_ pre line 3280 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
"

Fault camera is attacted to pi 3 with cable that is working with other cameras... have NOT tried other non function cameras as thought would be best to see whats wrong with this one....
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

lohtse
Posts: 50
Joined: Sun Jul 24, 2016 6:16 pm

Re: Pi cam v1.3 issue

Tue Feb 14, 2017 4:22 pm

working camera log


[email protected]:~ $ sudo vcdbg log assert
001049.591: assert( source ) failed; ../../../../../middleware/confzilla/cp_front_fdt.c::cp_front_fdt_load_builtin line 115 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
001953.810: assert( card not initialised ) failed; ../../../../../filesystem/media/sdcard/sdcard.c::sdhost_close line 1045 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
016585.557: assert( camera_subsystem_state.power_enable_ref_count[port] > 0 ) failed; ../../../../../vcfw/drivers/device/camera_subsystem/camera_subsystem.c::camera_disable_ctrl line 1116 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
019420.358: assert( !clock_rate_actual || abs(clock_rate_actual - f) < 1000000 ) failed; ../../../../../helpers/arm_loader/arm_loader.c::adjust_gpu_freqs_pre line 3280 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
020520.989: assert( !clock_rate_actual || abs(clock_rate_actual - f) < 1000000 ) failed; ../../../../../helpers/arm_loader/arm_loader.c::adjust_gpu_freqs_pre line 3280 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
022408.075: assert( limit_turbo == last_limit_turbo && arm_freq_cap == last_arm_freq_cap ) failed; ../../../../../helpers/arm_loader/arm_loader.c::tempcheck_task line 3182 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
025538.218: assert( limit_turbo == last_limit_turbo && arm_freq_cap == last_arm_freq_cap ) failed; ../../../../../helpers/arm_loader/arm_loader.c::tempcheck_task line 3182 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
026043.843: assert( limit_turbo == last_limit_turbo && arm_freq_cap == last_arm_freq_cap ) failed; ../../../../../helpers/arm_loader/arm_loader.c::tempcheck_task line 3182 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
029380.999: assert( limit_turbo == last_limit_turbo && arm_freq_cap == last_arm_freq_cap ) failed; ../../../../../helpers/arm_loader/arm_loader.c::tempcheck_task line 3182 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
030691.814: assert( limit_turbo == last_limit_turbo && arm_freq_cap == last_arm_freq_cap ) failed; ../../../../../helpers/arm_loader/arm_loader.c::tempcheck_task line 3182 rev 2e557d8
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
3x Pi-3 1 x Pi-2 1 x Pi-B+ 1 x Pi-B 2 xPi-Zero 1 x Pi Zero W and a massive ever growing box/room of bits and bobs for them!

Return to “Camera board”