Forums

Unable to initialize MT9P031

This question is not answered

 

I just started a new Leopard Board with the VGA camera board.

After a series of "DaVinci I2C WARNING: i2c:..." messages it logs

I2C write failed<3>

Unable to initialize MT9P031...<6> ipipe major#: 254, minor# 0 

Does this mean the camera is not initilalized and nt working? How do I deal with this probelm?

In comparision, when I change to a 5M camera board I do not get the I2C error messages from DaVinci and get:


v4l2 capture driver V1.0 loaded
ipipe major#: 254, minor# 0

All Replies
  • 2.6.10 montavista kernel works with 5M camera.

     

    2.6.29 davinci git works with VGA camera. this kernel does not have driver for 5M.

  • Harish, thanks for your reply. We bought the VGA camera board combined with the Leopard Board, and it came with the Linux version 2.6.10_mvl401_IPNC-1.1.0 flased. So based on the information you just shared, this board should have been sold with 2.6.29 flashed.

    Thanks! You saved me a lot of running around.

  • Ok! I just realised that Micron/Aptina MT9P031 is the 5-Mp Image Sensor; so the vesrion flashed on the board is for the 5M sensor (as Harish pointed out).

    www.aptina.com/.../downloadDocument.do

    If I git the 2.6.29 will it have support for BOTH of the Micron/Aptina the 5M and the VGA sensors?

  • No.  The ridgerun sdk (with 2.6.29) only supports VGA.  Not 5MP camera.  

    I also forgot to mention that the software that comes shipped on the leopard that supports the 5MP camera is closed source.  So even if you wanted to forward port it to a newer kernel, you wouldn't be able to.

  • I had a go at porting the driver.. it was tricky because of v4l2 changes.

    What part is closed source?

  • Ah, you are right.  Just the netcam demo is proprietary.

    designsomething.org/.../39.aspx

  • guys, any of you has a 720p sample recorded with this 5MP camera?

    success using the driver with 2.6.29 (or newer?) ? or some parts are still closed source and required ?

    seems terribly hard to get replies to these questions. Chinese guys are probably away until the chinese new year, people who say they bought this hardware "never tried to record with it" (surprise me greatly!).. i'm not going to buy before having such simple questions answered.. like.. buying a camera you don'tk now the quality of, and you don't even know if its going to work would be dumb (and don't point me to the VGA recording, obviously, with a 720p board and 5MP camera i want a 5MP 720p output..)

     

    thanks!