Keil Logo


Information in this knowledgebase article applies to:

  • MDK-ARM Version 4.00 and later


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?


In your µVision 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.



  • Refer to Debug in the ULINK2 User's Guide.

Last Reviewed: Friday, June 22, 2012

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.