1MGN-U locking up

Moderators: odroid, mdrjr

1MGN-U locking up

Unread postby pilesofspam » Wed Feb 22, 2017 1:32 am

I've got some C code that opens up the camera, fills a buffer and then looks for the brightest pixels in the buffer. Then it does this forever.

Pretty simple. I have two specific problems:

1. Upon startup, the first time when operating in blocking mode, the program waits forever, and the buffer never de-queues. i have to break out of the program and restart it.
2. After a few hours, the camera locks up at the same place. Buffer never de-queues. It'll wait there forever. Changing to non-blocking mode, and the problem remains. Although I no longer lock up, at some point I won't see data. Has anyone else seen behavior like this? I've verified it on two different cameras, and they are updated to the latest firmware.

I'm doing most of my testing at 1280x720, 60Hz, but it doesn't seem to matter what resolution I use.
pilesofspam
 
Posts: 6
Joined: Tue Dec 13, 2016 1:17 am
languages_spoken: english
ODROIDs: XU4, Ocam-1MGN-U

Re: 1MGN-U locking up

Unread postby pilesofspam » Thu Feb 23, 2017 1:19 am

More details:

1. I'm running the ocam-viewer-linux application on the Odroid XU4
2. The period of time seems to vary between lockups, but it usually happens within 1/2 hour at 1280x720.
3. It locks up on multiple cameras, and multiple Odroid XU4s.

Has anyone seen this?
pilesofspam
 
Posts: 6
Joined: Tue Dec 13, 2016 1:17 am
languages_spoken: english
ODROIDs: XU4, Ocam-1MGN-U

Re: 1MGN-U locking up

Unread postby pilesofspam » Thu Mar 02, 2017 2:07 am

More testing. While all of the resolutions have a little trouble starting up (not a big deal) only 1280x720 locks up after being active for a while.
pilesofspam
 
Posts: 6
Joined: Tue Dec 13, 2016 1:17 am
languages_spoken: english
ODROIDs: XU4, Ocam-1MGN-U

Re: 1MGN-U locking up

Unread postby WITHROBOT » Tue Mar 07, 2017 1:02 pm

If you can share the code, we might test it for investigation.
WITHROBOT
 
Posts: 67
Joined: Mon Mar 14, 2016 1:54 pm
languages_spoken: english
ODROIDs: Odroid-C2

Re: 1MGN-U locking up

Unread postby pilesofspam » Tue Mar 14, 2017 9:48 pm

Thanks for your reply! Sorry I'm so late getting back, as I was traveling for a bit.

You already have the code! I duplicated the behavior with ocam-viewer-linux. It consistently locks up in under an hour at 1280x720. The other resolutions seem stable.
pilesofspam
 
Posts: 6
Joined: Tue Dec 13, 2016 1:17 am
languages_spoken: english
ODROIDs: XU4, Ocam-1MGN-U

Re: 1MGN-U locking up

Unread postby WITHROBOT » Tue Mar 28, 2017 2:56 pm

We are revising the viewer. We hope we can release the updated version soon.
WITHROBOT
 
Posts: 67
Joined: Mon Mar 14, 2016 1:54 pm
languages_spoken: english
ODROIDs: Odroid-C2


Return to oCAM USB 3.0 Camera

Who is online

Users browsing this forum: No registered users and 1 guest