<?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: MCF52233 CW7.2 Error: Exception Vector Name: Address Error in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189687#M8193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the latest version, see attachment. Remember that this version of Coldfire Lite is NOT supported by Freescale.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 20:24:52 GMT</pubDate>
    <dc:creator>vier_kuifjes</dc:creator>
    <dc:date>2011-07-12T20:24:52Z</dc:date>
    <item>
      <title>MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189681#M8187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using board with MCF52233 80 LQFP + CW7.2 + ColdFire Lite TCP/IP stack 3.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to compile and debug the m5223x_evb project. "Make" the project and upload it to MCU goes without any problems.&lt;/P&gt;&lt;P&gt;But after few seconds of debugging CW throws me an error&amp;nbsp; "Exception Vector Name: Address Error" and show me the instruction that most probably cause it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new,courier';"&gt;asm_set_ipl:&lt;BR /&gt;_asm_set_ipl:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; link&amp;nbsp;&amp;nbsp;&amp;nbsp; A6,#-8&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; movem.l D6-D7,(SP)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.w&amp;nbsp; SR,D7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* current sr&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.l&amp;nbsp; D7,D0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* prepare return value&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; andi.l&amp;nbsp; #0x0700,D0&amp;nbsp; /* mask out IPL&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsr.l&amp;nbsp;&amp;nbsp; #8,D0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* IPL&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.l&amp;nbsp; 8(A6),D6&amp;nbsp;&amp;nbsp;&amp;nbsp; /* get argument&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; andi.l&amp;nbsp; #0x07,D6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* least significant three bits&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsl.l&amp;nbsp;&amp;nbsp; #8,D6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* move over to make mask&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; andi.l&amp;nbsp; #0x0000F8FF,D7&amp;nbsp; /* zero out current IPL&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or.l&amp;nbsp;&amp;nbsp;&amp;nbsp; D6,D7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* place new IPL in sr&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.w&amp;nbsp; D7,SR&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; movem.l (SP),D6-D7&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lea&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8(SP),SP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline; font-family: 'courier new,courier';"&gt;unlk&amp;nbsp;&amp;nbsp;&amp;nbsp; A6&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new,courier';"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Routine change the IPL to anither vaule pased as parameter and return the old IPL value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data and code size a way below maximum values.&lt;/P&gt;&lt;P&gt;Did somebody know where can be a problem ?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 23:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189681#M8187</guid>
      <dc:creator>sili</dc:creator>
      <dc:date>2010-04-07T23:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189682#M8188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure that the watchdog is not active when debugging: see &lt;A href="http://www.utasker.com/forum/index.php?topic=268.0" rel="nofollow" target="_self"&gt;http://www.utasker.com/forum/index.php?topic=268.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the problem is due to a real exception there are more details of debugging this at : &lt;A href="http://www.utasker.com/forum/index.php?topic=123.msg468#msg468" rel="nofollow" target="_self"&gt;http://www.utasker.com/forum/index.php?topic=123.msg468#msg468&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_self"&gt;www.uTasker.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 16:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189682#M8188</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2010-04-08T16:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189683#M8189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think the problem comes from CodeWarrior 7.2 and&amp;nbsp;"parameter passing".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CW7.1 passes&amp;nbsp;parameters via registers or via the stack(standard).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CW7.2 only passes parameters via registers(best benchmark):&lt;BR /&gt;Settings-&amp;gt; Code Generation-&amp;gt; ColdFire Processor-&amp;gt; Parameter Passing = Register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all functions&amp;nbsp;in assembly language must be adapted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see TN268: "Converting Projects to CodeWarrior ColdFire V7.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we can see that the function "asm_set_ipl"&amp;nbsp; takes a parameter on the stack.&lt;BR /&gt;it is not good with CW 7.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Henri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 18:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189683#M8189</guid>
      <dc:creator>HLaidet</dc:creator>
      <dc:date>2010-04-08T18:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189684#M8190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coldfire Lite in it's original version will not work when compiled with Codewarrior 7.2.&lt;/P&gt;&lt;P&gt;I had the same issue, and made some modifications to the assembly language routines to make them compatible with the register parameter passing (REG_ABI) used by the Codewarrior 7.2 compiler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can download the modified version from this web page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mvdh.be/cf_lite_patched.html" rel="nofollow" target="_blank"&gt;http://www.mvdh.be/cf_lite_patched.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 19:10:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189684#M8190</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2010-04-08T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189685#M8191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem was with passing parameters to asm routines via registers.&lt;/P&gt;&lt;P&gt;Improved ColdFire TCP/IP stact works good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 02:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189685#M8191</guid>
      <dc:creator>sili</dc:creator>
      <dc:date>2010-04-09T02:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189686#M8192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello! I have a similar problem! Can i get a ColdFire TCP/IP stack for CW7.2?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 18:24:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189686#M8192</guid>
      <dc:creator>ak_mnpp</dc:creator>
      <dc:date>2011-07-12T18:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189687#M8193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the latest version, see attachment. Remember that this version of Coldfire Lite is NOT supported by Freescale.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 20:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189687#M8193</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2011-07-12T20:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189688#M8194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a Elektor:&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;igibutler board and buildt the ﻿﻿﻿﻿ &lt;A href="http://forums.freescale.com/../../freescale/attachments/freescale/CFCOMM/10660/1/7.2%20REG_ABI%2020110524.zip" rel="nofollow" target="_blank"&gt;7.2 REG_ABI 20110524&lt;/A&gt; with CW7.2. There is a CF52231 mounted on the board and I have change from the CF52235 used in the project file to the right processor. Checked the link script so that 128k flash is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens is that after boot the board gets an IP address from the DHCP server. It also responds to Ping/ICMP and&lt;/P&gt;&lt;P&gt;the command shell avaliable on serial port seems to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I try to fetch index.htm on port 80. After that the CPU craches and the serial port repests spitting out some exception message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose the problem can be some compiler/linker settings but no change I made so far has proven successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I have tried to single step in the code from freescale_process_header(...)&amp;nbsp; what seems to happen is the FEC interrupt can occur which changes contents of stack stroed varialbles I am observing.&amp;nbsp; If I set break points just before the entrance to emg_web_open(..) and single steps into that function single stepping behaves really strange and the adress exception occurs when I release execution. I don't really know if I trust the debugger in the context of task switches and interrupts&amp;nbsp; but this is the what I have observed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olof&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 05:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189688#M8194</guid>
      <dc:creator>oloft</dc:creator>
      <dc:date>2011-12-08T05:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189689#M8195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olof,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like I missed your post somehow.&lt;/P&gt;&lt;P&gt;Unfortunately I have no experience with the web server in Coldfire Lite as I have never used that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 01:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189689#M8195</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2012-03-16T01:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189690#M8196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have the same problem, you can not get the file attached in this discussion?&lt;/P&gt;&lt;P&gt;Why the link above is no longer available and I have a great need for these indications.&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 16:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189690#M8196</guid>
      <dc:creator>Britti1982</dc:creator>
      <dc:date>2013-11-26T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233 CW7.2 Error: Exception Vector Name: Address Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189691#M8197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dl.dropboxusercontent.com/u/92749876/7.2%20REG_ABI%2020110524.zip"&gt;https://dl.dropboxusercontent.com/u/92749876/7.2%20REG_ABI%2020110524.zip&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 17:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-CW7-2-Error-Exception-Vector-Name-Address-Error/m-p/189691#M8197</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2013-11-26T17:47:05Z</dc:date>
    </item>
  </channel>
</rss>

