<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Debug Problem: Stepping not available in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583557#M25906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrhobbles on Mon Nov 14 21:55:25 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;Working with my ASUS EeePC and XP since years without&amp;nbsp; problems. Not very fast with LPCXpresso V4.1.0, but always very reliable&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Are we talking about original LPCXpresso1769 boards?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is the LPCXpresso 1769 Rev. B.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Are you sure that your USB is still working?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes. I'm&amp;nbsp; able to mount a flash drive for R/W operations.&amp;nbsp; Going through the LPC&amp;nbsp; Link diagnostic I am able to confirm the presence of an emulator, and&amp;nbsp; read the info for the LPC1769 target.&amp;nbsp; The 'lsusb' command list a device&amp;nbsp; with the name 'NXP Semiconductors.'&amp;nbsp;&amp;nbsp;&amp;nbsp; I get the same output on a PC&amp;nbsp; that has debugging working.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did you try to use a Hub with external power supply&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure.&amp;nbsp; Do you mean an external USB hub?&amp;nbsp;&amp;nbsp; If so, then no I did not use one.&amp;nbsp; Just my laptop ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did you switch vector catch on?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes.&amp;nbsp; I tried starting debug.&amp;nbsp; Same results, no stepping&amp;nbsp; available.&amp;nbsp; Then switched back too non-vector catch.&amp;nbsp; I've tried this a&amp;nbsp; few times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did you scope Power, Reset and SWD signals?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Power, yes.&amp;nbsp; What do I look for on the Reset and SWD signals?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;This&amp;nbsp; is because the debugger has set the breakpoint on main, and started&amp;nbsp; your code, but it hasn't reached that breakpoint. So a likely cause of&amp;nbsp; this is that your application is crashing before it reaches main. &lt;BR /&gt;&lt;BR /&gt;You can try hitting 'Suspend' and look to see where it is running (I would guess it is in one of the exception/fault handlers)&lt;BR /&gt;&lt;BR /&gt;See&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/InitialBP&lt;/A&gt;&lt;BR /&gt;and set the breakpoint on your ResetISR function, and then debug from that point to see where it is going wrong.&lt;BR /&gt;&lt;BR /&gt;You might also take a look at:&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugHardFault&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had hard faults before from not powering peripherals.&amp;nbsp; I&amp;nbsp; figured the program simply isn't making it to the first breakpoint but&amp;nbsp; using the suspend option doesn't take me to any source code or exception&amp;nbsp; handler.&amp;nbsp; When I use suspend I get a new window popup, 'No source&amp;nbsp; available for ""'&amp;nbsp; When I try and view the disassembly I keep looping&amp;nbsp; over the same few instructions, I think.&amp;nbsp; I still can't step due too&amp;nbsp; "Can't find the bounds of the current function."&amp;nbsp; I have to 'Resume',&amp;nbsp; then 'Suspend' to see any changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know ARM assembly off&amp;nbsp; the top of my head but here is a few of the instructions that are seem&amp;nbsp; to be repeating indefinitely.&amp;nbsp; A quick lookup says a load register&amp;nbsp; command, a left shift, and a branch to the first command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
1fff0ba2:&amp;nbsp;&amp;nbsp;&amp;nbsp; ldr r0, [r4, #20]
1fff0ba4:&amp;nbsp;&amp;nbsp;&amp;nbsp; lsls r0, r0, #28
1fff0ba6:&amp;nbsp;&amp;nbsp;&amp;nbsp; bmi.n 0xfff0ba2
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I let this run for several minutes and the debugger still stops at these instructions after I 'Suspend' the program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay.&amp;nbsp;&amp;nbsp; A new development as come up.&amp;nbsp; Now it seems to be one particular&amp;nbsp; LPC1769 that is not allowing any debugging.&amp;nbsp; I haven't been able to&amp;nbsp; contact my partner over the weekend to try it on his laptop, but&amp;nbsp; switching between the boards on my desktop has one board working and one&amp;nbsp; not.&amp;nbsp; On the working board I can set a breakpoint in the ResetISR and&amp;nbsp; debug normally and get back to the default breakpoint in main.&amp;nbsp; On the&amp;nbsp; 'suspect' board I can't get into even the ResetISR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also it seems on the LPC-Link side on the 'suspect' board, LED1 is constantly on after initializing the LPC-Link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So&amp;nbsp; the problem has progressed from two LPCXpresso 1769 boards not working&amp;nbsp; on my eee pc, but working on any other computer I tried.&amp;nbsp; Now I have 1&amp;nbsp; board that works with my eee pc and Desktop and the other doesn't work&amp;nbsp; now..&amp;nbsp; I'm going to attempt another ISP reset among other things.&amp;nbsp; I&amp;nbsp; have other LPCXpresso boards I might try a new Link board.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:43:29 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:43:29Z</dc:date>
    <item>
      <title>Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583554#M25903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrhobbles on Thu Nov 10 22:32:31 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello I'm having a frustrating problem with debugging. I have two LPC1769 that work fine (aside from 1 pin I burned) and am able to run the debugger on them. However a few days ago my laptop, Asus eeepc 1000h with Windows 7, started having trouble connecting to any of my board. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I eventually got things working again except now when I enter debugging mode my only options are 'Terminate' and 'Suspend.' The 'Step' options are greyed out and not available. Also the debug no longer takes me to the first breakpoint in main, I'm not sure if anything is actually running. This happens with every board that I use with my eeepc laptop. When I start debugging the same boards on my Desktop PC(XP), or a friend's laptop(W7), everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far these are the steps that I tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Change USB cable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Try different USB ports&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Reset into ISP mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Run diagnostic on LPC-Link. Everything checked out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Tried running sample projects in different workspace. Same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Reinstall OS. Changed to Debian. Went through the same steps and still have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas? Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583554#M25903</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583555#M25904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Nov 10 23:19:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Working with my ASUS EeePC and XP since years without problems. Not very fast with LPCXpresso V4.1.0, but always very reliable :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are we talking about original LPCXpresso1769 boards?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure that your USB is still working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you try to use a Hub with external power supply?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you switch vector catch on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you scope Power, Reset and SWD signals?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583555#M25904</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583556#M25905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Fri Nov 11 01:04:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is because the debugger has set the breakpoint on main, and started your code, but it hasn't reached that breakpoint. So a likely cause of this is that your application is crashing before it reaches main. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try hitting 'Suspend' and look to see where it is running (I would guess it is in one of the exception/fault handlers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/InitialBP&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and set the breakpoint on your ResetISR function, and then debug from that point to see where it is going wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also take a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugHardFault&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583556#M25905</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583557#M25906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrhobbles on Mon Nov 14 21:55:25 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;Working with my ASUS EeePC and XP since years without&amp;nbsp; problems. Not very fast with LPCXpresso V4.1.0, but always very reliable&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Are we talking about original LPCXpresso1769 boards?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is the LPCXpresso 1769 Rev. B.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Are you sure that your USB is still working?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes. I'm&amp;nbsp; able to mount a flash drive for R/W operations.&amp;nbsp; Going through the LPC&amp;nbsp; Link diagnostic I am able to confirm the presence of an emulator, and&amp;nbsp; read the info for the LPC1769 target.&amp;nbsp; The 'lsusb' command list a device&amp;nbsp; with the name 'NXP Semiconductors.'&amp;nbsp;&amp;nbsp;&amp;nbsp; I get the same output on a PC&amp;nbsp; that has debugging working.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did you try to use a Hub with external power supply&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure.&amp;nbsp; Do you mean an external USB hub?&amp;nbsp;&amp;nbsp; If so, then no I did not use one.&amp;nbsp; Just my laptop ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did you switch vector catch on?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes.&amp;nbsp; I tried starting debug.&amp;nbsp; Same results, no stepping&amp;nbsp; available.&amp;nbsp; Then switched back too non-vector catch.&amp;nbsp; I've tried this a&amp;nbsp; few times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did you scope Power, Reset and SWD signals?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Power, yes.&amp;nbsp; What do I look for on the Reset and SWD signals?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;This&amp;nbsp; is because the debugger has set the breakpoint on main, and started&amp;nbsp; your code, but it hasn't reached that breakpoint. So a likely cause of&amp;nbsp; this is that your application is crashing before it reaches main. &lt;BR /&gt;&lt;BR /&gt;You can try hitting 'Suspend' and look to see where it is running (I would guess it is in one of the exception/fault handlers)&lt;BR /&gt;&lt;BR /&gt;See&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/InitialBP&lt;/A&gt;&lt;BR /&gt;and set the breakpoint on your ResetISR function, and then debug from that point to see where it is going wrong.&lt;BR /&gt;&lt;BR /&gt;You might also take a look at:&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugHardFault&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had hard faults before from not powering peripherals.&amp;nbsp; I&amp;nbsp; figured the program simply isn't making it to the first breakpoint but&amp;nbsp; using the suspend option doesn't take me to any source code or exception&amp;nbsp; handler.&amp;nbsp; When I use suspend I get a new window popup, 'No source&amp;nbsp; available for ""'&amp;nbsp; When I try and view the disassembly I keep looping&amp;nbsp; over the same few instructions, I think.&amp;nbsp; I still can't step due too&amp;nbsp; "Can't find the bounds of the current function."&amp;nbsp; I have to 'Resume',&amp;nbsp; then 'Suspend' to see any changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know ARM assembly off&amp;nbsp; the top of my head but here is a few of the instructions that are seem&amp;nbsp; to be repeating indefinitely.&amp;nbsp; A quick lookup says a load register&amp;nbsp; command, a left shift, and a branch to the first command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
1fff0ba2:&amp;nbsp;&amp;nbsp;&amp;nbsp; ldr r0, [r4, #20]
1fff0ba4:&amp;nbsp;&amp;nbsp;&amp;nbsp; lsls r0, r0, #28
1fff0ba6:&amp;nbsp;&amp;nbsp;&amp;nbsp; bmi.n 0xfff0ba2
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I let this run for several minutes and the debugger still stops at these instructions after I 'Suspend' the program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay.&amp;nbsp;&amp;nbsp; A new development as come up.&amp;nbsp; Now it seems to be one particular&amp;nbsp; LPC1769 that is not allowing any debugging.&amp;nbsp; I haven't been able to&amp;nbsp; contact my partner over the weekend to try it on his laptop, but&amp;nbsp; switching between the boards on my desktop has one board working and one&amp;nbsp; not.&amp;nbsp; On the working board I can set a breakpoint in the ResetISR and&amp;nbsp; debug normally and get back to the default breakpoint in main.&amp;nbsp; On the&amp;nbsp; 'suspect' board I can't get into even the ResetISR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also it seems on the LPC-Link side on the 'suspect' board, LED1 is constantly on after initializing the LPC-Link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So&amp;nbsp; the problem has progressed from two LPCXpresso 1769 boards not working&amp;nbsp; on my eee pc, but working on any other computer I tried.&amp;nbsp; Now I have 1&amp;nbsp; board that works with my eee pc and Desktop and the other doesn't work&amp;nbsp; now..&amp;nbsp; I'm going to attempt another ISP reset among other things.&amp;nbsp; I&amp;nbsp; have other LPCXpresso boards I might try a new Link board.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583557#M25906</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583558#M25907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Nov 15 01:41:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mrhobbles&lt;/STRONG&gt;&lt;BR /&gt;It is the LPCXpresso 1769 Rev. B.&lt;BR /&gt;&lt;BR /&gt;I don't know ARM assembly off&amp;nbsp; the top of my head but here is a few of the instructions that are seem&amp;nbsp; to be repeating indefinitely.&amp;nbsp; A quick lookup says a load register&amp;nbsp; command, a left shift, and a branch to the first command.&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
1fff0ba2:&amp;nbsp;&amp;nbsp;&amp;nbsp; ldr r0, [r4, #20]
1fff0ba4:&amp;nbsp;&amp;nbsp;&amp;nbsp; lsls r0, r0, #28
1fff0ba6:&amp;nbsp;&amp;nbsp;&amp;nbsp; bmi.n 0xfff0ba2
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;I let this run for several minutes and the debugger still stops at these instructions after I 'Suspend' the program.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PC confirms the bootloader is executing instead of your code. For whatever reason, the bootloader did not vector to your application. This could be due to a problem flashing your code, a reset issue, or a bad checksum word. The latter is unlikely since LPCXpresso inserts it for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583558#M25907</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583559#M25908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Nov 15 01:59:20 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Power, yes. What do I look for on the Reset and SWD signals?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;#1 Is there a Reset signal occurring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Is ISP pin high already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If (external) pullups are damaged or missing or there's something connected to ISP pin or RESET pin and ISP pin is still low at Reset your bootloader is started every time :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: no breakpoint and program is running in flash (=bootloader) :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583559#M25908</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583560#M25909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrhobbles on Tue Nov 15 22:20:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;#1 Is there a Reset signal occurring?&lt;BR /&gt; &lt;BR /&gt;#2 Is ISP pin high already?&lt;BR /&gt; &lt;BR /&gt;If (external) pullups are damaged or missing or there's something connected to ISP pin or RESET pin and ISP pin is still low at Reset your bootloader is started every time :eek:&lt;BR /&gt; &lt;BR /&gt;Result: no breakpoint and program is running in flash (=bootloader) :rolleyes:&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to put the scope on them today, Reset signal is high, ISP pin is low.&amp;nbsp; :(&amp;nbsp; On the LPC 1769 the ISP pin is p2.10.&amp;nbsp; When I plug the board into the USB port pin p2.10 remains low.&amp;nbsp; I tried using a pull up to 3.3V to see if that would get the board out of the bootloader but in the bootloader it remained.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is my target board now a paperweight?&amp;nbsp; :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can be wrong with p2.10?&amp;nbsp; How can I avoid it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been having pins "die" by connecting them as GPIO to the input of 74LSXX series ICs.&amp;nbsp; I learned that was a bad idea so I switched to the 74HCTXX and the dead pins went away.&amp;nbsp; Now I have 1 dead pin and it happens to be p2.10, the ISP pin.&amp;nbsp;&amp;nbsp; Argh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On the board that I'm able to debug I have one dead pin and watching the peripheral registers I can see the SET registers changing during debugging.&amp;nbsp; However, the PIN status register never changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583560#M25909</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583561#M25910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Nov 16 01:01:15 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mrhobbles&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Is my target board now a paperweight?&amp;nbsp; :confused:&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not a paperweight, but not ready for prime time, either. After flashing your part, the bootloader is not going to vector to user flash. If you get creative, you can still debug your code. Open the Peripherals view, and change the SYSMEMREMAP register to user flash. Set this register value equal to 1. If you then change the PC to ResetISR, it should run to main from there, or whereever you set the first breakpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583561#M25910</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583562#M25911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed Nov 16 02:15:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;How can I avoid it?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;ISP pins are dangerous, so don't touch them :eek: You're not the first who wasted hours to find a delayed or damaged ISP :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583562#M25911</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583563#M25912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrhobbles on Sat Nov 19 23:47:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;Not a paperweight, but not ready for prime time, either. After flashing your part, the bootloader is not going to vector to user flash. If you get creative, you can still debug your code. Open the Peripherals view, and change the SYSMEMREMAP register to user flash. Set this register value equal to 1. If you then change the PC to ResetISR, it should run to main from there, or whereever you set the first breakpoint.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay.&amp;nbsp; I thought I could fix it but I'm not able to find the SYSMEMREMAP register.&amp;nbsp; Under the peripheral view I've found the "SYSCTL" peripheral which contains a MEMMAP.&amp;nbsp; MEMMAP's value is 0x01.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The register description sounds similar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Memory Mapping Control register (MEMMAP - 0x400F C040)&lt;BR /&gt;The MEMMAP register allows switch the mapping of the bottom of memory, including &lt;BR /&gt;default reset and interrupt vectors, between the Boot ROM and the bottom of on-chip &lt;BR /&gt;Flash memory.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With it being set to 0x01 it says the address 0 is mapped to onchip flash instead of the boot ROM.&amp;nbsp; So I just need to change the PC to the reset vector, right?&amp;nbsp; How do I do that?&amp;nbsp; :o&amp;nbsp; Under the core registers tab do I put ResetISR in place of an address?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; Sorry for all the questions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583563#M25912</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Problem: Stepping not available</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583564#M25913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sun Nov 20 11:39:05 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;MEMMAP is the correct register for LPC17xx. NXP calls this register by SYSMEMREMAP for other LPC parts. The MEMMAP user flash setting is '1'. The question that comes to mind is how/why this register is set correctly for user flash, but the bootloader did not vector there? If this same code boots correctly on other LPC1769 parts, your chip is still suspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The entry point for your code is the ResetISR label provided you use the Code Red startup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Problem-Stepping-not-available/m-p/583564#M25913</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:43:33Z</dc:date>
    </item>
  </channel>
</rss>

