ARM Technical Support Knowledge Articles

CANNOT ACCESS MEMORY ON TI LM3S9B96 DEVICE

Applies to: ULINK USB-JTAG Debugger

Answer


Information in this knowledgebase article applies to:


PROBLEM

I have a TI DK-LM3S9B96 RevB1 development board which has downloaded properly in the past, but now when I try to start the debugger or download to Flash using ULINK2 or ULINKPro, I get the following message:

Cannot Access Memory

I have tried the Unlock option in TI's LMFlash Programmer (Build 1218) using the ICDI (Eval board) interface, but it fails to initialize the target. I then tried the sequence suggested in the Stellaris® LM3S9B96 RevB1 Errata, (Section 1.2 The Recover Locked Device sequence does not work as expected), but it also fails to initialize the target.

Is there a way to recover my board?

SOLUTION

In your uVision project:

  1. Go to Options for Target, Debug tab.
  2. Make sure that your ULINK driver is selected and click the Settings button.
  3. Under Connect and Reset Options set the Connect: option to with Pre-reset.
  4. Set the Reset: option to VECTRESET
  5. Check the Reset after Connect checkbox.
  6. Click OK to save your changes.

Your board should enter debug mode or download normally now. If it does not, perform the Unlock procedure in TI's LM Flash Programmer again. You may have to run Unlock more than once. Then try the download again using ULINK2 or ULINKpro.

MORE INFORMATION

SEE ALSO

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2012-06-22 11:49:44

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential