This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mt9p031 chipset not being detected by DM365DVDEVM on boot.



Hi, I hope this is the right forum to ask this question as it involves interfacing & hardware reference design.


I m facing a problem wherein the mt9p031.c kernel driver is unable detect the connected LI-5M02 camera sensor. During boot-up, I see a log showing that the chipset is not detected:

-----------
EVM: switch to HD imager video input
mt9p031 1-005d: No MT9P031 chip detected, register read ffffff87
vpfe-capture vpfe-capture: v4l2 sub device mt9p031 register fails
No sub devices registered
----------   http:/pastebin.com/64fTM7Df    ..... for complete dmesg output

I m using ti-dvsdk_dm365-evm_4_02_00_06. Bootargs are modified as per the instructions

setenv bootargs console=ttyS0,115200n8 rw mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_mode=1080I-30 root=/dev/nfs nfsroot=10.0.0.100:/home/rahul/evmrootfs ip=10.0.0.3:10.0.0.100:10.0.0.1:255.255.255.0::::off vpfe_capture.interface=1 vpfe_capture.bufsize=4147200.

Please help.

Thanks,
Vinod

  • Please check if "IMGS_I2C_ADDR" value present in sensor header (drv_imgs_MT9P031_5MP.h) is correct.

  • Reply ...

    I couldn't find any such file as drv_imgs_MT9P031_5MP.h ...

    user@alpha:~/ti-dvsdk_dm365-evm_4_02_00_06/psp$ find | grep -i mt9p031
    ./linux-2.6.32.17-psp03.01.01.39/drivers/media/video/mt9p031.o
    ./linux-2.6.32.17-psp03.01.01.39/drivers/media/video/mt9p031.c
    ./linux-2.6.32.17-psp03.01.01.39/drivers/media/video/.mt9p031.o.cmd
    ./linux-2.6.32.17-psp03.01.01.39/include/config/soc/camera/mt9p031.h


    user@alpha:~/ti-dvsdk_dm365-evm_4_02_00_06/psp$ ll ./linux-2.6.32.17-psp03.01.01.39/include/config/soc/camera/mt9p031.h
    -rw-r--r-- 1 user user 0 2012-05-07 00:32 ./linux-2.6.32.17-psp03.01.01.39/include/config/soc/camera/mt9p031.h

    Can you please tell me if this file is applicable to DM365 EVM as well and where is it usually placed?

    Thanks

  • It is present at "./av_capture/framework/drv/usermod/src/imgs_MT9P031_5MP/drv_imgs_MT9P031_5MP.h".

    I am not sure if it will help you or not. I am trying to give some pointers. It worked for me on IPNC,

    You can wait till others reply.

  • hi Vinod Sankar I have the same problem, can you tell me how do you solve