• 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 » DM3x DaVinci Video Processor Forum » About DM8127 program re-running.
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

About DM8127 program re-running.

About DM8127 program re-running.

This question is answered
gomo
Posted by gomo
on Mar 26 2012 03:32 AM
Genius3370 points

Hi all,

         In IPNC DM8127 project, when debug our modified program, now  the only way that we can do is power off and the power on again, we have no way to end the running program and run the new program.  It's very discommodious to debug.

        Anybody can give me good idea?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Raghu Kudva
    Posted by Raghu Kudva
    on Mar 30 2012 09:07 AM
    Expert6665 points

    you can run these commands

    killall -2 Appro_avi_save
    killall -2 wis-streamer
    sleep 2
    killall -9 wis-streamer
    killall -9 boa
    killall -2 ipnc_rdk_mcfw.out
    killall -9 system_server

    After this, you can start the way you like via script

    Regards,

    Raghu


    Please mark this reply as Verify Answer on this post if it answers the question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • gomo
    Posted by gomo
    on Apr 04 2012 22:16 PM
    Genius3370 points

    Thank Raghu Kudva.

    I run the commands:

    killall -2 Appro_avi_save
    killall -2 wis-streamer
    sleep 2
    killall -9 wis-streamer
    killall -9 boa
    killall -2 ipnc_rdk_mcfw.out
    killall -9 system_server

    But It can not kill ipnc_rdk_mcfw.out. Run ps command to see the process, The result as follows:

    Why can not kill ipnc_rdk_mcfw.out?

    Thanks a lot!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Raghu Kudva
    Posted by Raghu Kudva
    on Apr 11 2012 05:53 AM
    Expert6665 points

    Hi,

    when you run killall -2 ipnc_rdk_mcfw.out, there will signal sent to UI_signalHandler function in mcfw_ipnc_main.c

    You can prints there and further debug this issue?

    Regards,

    Raghu


    Please mark this reply as Verify Answer on this post if it answers the question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • gomo
    Posted by gomo
    on Apr 17 2012 23:37 PM
    Genius3370 points
    Thank Raghu Kudva:
    UI_signalHandler function code as follows:
       //gUI_mcfw_config.demoCfg.stopDemo = TRUE;
    //gUI_mcfw_config.demoCfg.unloadDemo = TRUE;
    //gUI_mcfw_config.demoCfg.delImgTune = TRUE;
    gUI_mcfw_config.demoCfg.exitDemo = TRUE;
    It never stops ipnc_rdk_mcfw.out.
    I modify the code as follows:
    gUI_mcfw_config.demoCfg.stopDemo = TRUE;
    gUI_mcfw_config.demoCfg.unloadDemo = TRUE;
    gUI_mcfw_config.demoCfg.delImgTune = TRUE;
    gUI_mcfw_config.demoCfg.exitDemo = TRUE;
    When run killall -2 ipnc_rdk_mcfw.out,It trys to stop ipnc_rdk_mcfw.out,
    but App_stopDemo()->Venc_stop()function can not return. 
    So ipnc_rdk_mcfw.out is still running.
    Why? 
    Thanks a lot!
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • gomo
    Posted by gomo
    on Apr 18 2012 21:22 PM
    Genius3370 points

    Anybody know why? or give us some advice?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Raghu Kudva
    Posted by Raghu Kudva
    on May 01 2012 05:27 AM
    Expert6665 points

    We dont see this?can you giveuse somr more inputs on where it stops on M3.

    Regards,

    Raghu


    Please mark this reply as Verify Answer on this post if it answers the question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • gomo
    Posted by gomo
    on May 13 2012 21:23 PM
    Verified Answer
    Verified by gomo
    Genius3370 points

    We update to latest version of IPNC 2.8,  It can re-running through killall the program.

    Thanks a lot.

    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