• 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 » Embedded Software » BIOS » BIOS forum » BIOS running slow
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

BIOS running slow

BIOS running slow

This question is answered
William Kozlowski
Posted by William Kozlowski
on Dec 26 2012 13:33 PM
Prodigy160 points

I am using SYS/BIOS version 6.34.2.18 on a AM3352 processor and I'm having an issue of the OS operating very slow.  I start my program up which has multiple taska and it will operate correctly.  I then pause the execution on the debugger and save some memory to disk and then restart the program.  When I restart the program it seems to be spending nearly all of its time in the operating system.  I have inserted a dummy idle task and I'm just executing a for loop incrementing a counter.  I can start and stop the program and the counter barely moves even though nothing else in the program is running.  I have another task which is triggered every 2 ticks (2ms) and it rarely executes.

Does anybody have any ideas about what may be happening?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ashish Kapania
    Posted by Ashish Kapania
    on Dec 26 2012 19:41 PM
    Expert3635 points

    Hi William,

    Are you creating a timer/clock instance in your application ? If yes what period are you setting for the timer ?

    If a timer is created with a very small period then the system gets frequently interrupted and if the period is too small then all tasks will be starved of CPU time.

    Best,

    Ashish

    ---------------------------------------------------------------------------------------------------------

    Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • William Kozlowski
    Posted by William Kozlowski
    on Dec 27 2012 10:13 AM
    Prodigy160 points

    Ashish,

    In the app.cfg for the sys/bios I have setup a tickPeriod of 1000uS.  This is the only timer I have running.

    The program runs fine until the debugger is used to pause execution.  When the program starts back up it's almost as if something has been corrupted such that the operating system constantly thinks it needs to determine which task needs to be running.  As if the timer period for the tick was made real small.

    Regards,

    Bill

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ashish Kapania
    Posted by Ashish Kapania
    on Dec 27 2012 13:23 PM
    Verified Answer
    Verified by David Friedland
    Expert3635 points

    Halting/Pausing execution using the debugger should not cause any corruption. Looking back at your original post I have a question.

    William Kozlowski

    I then pause the execution on the debugger and save some memory to disk and then restart the program.

    After halting the cores, when you need to continue execution, do you hit the run button or restart button followed by run button ?

    William Kozlowski

    the operating system constantly thinks it needs to determine which task needs to be running

    Do you see the task scheduler being frequently called ? Also, can you look at the detailed Task view in ROV and maybe share a screenshot ?

    Best,

    Ashish

    ---------------------------------------------------------------------------------------------------------

    Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

    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