<?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: Starcore ADS Crash in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Starcore-ADS-Crash/m-p/135782#M866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;For these kind of issues I can only recommend you to submit an SR through our on line support web page.&lt;/DIV&gt;&lt;DIV&gt;Our support staff will be looking into that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Make sure to attach a project reproducing the issue and information on CodeWarrior product you are using to the SR.&lt;/DIV&gt;&lt;DIV&gt;To get CodeWarrior product information:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start IDE&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select Help -&amp;gt; "About Metrowerks CodeWarrior"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click on "Installed Products"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click on "Save As". save the information in a text file and attach it to the SR.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2006 18:36:05 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2006-11-10T18:36:05Z</dc:date>
    <item>
      <title>Starcore ADS Crash</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Starcore-ADS-Crash/m-p/135781#M865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the MSC8122ads development board. I noticed a crash when I entered my program. I isolated the print statement and began to dig. Ultimately I discovered that the code went off the track and into the weeds (illegal instruction trap) at the point labeled below ( I believe it jumps in response to stream flag = 9 and goes to an incoherent instruction.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was told that I should try to get my problem fixed here since the development staff is overworked. Can anyone suggest a patch or a fix?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These values represent the initial conditions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ptr = 0x23B60 ; size= 1 ; nmemb = 23 ; stream-&amp;gt;_flag = 9 ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After stepping from PC = 01012E7E this goes to illegal instruction land&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This code is from fwrt__common_,c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* check for basic errors */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if ( NULL == ptr || 0 &amp;gt;= size || 0 &amp;gt;= nmemb ||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( !( stream-&amp;gt;_flag &amp;amp; _IOWRITE ) &amp;amp;&amp;amp; !( stream-&amp;gt;_flag &amp;amp; _IORW ) ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stream-&amp;gt;_flag |= _IOERR;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return (size_t) 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* check for basic errors */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if ( NULL == ptr || 0 &amp;gt;= size || 0 &amp;gt;= nmemb ||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E46: 24E0EAF1 zxt.l d1 &amp;amp; tsteqa r2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E4A: 251882E0 bt &amp;gt;*+$2e0 ;fwrite+0x32a (0x101312a)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E4E: 64E9 tsteq d1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E50: 3820A000F0D5251882DA move.l (sp-$54),d8 &amp;amp; bt &amp;gt;*+$2da ;fwrite+0x32a (0x10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E5A: 3400A0046469 tsteq d81012E60: 96C0FCD6251882CA move.l (sp-$58),r4 &amp;amp; bt &amp;gt;*+$2ca ;fwrite+0x32a (0x101312a)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E68: 90C0 nop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E6A: 2C0F8004 adda #&amp;gt;$4,r4,r7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E6E: 5597 move.l (r7),d5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E70: 9AC03B1A800890C03B1B8100 and #$8,d5,d2 &amp;amp; nop &amp;amp; and #$100,d5,d3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E7C: 6569 tsteq d2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E7E: 8409 bf *+$8 ;fwrite+0x86 (0x1012e86) ------ death by illegal instruction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E80: 65E9 tsteq d3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01012E82: 251882A8 bt &amp;gt;*+$2a8 ;fwrite+0x32a (0x101312a)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( !( stream-&amp;gt;_flag &amp;amp; _IOWRITE ) &amp;amp;&amp;amp; !( stream-&amp;gt;_flag &amp;amp; _IORW ) ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stream-&amp;gt;_flag |= _IOERR;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return (size_t) 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* check for EOF error */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if ( stream-&amp;gt;_flag &amp;amp; _IOEOF )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* input cool on update buffers */&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2006 22:34:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Starcore-ADS-Crash/m-p/135781#M865</guid>
      <dc:creator>annoyedUser</dc:creator>
      <dc:date>2006-11-08T22:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Starcore ADS Crash</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Starcore-ADS-Crash/m-p/135782#M866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;For these kind of issues I can only recommend you to submit an SR through our on line support web page.&lt;/DIV&gt;&lt;DIV&gt;Our support staff will be looking into that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Make sure to attach a project reproducing the issue and information on CodeWarrior product you are using to the SR.&lt;/DIV&gt;&lt;DIV&gt;To get CodeWarrior product information:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start IDE&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select Help -&amp;gt; "About Metrowerks CodeWarrior"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click on "Installed Products"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click on "Save As". save the information in a text file and attach it to the SR.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 18:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Starcore-ADS-Crash/m-p/135782#M866</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-11-10T18:36:05Z</dc:date>
    </item>
  </channel>
</rss>

