• 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 » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » Flash programming failure on lm3s5b91
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS

Forums

Flash programming failure on lm3s5b91

This question is not answered
Thomas Liennard
Posted by Thomas Liennard
on May 02 2012 09:05 AM
Prodigy30 points

Hi,I am trying to programm a lm3s5b91 with CCS 5.1.1 and I get the following error message:

CORTEX_M3_0: Flash Programmer: Timed out while writing to Flash memory
CORTEX_M3_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x14a0

I already managed to program that device before. Anyone had the same problem? Could it be caused by the 100 cycles limit on flash writes as described in errata 4.4 ? I used the device for development, and have flashed it around maybe 30 times.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • cb1_mobile
    Posted by cb1_mobile
    on May 02 2012 09:32 AM
    Guru23620 points

    Have you a 2nd board - with identical MCU?  Simple "A-B" programming comparison test should reveal if yours is system or specific MCU issue...

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Thomas Liennard
    Posted by Thomas Liennard
    on May 02 2012 17:04 PM
    Prodigy30 points

    I can still programm the chip on the EVK that I use as aJTAG adapter, but not the one on my robot, and I do not have a second board.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Stellaris Mitch
    Posted by Stellaris Mitch
    on May 04 2012 10:13 AM
    Intellectual2170 points

    Hi Thomas,

    Under the "Other Utilities" tab in the LMFlash Programmer there is an option to unlock the debug port. I would suggest you try that and re-attempt the flash programming. The programming count seems a bit low for the errata, but if the unlock does not help, then you should contact your local TI representative (FAE/sales) and RMA the board.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • cb1_mobile
    Posted by cb1_mobile
    on May 04 2012 10:46 AM
    Guru23620 points

    To implement "Unlock" - must not friend Thomas know the "class" of his LM3S5B91 MCU?  (somehow this delightful class distinction does not (even now) make it into MCU datasheets...)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Stellaris Mitch
    Posted by Stellaris Mitch
    on May 04 2012 12:06 PM
    Intellectual2170 points

    Ah, yes good catch CB1. 

    Thomas, you can find your class information by looking in the processor's datasheet within the DID0 register description, CLASS bitfield. In this case, you should find that to be Tempest.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • cb1_mobile
    Posted by cb1_mobile
    on May 04 2012 14:06 PM
    Guru23620 points

    Greetings Stellaris Mitch-

    Plz understand - this reporter/others - know that Stellaris Mitch doesn't make the rules/regulations.  Poster Thomas is unable to communicate with his MCU - thus his ability to access any MCU Register is tad impaired! 

    Have complained loud/long about "MCU Class determination" being "buried" - inconvenient & time/effort eating to find.  (there are other ARM vendors - long existing road-blocks cannot be good for sales.)  Stellaris team seems nearly "dead in water" to effectively deal with this issue - despite multiple client & poster protests.

    Seems that simple cursor "hover" over MCU's part no. should yield class info - quieting unwanted, time-wasting, vector-away efforts...

    (we strongly suspect that "class" was never wanted - forced upon you - but management of the issue remains ineffectual...)

    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