<?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>MQX Software Solutions中的主题 Re: Why do I get Exception vector name: Address Error?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Why-do-I-get-Exception-vector-name-Address-Error/m-p/589362#M16607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Are you using a custom board?? I want to isolate the issue, could you please try using the mqx hello&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; example? This is located at the path: C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\hello\cw10\hello_twrmcf52259&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Please try to compile and debug this example. Make sure you are using the internal flash target in the CodeWarrior. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Please add a break point in the line printf("Hello World\n"); from the hello.c file once the project is open.&amp;nbsp; Let me know your results. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 19:29:57 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2016-07-01T19:29:57Z</dc:date>
    <item>
      <title>Why do I get Exception vector name: Address Error?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Why-do-I-get-Exception-vector-name-Address-Error/m-p/589361#M16606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX 3.8 with an MCF52259 and CodeWarrior 7.2. I have been running into an address error exception. When I try to use the debugger and step through the code I can go up to &lt;STRONG&gt;find_nonempty_queue&lt;/STRONG&gt; routine in &lt;STRONG&gt;dispatch.s&lt;/STRONG&gt;. It seems to get stuck in a loop here. So I use a breakpoint just outside this in &lt;STRONG&gt;no_one_to_run&lt;/STRONG&gt;. I am able to continue stepping over until the following lines:&lt;/P&gt;&lt;P&gt;#if &lt;SPAN style="color: #2873ee;"&gt;PSP_STOP_ON_IDLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #0x2000&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.w&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #0x2000, sr&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;PSP_STOP_ON_IDLE is defined as 1 but attempting to execute the stop instruction gives the earlier mentioned error notification from CW. Just before executing the &lt;SPAN style="color: #303030;"&gt;stop, the stack window looks like the attached picture. &lt;/SPAN&gt; After getting the error the stack window in the debugger just shows DummyFn1 multiple times (From looking at the assembly code I believe DummyFn1 is the name for _sched_start_internal?) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Could someone explain the meaning of this piece of code and why it's causing this error?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 20:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Why-do-I-get-Exception-vector-name-Address-Error/m-p/589361#M16606</guid>
      <dc:creator>monikak</dc:creator>
      <dc:date>2016-06-29T20:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get Exception vector name: Address Error?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Why-do-I-get-Exception-vector-name-Address-Error/m-p/589362#M16607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Are you using a custom board?? I want to isolate the issue, could you please try using the mqx hello&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; example? This is located at the path: C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\hello\cw10\hello_twrmcf52259&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Please try to compile and debug this example. Make sure you are using the internal flash target in the CodeWarrior. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Please add a break point in the line printf("Hello World\n"); from the hello.c file once the project is open.&amp;nbsp; Let me know your results. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 19:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Why-do-I-get-Exception-vector-name-Address-Error/m-p/589362#M16607</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-07-01T19:29:57Z</dc:date>
    </item>
  </channel>
</rss>

