<?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>CodeWarrior Development Tools中的主题 Re: CW with TBDML  : watchpoints don't work</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399368#M2464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi coste,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the late, because no testing result with other interface, can you please send me your project so that i can test it on my side? thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 10:58:22 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-06-03T10:58:22Z</dc:date>
    <item>
      <title>CW with TBDML  : watchpoints don't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399364#M2460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use CW5.1 special edition, with TBDML (dll v1.4, gdi dll v1.7) and Windows XP (sorry...).&lt;/P&gt;&lt;P&gt;Hiwave is launched directly from Windows, not from the IDE.&lt;/P&gt;&lt;P&gt;The problem was the same with previous versions of CW and TBDML.&lt;/P&gt;&lt;P&gt;The processor of my application is S12XEQ512.&lt;/P&gt;&lt;P&gt;Almost everything works fine, but watchpoints (in particular breakpoints work well).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can set watchpoints and they appear in data and memory windows of Hiwave.&lt;/P&gt;&lt;P&gt;But the program doesn't stop when the corrresponding memory location is read or written.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some investigations, and it seems that comparator adress registers of the DBG module are not written correctly by Hiwave when I set a watchpoint.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;watchpoint set at address $1450&amp;nbsp; --&amp;gt; DBGXAH:M:L = $00:04:50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (04 instead of 14)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2450&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $00:E4:50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (E4 instead of 24)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $3450&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $0F:F4:50&lt;/P&gt;&lt;P&gt;DBGXAL is correct, but DBGXAM and sometimes DBGXAH are not.&lt;/P&gt;&lt;P&gt;If I try to manually modify these registers (in data or memory window, or with the Inspector)&lt;/P&gt;&lt;P&gt;they are immediately rewritten with the erroneous values !&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RAM of my application extends from $1000 to $3FFF, and the RPAGE register has its reset value : $FD.&lt;/P&gt;&lt;P&gt;The debugging memory map has a range covering from $1000 to $3FFF (physical) with R/W access.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see how to investigate more deeply, as the source code for the gdi-dll is not provided by the distribution (not open source).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw another thread about a similar problem (with PE Multilink target), but only a question two years ago, and no answer.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have an idea of what is going on, please help. Even if you don't have the solution, some hints could be helpfull.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 16:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399364#M2460</guid>
      <dc:creator>electro</dc:creator>
      <dc:date>2015-04-11T16:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: CW with TBDML  : watchpoints don't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399365#M2461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can you please upload the problem screenshots for your problem?&lt;/P&gt;&lt;P&gt;did you ever test the same with P&amp;amp;E or other interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhang Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 06:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399365#M2461</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-04-14T06:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: CW with TBDML  : watchpoints don't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399366#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CopieEcran.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49777i79519D6B14787BCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="CopieEcran.bmp" alt="CopieEcran.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen print showing my problem.&lt;/P&gt;&lt;P&gt;A watchpoint is set on the variable O.mode (address $0x1466) : see Data:1 and Memory:2 windows.&lt;/P&gt;&lt;P&gt;No other watchpoints or breakpoints are set.&lt;/P&gt;&lt;P&gt;You can see in the Inspector window (or in Data:2) that DBGXAH = 0x0, DBGXAM = 0x4 (instead of 0x14), while DBGXAL is correct (0x66).&lt;/P&gt;&lt;P&gt;This is typical : DBGXAM is always incorrect, DBGXAH sometimes incorrect.&lt;/P&gt;&lt;P&gt;I had no opportunity to try another physical target than TBDML. However watchpoints work perfectly well with the simulator.&lt;/P&gt;&lt;P&gt;So I suppose the issue is somewhere in the dll (or gdi dll) used to communicate with the TBDML target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 15:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399366#M2462</guid>
      <dc:creator>electro</dc:creator>
      <dc:date>2015-04-14T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: CW with TBDML  : watchpoints don't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399367#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;anybody listening ?....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2015 12:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399367#M2463</guid>
      <dc:creator>electro</dc:creator>
      <dc:date>2015-05-31T12:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: CW with TBDML  : watchpoints don't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399368#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi coste,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for the late, because no testing result with other interface, can you please send me your project so that i can test it on my side? thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 10:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-with-TBDML-watchpoints-don-t-work/m-p/399368#M2464</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-03T10:58:22Z</dc:date>
    </item>
  </channel>
</rss>

