• 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 » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » IAR stack outside of range
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

IAR stack outside of range

This question is answered
Martin Zeman
Posted by Martin Zeman
on Mar 12 2012 07:17 AM
Prodigy135 points

Hi,

I've tried compiling the demo project on IAR for the TMS570LS3137 using the HDK kit. For programming I used the XDS100v2 JTAG.

The whole thing acts a bit weird, sice sometimes it works and sometimes it hangs on the abort handler with no apparent reason.

Then I get the following messages:

"The stack pointer for stack 'FIQ_STACK' (currently 0x8000200) is outside of range (0x8000400 to 0x8000500) "

"The stack pointer for stack 'CSTACK' (currently 0x8000500) is outside of range (0x8000000 to 0x8000200) "

... and so on...

The code is the same, nothing's changed.

Any idea what might be causing this?

Thanks

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Haixiao Weng
    Posted by Haixiao Weng
    on Mar 12 2012 09:05 AM
    Genius9535 points

    The demo project is for CCS only. We have NOT tested for IAR.

    You can try to increase the stack size to see if the problem is solved.

    Regards,

    Haixiao

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin Zeman
    Posted by Martin Zeman
    on Mar 12 2012 13:21 PM
    Prodigy135 points

    Well, I meant the demo project that is included in IAR for TMS570LS3137, so I suppose it's tailored for it. The assembly files are correct

    and so are the definitions of register structures (which are different from CCS definitions). I wouldn't mind using CCS

    but the problem is it doesn't have .h files for flexray controller (halcogen can't generate it).

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haixiao Weng
    Posted by Haixiao Weng
    on Apr 05 2012 16:50 PM
    Suggested Answer
    Genius9535 points

    Here is an example of flexray in ccs include the .h files.

    http://processors.wiki.ti.com/index.php/TMS570_MDK_Kit

    Example Programs

    A website containing MDK example programs for the KEIL IDE can be found here: Example Programs

    The MDK Confidence Test & Demo Application source code for CCSv4.x may be downloaded here: Confidence Test & Demo Source Code (CCSv4.x)

    The flexray demo source code for CCSv4.x may be downloaded here:Media:FlexRay_Communication_CCSv4.zip

    I don't an IAR licence and can not repeat what you said.

    Regards,

    Haixiao

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin Zeman
    Posted by Martin Zeman
    on Apr 10 2012 10:59 AM
    Prodigy135 points

    I've reviewed the FlexRay example code and it seems to me that there are plenty of errors. Has anyone tried to run an actual network with this code?

    FlexRay example code
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • A Arora
    Posted by A Arora
    on Apr 11 2012 17:07 PM
    Intellectual2785 points

    Martin,

    The FlexRay example code is very basic and is not meant to be used in a real world application, though the communication does work. As HALCoGen currently does not support the FlexRay module, it is mainly meant to fill that gap and provide a .h file and can be used as a starting point.

    Regards,

    Abhishek

    If a post answers your question, please mark it with the "verify answer" button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chuck Davenport
    Posted by Chuck Davenport
    on May 03 2012 14:38 PM
    Verified Answer
    Verified by Martin Zeman
    Expert6315 points

    Given the time since the last post to this thread, it is assumed that the suggested answer resolved the problem. This thread will be closed at this time. If there continues to be an issue or further questions, please open a new thread.

    Thanks and Regards,

    Chuck Davenport


    If this response answers your question, please indicate it by verifying the suggested answer when provided.

    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