<?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>Digital Signal ControllersのトピックRe: DSC debugging and breakpoints</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662995#M1001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debugging is back. I restarted CodeWarrior and tried insert breakpoints as regular. Regular breakpoints work, software breakpoints work, hardware breakpoints don't. I was advised to use the hardware option previously due to erratic operation. Other points such as skidding and "ghost" breakpoints still exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2016 11:59:00 GMT</pubDate>
    <dc:creator>TurboMan</dc:creator>
    <dc:date>2016-09-29T11:59:00Z</dc:date>
    <item>
      <title>DSC debugging and breakpoints</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662994#M1000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setup:&lt;/P&gt;&lt;P&gt;MC56F84789 in a custom board, USB Multilink FX @ default connection speed. Regular breakpoints inserted as "hardware" checked in debug setup. Codewarrior 10.6 basic nodelocked activated licence.&lt;/P&gt;&lt;P&gt;Application size = 110kB -O0, 97kB -O1.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've always had poor behaviour on the debugger in my application. It won't stop at particular breakpoints (skidding) and will stop every time around a for() loop if the breakpoint is near it on the outside. It may also stop at a seemingly random position in code, as well as stopping at a previous sessions's breakpoint even when "remove all" has been chosen to remove all breakpoints.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has made developing the application painful at times, awkward at best and impossible on occasion.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the debugger has this morning refused to stop on any breakpoint, and every download displays the message&amp;nbsp;"Breakpoint warning: Unable to set all the breakpoints requested. Some breakpoints will be disabled and will not stop the processor"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've asked an FAE about this and received some feedback, namely that optimisation will hinder correct debugger operation. Well, yes, but now even -O0 won't work. The DSC compiler doesn't have an optimisation level for debug.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the code is working, as I get comms and data back from our PC side app. I can pause the debugger and see it's going through the main loop, but putting a breakpoint anywhere doesn't stop the processor. As per the warning really.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;application I'm developing has in the past few weeks been launched in a new product for my company. Any ideas / suggestions welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662994#M1000</guid>
      <dc:creator>TurboMan</dc:creator>
      <dc:date>2016-09-29T09:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: DSC debugging and breakpoints</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662995#M1001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debugging is back. I restarted CodeWarrior and tried insert breakpoints as regular. Regular breakpoints work, software breakpoints work, hardware breakpoints don't. I was advised to use the hardware option previously due to erratic operation. Other points such as skidding and "ghost" breakpoints still exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 11:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662995#M1001</guid>
      <dc:creator>TurboMan</dc:creator>
      <dc:date>2016-09-29T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: DSC debugging and breakpoints</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662996#M1002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example behaviour:&lt;/P&gt;&lt;P&gt;The application on the DSC communicates to a PC over serial. The PC monitor application can reset the DSC with a serial command, this invokes a software reset. (a PESL function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is run a particular function on the custom board. This takes several minutes. I'm debugging this and want to capture a lot of variables. So, I start a debug session, capture variables, run the test, and capture variables again, to get a before and after picture. Then I want to reset the DSC, and capture variables again. This is where the debugger would not stop on a breakpoint once inserted. So, I could suspend the DSC application, and capture the variables. Then I ran the test, and then tried to insert a breakpoint. This locked up the PC application, because comms froze. (no data from the DSC). But, the debugger said the DSC application was running. However, I could not pause the debugger, as that option disappeared from Eclipse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to run this test three times but the debugger crashes out / goes unstable after the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 10:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662996#M1002</guid>
      <dc:creator>TurboMan</dc:creator>
      <dc:date>2016-09-30T10:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: DSC debugging and breakpoints</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662997#M1003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have improved debugging by deleting all debug configurations, closing the project and re-starting CodeWarrior. It now seems to be more consistent anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 09:00:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/DSC-debugging-and-breakpoints/m-p/662997#M1003</guid>
      <dc:creator>TurboMan</dc:creator>
      <dc:date>2016-10-13T09:00:09Z</dc:date>
    </item>
  </channel>
</rss>

