Skip to content

Frequently Asked Questions

Beat Küng edited this page Jul 20, 2012 · 1 revision

Table of Contents

Why is there a delay needed between OscCamReadPicture and OscGpioTriggerImage?

The CMOS sensor requires a small delay (vertical blank time) before being ready again to capture a new image. The solution is to insert a short sleep (or a busy loop/calculations) of 1-2 milliseconds between OscCamReadPicture() and OscGpioTriggerImage().

You can do this with:

 usleep(2000);

Is there any data about the maximum frame rate for smaller ROI (region of interest) ?

We measured the same imaging sensor in a different camera (not the leanXcam) and made the following measurements:

   50 Frames/s @ 752 x 480 Pixels
   63 Frames/s @  16 x 480 Pixels
  490 Frames/s @ 752 x   4 Pixels
  622 Frames/s @  16 x   4 Pixels

We did not try it yet with the leanXcam but you should basically get at least the same numbers.

Are the schematics and hardware layout of the LeanXcam available as source (other than pdf) ?

Yes, they are available under a Creative Commons (CC-BY-SA) license. However, we would like to know the places where they go so please contact leanXcam@scs.ch.

The compiler complains that it is not possible to link non-fdpic object with fdpic executable when linking

This problem happens, when bfin-linux-uclibc-xxx is used instead of bfin-uclinux-xxx. The toolchain release notes have the following statement about this:

 bfin-uclinux is used for FLAT binary format. bfin-linux-uclibc is used for ELF FD-PIC binary format.

And consequently the linker refuses to link a library that has been compiled for a different binary format. Replace the cross-compiler prefix and it should work.

Why does the camera automatically reboot after about 10 minutes ?

If the Ethernet cable of the camera is not plugged in while it is started, it will enter fallback mode and reboot automatically after 10 minutes. Users Guide Using-uClinux#wiki-Boot_procedure_of_uClinux describes this process and how to prevent this from happening if you would like leanXcam to use without Ethernet.

How can I use the binning capabilities of the camera sensor ?

The mt9v032 sensor supports 2- and 4-fold binning. But binning is currently not supported in the video driver used on the leanXcam, and consequently there are no API functions in the Oscar framework.

I don't want to use a virtual machine. How do I install the development tools natively under my linux machine ?

If you want to attempt it, the most important part is the cross-compiler toolchain, and setting the corresponding environment variables so the OS can find the compiler executables. Check out the Blackfin uCLinux community page here for some general hints on how to set up your development machine as well as a list of packages to install and compare it to the configuration in the provided VirtualBox SDK. However we do not support such a setup and recommend to use the provided VirtualBox SDK.

Clone this wiki locally