• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM814x and AM387x Processors Forum » tvp7002 doesn't response with EZSDK 5.04.00.11
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

tvp7002 doesn't response with EZSDK 5.04.00.11

tvp7002 doesn't response with EZSDK 5.04.00.11

This question is answered
Alexander Vasiljev
Posted by Alexander Vasiljev
on May 05 2012 06:18 AM
Intellectual980 points

Hi.

On mistral 8148 evaluation module a tvp7002 successfully worked with PSP-04.01.00.07.

But with EZSDK 5.04.00.11 the tvp7002 doesn't response on i2c.

tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
tvp7002 3-005d: TVP7002 read error -110
tvp7002: probe of 3-005d failed with error -110

I have tried different arguments while modprobing vpss, but with no success.

Can anyone give some suggestions how to connect to tvp7002 with new EZSDK.


Best regards,

Alexander Vasiljev

Lomo Photonics Ltd.

TVP7002 8148 EZSDK 5.04.00.11 i2c mistral evm
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • RV
    Posted by RV
    on May 05 2012 10:14 AM
    Expert1980 points

    This usually happens if you are mixing the firmware when you use V4L interface.

    If you are using V4L api to interface with tvp7002, please follow these instructions (from http://processors.wiki.ti.com/index.php/DM814x_EZ_5.04.00_Software_Developers_Guide) :

    How to change from OMX to V4L2 firmware for capture/display

    The OMX Capture/Display software is orthogonal to the V4L2 drivers. Hence a different set of firmware is provided if you wish to use V4L2 instead of OMX VFDC, VFPC and VFCC components. To support V4L2 and a different initscript is provided. Copy over the V4L2 specific initscript to the /etc/init.d directory.

    target # cd /usr/share/ti/ti-media-controller-utils 
    target # cp load-hd-v4l2-firmware.sh /etc/init.d/load-hd-firmware.sh 
    target # sync 

    Now power cycle the board and it will be setup to load the alternate firmware which supports V4L2.


    RV

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alexander Vasiljev
    Posted by Alexander Vasiljev
    on May 05 2012 11:22 AM
    Intellectual980 points

    HI, RV.

    Thanks for reply.

    I use load-hd-v4l2-firmware.sh, but it doesn't help. Without this script the tvp7002 driver isn't even loaded.

    Best regards,

    Alexander.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on May 08 2012 02:55 AM
    Mastermind20155 points

    Hi,

    Can you please attache both .sh files. I will have a look at it.

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alexander Vasiljev
    Posted by Alexander Vasiljev
    on May 08 2012 05:49 AM
    Intellectual980 points

    Hi,

    These .sh files are from ezsdk 5.04.00.11 filesystem.

    2376.load-hd-firmware.txt

    3288.load-hd-v4l2-firmware.txt

    (they are really .sh, but this forum doesn't allow this file type).

    Best regards,

    Alexander Vasiljev.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Charles Krebs
    Posted by Charles Krebs
    on May 08 2012 19:10 PM
    Verified Answer
    Verified by Alexander Vasiljev
    Prodigy90 points

    The TI guys changed the interface on the firmware loader in this release but failed to update the shell script.  What happens is the M3 firmware ends up taking over the I2C bus and your Kernel can't setup the 7002.

    Add "-i2c 0" to the following lines:

    firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 start -i2c 0
    echo "Loading HDVPSS (V4L2) Firmware "
    firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss_v4l2.xem3 start -i2c 0

    It would be great if the documentation were up to date, consistent, or if we had an idea that this stuff is tested in any capacity before it's shipped...

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alexander Vasiljev
    Posted by Alexander Vasiljev
    on May 10 2012 03:16 AM
    Intellectual980 points

    Hi, Charles.

    Thank you very mauch.

    Now it works. But i also reset i2c_mode in modprobe of vpss.

    modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:1080p-60 i2c_mode=0

    Best regards,

    Alexander Vasiljev.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Silvia Bossolini
    Posted by Silvia Bossolini
    on Nov 08 2012 02:46 AM
    Prodigy30 points

    Hi,

    I have the same problem loading tvp7002:

    FIRMWARE: 2 start Successful                                                    
    VPSS_DCTRL: venc name(hdcomp) not existing.                                     
    omap_i2c omap_i2c.3: controller timed out                                       
    I2C: Transfer failed at vps_ti814x_select_video_decoder 188 with error code: -11
    0                                                                               
    Configuring fb0 to LCD                                                          
    tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)                         
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    tvp7002 3-005d: TVP7002 read error -110                                         
    tvp7002: probe of 3-005d failed with error -110                                 
    ti81xxvin ti81xxvin: Error registering v4l2 subdevice

    but, in my load-hd-firmware.sh there is the bugfix "-i2c 0" and "i2c_mode=0".

    I attach my bootLog with bootargs and the load-hd-firmware.sh.

    4338.3_TI8148_EVM_bootLog.txt

    Thanks for any help.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use