• 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 » DM64x DaVinci Video Processor Forum » Bin and Out differences
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Bin and Out differences

Bin and Out differences

This question is not answered
Sonali Phatak
Posted by Sonali Phatak
on Apr 03 2012 04:22 AM
Intellectual400 points

Hello All,

I am working with Dm6435 target. My Out file works as per expectation. the bin file converted from same out file is not working properly. Its getting booted properly but input capture buffer is blank.  any light on this? any one faced similar issue? 

Do need any changes in code before converting it to BIN? 

boot DM643x
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • MattLipsey
    Posted by MattLipsey
    on Apr 03 2012 09:43 AM
    Genius3575 points

    The most common problem I have seen in this case is forgetting to include code that was automatically executed in your gel file when running the 'out' file through code composer.  Step through your gel file and make sure you all the configuration is duplicated in your code.  Sometimes you have to connect to the target without a gel file while it is running and examine the registers to make sure you have duplicated all the gel setup properly.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sonali Phatak
    Posted by Sonali Phatak
    on Apr 04 2012 04:01 AM
    Intellectual400 points

    Hey Matt,

    thanks a lot, I tried removing gel file in Out mode , I could reproduce issue of Bin mode.  I observed that it has startup() and on TagetConnect() calls in GEL file. I need to impelement  startup(), in which they are setting up memory map with few gel file APIs. Can you please guide me by providing any link, doc, example which explains how to implement gel file functionality in C code or similar if possible.

    Best Regards

    -swapnali

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MattLipsey
    Posted by MattLipsey
    on Apr 04 2012 12:33 PM
    Genius3575 points

    spraa74 is an old document talking about GEL file use

    spraag0 talks about the bootloader for the dm643x family, you may already be using the AIS script in your generated bin file

    In general, the memory map portion of the gel file does nothing more than tell the debug environment what sections of the full device memory range exist, so that it doesn't try to access memory that isn't there.  If you are using AIS boot, then your pll, pinmux, external memory, and DDR2 are probably being set up by the AIS script.  If you are not using AIS boot (you should be for a production device, its much faster), you will have to perform those settings in code. You should confirm the settings match what you expect.  Beyond that, you will have to parse your gel file for other random bits like video port settings.  Most of the gel file is just duplicating register write functionality.

    If you have the dvsdk, spectrum digital included c-versions of the gel file initialization in that software, including handy include files that define all the device register locations.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sonali Phatak
    Posted by Sonali Phatak
    on Apr 05 2012 01:59 AM
    Intellectual400 points

    Thanks Matt, that was really helpful.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sonali Phatak
    Posted by Sonali Phatak
    on Apr 06 2012 05:37 AM
    Intellectual400 points

    We observed that we are getting -10 as return value on "FVID_Exchange()".   from IOM.h we understood that

     #define  IOM_EBADARGS      -10     /* Illegal arguments specified */   , same code works ok for Out mode. what does this mean? when it returns -10?

     Can anyone guide on this? 

    Best Regards

    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