Login

Important information

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

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: Cannot enter Debug Mode - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cannot enter Debug Mode Rate Topic: -----

#1 User is offline   Ahmad 

  • Member
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 24-February 11

Posted 05 April 2011 - 12:55 PM

Hi

when downloading to the LM3s8933 microcontroler i get this message "Cannot enter Debug Mode"
is any one know whats the problem.

best regards.
0

#2 User is offline   Joseph Yiu 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 217
  • Joined: 01-March 10

Posted 05 April 2011 - 01:27 PM

You need to give more information:
Which toolchain? which debug hardware? Setup as JTAG or Serial wire? Have you try reducing the debug clock frequency? Is the flash programming working at all?
It can be caused by many different factors. E.g.
- debug pins blocked by I/O usage
- incorrect PLL settings
- issues with voltage level on debug pins
1

#3 User is offline   Ahmad 

  • Member
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 24-February 11

Posted 06 April 2011 - 09:40 AM

Hi
Im working with LM3S8933 microcontroler in my own bord i using the keil development tool with uv4 editor and ulink 2 debugger.
The bord working in 8MHz frequency.
I succeed to download the programm in the first time, but after the first time i get the error messages "Cannot enter Debug Mode" and "cannot access memory". thank's.
debug hardware setup is JTAG.


Thank's

View PostJoseph, on 05 April 2011 - 01:27 PM, said:

You need to give more information:
Which toolchain? which debug hardware? Setup as JTAG or Serial wire? Have you try reducing the debug clock frequency? Is the flash programming working at all?
It can be caused by many different factors. E.g.
- debug pins blocked by I/O usage
- incorrect PLL settings
- issues with voltage level on debug pins




0

#4 User is offline   Joseph Yiu 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 217
  • Joined: 01-March 10

Posted 06 April 2011 - 05:05 PM

It might be that your program contains incorrect I/O pin settings which block the JTAG debug connection, or incorrect PLL settings.

On the TI website there is a flash utility:
http://focus.ti.com/...programmer.html

I don't know if you can use this to erase the flash.

On TI website there is also a forum for Stellaris devices:
http://e2e.ti.com/su.../f/default.aspx

You could post your question there to see if there is other suggestions from TI staffs.

regards,
Joseph
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic