<?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 for MCU中的主题 Erroneous Code?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185997#M6449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working with this problem for two days now.&amp;nbsp; Not only is my board with the MC9S12XD64 sensitive and require a VERY precise power up sequence but, after several uses the debugger thorugh the P&amp;amp;E USB Multilink cable stop working together or something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens is that is loads the code to the MC9S12XD device but when in debugger and I try to step through my code it jumps over lines of code. If I view the assembly code i'm missing instructions and they're replaced with BGND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happened? i can't get it to work anymore.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 May 2009 04:55:49 GMT</pubDate>
    <dc:creator>CMBL</dc:creator>
    <dc:date>2009-05-30T04:55:49Z</dc:date>
    <item>
      <title>Erroneous Code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185997#M6449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working with this problem for two days now.&amp;nbsp; Not only is my board with the MC9S12XD64 sensitive and require a VERY precise power up sequence but, after several uses the debugger thorugh the P&amp;amp;E USB Multilink cable stop working together or something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens is that is loads the code to the MC9S12XD device but when in debugger and I try to step through my code it jumps over lines of code. If I view the assembly code i'm missing instructions and they're replaced with BGND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happened? i can't get it to work anymore.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2009 04:55:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185997#M6449</guid>
      <dc:creator>CMBL</dc:creator>
      <dc:date>2009-05-30T04:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Erroneous Code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185998#M6450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CMBL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the code execution is lost due to resets or there is no valid code.&lt;/P&gt;&lt;P&gt;I'd suggest first you to verify if the code is correctly flased into MCU. (see attached screenshot)&lt;/P&gt;&lt;P&gt;What is the value of PC at BGND instruction?&lt;/P&gt;&lt;P&gt;Do you reach the main() after startup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stanish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 17:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185998#M6450</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2009-06-01T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Erroneous Code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185999#M6451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The loading verification failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After startup I have been reaching main.&amp;nbsp; The assembly code window has MANY BGND statements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PC value says: 82FA.&amp;nbsp; I've attached a screenshot of this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions. My project is at a standstill due to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 23:21:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/185999#M6451</guid>
      <dc:creator>CMBL</dc:creator>
      <dc:date>2009-06-01T23:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Erroneous Code?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/186000#M6452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it looks like my MC9S12XD was not in Special Single Chip mode like I thought it would be by using the USB-ML-12 device.&amp;nbsp; I had used a reset IC to provide a stable reset to my devices but somewhere along the way the reset device that is on the board has a strong pull up and the USB-ML-12 was not able to assert reset in conjunction with BKGD being low to put the MC9S12XD device in Special Single chip mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I've got it fixed now.&amp;nbsp; The assembled code no longer has the garbage BGND statements and I can finally toggle my LEDs!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 03:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Erroneous-Code/m-p/186000#M6452</guid>
      <dc:creator>CMBL</dc:creator>
      <dc:date>2009-06-02T03:43:01Z</dc:date>
    </item>
  </channel>
</rss>

