This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot enter Debug Mode

Note: This was originally posted on 5th April 2011 at http://forums.arm.com

Hi

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

best regards.
  • Note: This was originally posted on 6th April 2011 at http://forums.arm.com

    [color=#333333][font=Verdana][size=2]Hi[/size][/font][/color]
    [color=#333333][font=Verdana][size=2]Im working with LM3S8933 microcontroler in my own bord i using the keil development tool with uv4 editor and ulink 2 debugger.[/size][/font][/color]
    [color=#333333][font=Verdana][size=2]The bord working in 8MHz frequency.[/size][/font][/color]
    [color=#333333][font=Verdana][size=2]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.[/size][/font][/color]
    [size=2]debug hardware setup is JTAG.[/size]
    [size=2]
    [/size]
    Thank's

    [color=#333333][font=Verdana][size=2][/size][/font][/color]

    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



  • Note: This was originally posted on 5th April 2011 at http://forums.arm.com

    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
  • Note: This was originally posted on 6th April 2011 at http://forums.arm.com

    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/docs/toolsw/folders/print/lmflashprogrammer.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/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/default.aspx

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

    regards,
    Joseph