<?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 mc9s08 debug problem in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322782#M1054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been developing firmware for a mc9s08dz128 using CodeWarrior V10.4 and a PE Micro USB-ML-12E. Up until now I have not had any issues running debug but after by last code changes I get the following message when I try to run debug:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Failed to resume target process., Downloading binary to target..."&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no errors listed by the compiler. If I remove the code I added then I can use the debugger. My code size is around 86K.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 11:49:30 GMT</pubDate>
    <dc:creator>martinlockner</dc:creator>
    <dc:date>2014-07-21T11:49:30Z</dc:date>
    <item>
      <title>mc9s08 debug problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322782#M1054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been developing firmware for a mc9s08dz128 using CodeWarrior V10.4 and a PE Micro USB-ML-12E. Up until now I have not had any issues running debug but after by last code changes I get the following message when I try to run debug:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Failed to resume target process., Downloading binary to target..."&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no errors listed by the compiler. If I remove the code I added then I can use the debugger. My code size is around 86K.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:49:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322782#M1054</guid>
      <dc:creator>martinlockner</dc:creator>
      <dc:date>2014-07-21T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: mc9s08 debug problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322783#M1055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;1. CW10.4 is old. I suggest you test the board with CW10.6. here is CW10.6 &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&amp;amp;tid=CWH"&gt;https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&amp;amp;tid=CWH&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Remove .metadata folder under your current workspace, restart CW. then test the project again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;3. if you create a new project with wizard, can you download the project &lt;STRONG&gt;to&lt;/STRONG&gt; chip successfully?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Zhang Jun&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;==================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;this answer is for you. if it helps, please click on "correct answer" button. thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;==================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 08:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322783#M1055</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2014-07-24T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: mc9s08 debug problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322784#M1056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems you have secure your flash by setting SEC[1:0] other than 0:0. if yes, then, I would suggest change it to 0:0 to secure the flash.&lt;/P&gt;&lt;P&gt;as you see from the datasheet, the default of these two bits are 0:1 and it is impossible to write a 0 bit back to 1 for flash memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 01:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/mc9s08-debug-problem/m-p/322784#M1056</guid>
      <dc:creator>Rick_Li</dc:creator>
      <dc:date>2014-07-29T01:59:29Z</dc:date>
    </item>
  </channel>
</rss>

