<?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 MPC560P CodeCode program running away in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1876859#M22841</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi everybody:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; My product is experiencing a problem: My code has a struct,like "typedef struct {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;INT32U canid;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INT8U rxCode;&lt;BR /&gt;INT8U IDE; //&lt;BR /&gt;INT8U RTR; //&lt;BR /&gt;INT8U DLC; //&amp;nbsp;&lt;/P&gt;&lt;P&gt;INT8U Data[8]; //&lt;BR /&gt;//INT8U res; //&lt;/P&gt;&lt;P&gt;}CAN_MSG_T; And I have define a can rx buf and tx buf to recv / trans the data from can int, when THIS struct has "INT8U res" ,the code run OK, but, when NOT, it will RUN AWAY, I dont know why ,does anybody&amp;nbsp;&lt;SPAN&gt;Encounter similar problems?? How CAN I DEBUG IT to fix it? I USED codewarrior is too old to debug any question, I JUST only PRINT LOG TO UART to watch current mcu stat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 06:21:36 GMT</pubDate>
    <dc:creator>xudb</dc:creator>
    <dc:date>2024-05-29T06:21:36Z</dc:date>
    <item>
      <title>MPC560P CodeCode program running away</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1876859#M22841</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everybody:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; My product is experiencing a problem: My code has a struct,like "typedef struct {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;INT32U canid;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INT8U rxCode;&lt;BR /&gt;INT8U IDE; //&lt;BR /&gt;INT8U RTR; //&lt;BR /&gt;INT8U DLC; //&amp;nbsp;&lt;/P&gt;&lt;P&gt;INT8U Data[8]; //&lt;BR /&gt;//INT8U res; //&lt;/P&gt;&lt;P&gt;}CAN_MSG_T; And I have define a can rx buf and tx buf to recv / trans the data from can int, when THIS struct has "INT8U res" ,the code run OK, but, when NOT, it will RUN AWAY, I dont know why ,does anybody&amp;nbsp;&lt;SPAN&gt;Encounter similar problems?? How CAN I DEBUG IT to fix it? I USED codewarrior is too old to debug any question, I JUST only PRINT LOG TO UART to watch current mcu stat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 06:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1876859#M22841</guid>
      <dc:creator>xudb</dc:creator>
      <dc:date>2024-05-29T06:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: MPC560P CodeCode program running away</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1878949#M22892</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;hard to suggest anything, you need to debug your application and find a place where code goes away.&lt;/P&gt;
&lt;P&gt;You can find some example within&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN2865.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN2865.pdf&lt;/A&gt;&amp;nbsp;or e.g. &lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-TRK-MPC5604P-Initialization-of-SBC-chip-MC33905-and/ta-p/1100198" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-TRK-MPC5604P-Initialization-of-SBC-chip-MC33905-and/ta-p/1100198&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 11:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1878949#M22892</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-05-31T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: MPC560P CodeCode program running away</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1880180#M22939</link>
      <description>&lt;P&gt;Hi PetrS:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your Help, &lt;SPAN&gt;My problem has been solved,&amp;nbsp;it was caused by the MB headers start address&amp;nbsp; in the flexray cfg hw struct val, is in internal_ram range which is in lcf file , I change the lcf and the addr, and it dont appear again. Finally ,thanks very much again!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 02:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC560P-CodeCode-program-running-away/m-p/1880180#M22939</guid>
      <dc:creator>xudb</dc:creator>
      <dc:date>2024-06-04T02:01:30Z</dc:date>
    </item>
  </channel>
</rss>

