• 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 » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » MSP430: Trouble Reading Memory Block at 0xca5a4 on Page 0 of Length 0x61: Invalid parameter(s)
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    MSP430: Trouble Reading Memory Block at 0xca5a4 on Page 0 of Length 0x61: Invalid parameter(s)

    This question is answered
    Mohammad Nasser
    Posted by Mohammad Nasser
    on Apr 04 2012 13:26 PM
    Intellectual280 points

    Hallo Everyone,

    i wrote a small application for the msp430f5438A using the rtos (freertos). the application is designed to receive bytes through the an interrupt.

    but i have the following problem:

    after receiving two or three bytes, i got this error:

    MSP430: Trouble Reading Memory Block at 0xca5a4 on Page 0 of Length 0x61: Invalid parameter(s).

    what could be the reason? did anybody have an idea?

    Mohammad

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Mohammad Nasser
      Posted by Mohammad Nasser
      on Apr 10 2012 11:49 AM
      Intellectual280 points

      hey,

      did anyone have an idea about this topic?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Apr 11 2012 09:36 AM
      Verified Answer
      Verified by Mohammad Nasser
      Guru140650 points

      Mohammad Nasser
      Trouble Reading Memory Block at 0xca5a4 on Page 0 of Length 0x61: Invalid parameter(s).

      Well, I know of no MSP that has anything on address 0xca5a4 The top most address is ~ 0x28000.

      Trying to access an address where there is nothing, surely creates an error.

      So the question is: why is this address ever accessed?

      Possible reasons: stack overflow. Your stack (where the return addresses for funciton calls, but also local variables are stored) expands into an area where there is data,. This can easily happen for managed threads in a multitasking OS, since the OS allocates a certain amount of ram in the middle of free ram for each task.
      If this area is used up, the stack expands into the memory below where there is data, or an other threads stack. And is corrupted when someone else writes to these areas.
      As a result, a function will not return to where it was called from, but to whereever the clobbered stack content points to.

      Since each thread has its own stack, managed by the RTOS, the debugger is unable to detect a stack overflow and warn you.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mohammad Nasser
      Posted by Mohammad Nasser
      on Apr 15 2012 12:39 PM
      Intellectual280 points

      Hallo Jens,

      thanks a lot for your answer. i am now trying to check it out, to know if this is the real reason.

      but i think too, that it is true. becaus iam using rtos, and when i debugg the application and this error happend, some times the rtos detect the stackoverflow while another times this wraning (Trouble Reading Memory Block ) arise.

      i am now trying to find a solution for this stackoverflow. and when i find it, i will post here. if you have some tips. it will be nice too :)

      thanks again a lot.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • old_cow_yellow
      Posted by old_cow_yellow
      on Apr 15 2012 18:14 PM
      Guru25815 points

      I know of no MSP430 that sends out error messages. It must be something or someone else that talks to you.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mohammad Nasser
      Posted by Mohammad Nasser
      on Apr 16 2012 02:15 AM
      Intellectual280 points

      old_cow_yellow

      i dont understand, what do you really mean. 

      the problem did actually occur, as i wrote.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Apr 16 2012 11:52 AM
      Guru140650 points

      Mohammad Nasser
      i dont understand, what do you really mean. 

      I guess he's joking.
      Sure, the error message doesn't come from the MSP. THe MSP doesn't give any error messages (unless it is your porgram that sends them).
      However, the reported error is about a problem with the MSP, probably signalled by the FET, forwarded to the debugger by the MSP430Lib and then put into words by the debugger.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • old_cow_yellow
      Posted by old_cow_yellow
      on Apr 16 2012 12:46 PM
      Guru25815 points

      I was only half joking.

      You saw that error message on the screen of a PC. And that PC was running some sort of “Tool”. Correct?

      The “something” I spoke about was the PC running that “Tool”. The “someone” I joked about was the supplier of that “Tool”.

      The other half of the joke is that "Tool".

      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