<?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: when debug with load flash but failed in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/when-debug-with-load-flash-but-failed/m-p/1884886#M19865</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is no possibility to investigate without entire code example.&lt;/P&gt;&lt;P&gt;BTW, your conditional compilation is related to function name but what about its body.&lt;/P&gt;&lt;P&gt;Entire code under conditional compilation should be in the condition block.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 07:45:34 GMT</pubDate>
    <dc:creator>lama</dc:creator>
    <dc:date>2024-06-11T07:45:34Z</dc:date>
    <item>
      <title>when debug with load flash but failed</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/when-debug-with-load-flash-but-failed/m-p/1881649#M19854</link>
      <description>&lt;P&gt;I debug with a serial sample code with MC9S12ZVCA96MLF, when I have code like:&lt;/P&gt;&lt;P&gt;```C&lt;/P&gt;&lt;P&gt;#if SCI_MODULE == SCI1&lt;BR /&gt;interrupt VectorNumber_Vsci1 void SCIISR(void)&lt;BR /&gt;#endif /* SCI_MODULE == SCI1 */&lt;BR /&gt;{&lt;BR /&gt;// if the RDRF OR the OR flag is set&lt;BR /&gt;if (SCISR1 &amp;amp; (SCISR1_RDRF_MASK + SCISR1_OR_MASK))&lt;BR /&gt;RxISR(); //go get a character &amp;amp; place it in the buffer&lt;BR /&gt;&lt;BR /&gt;//if transmit interrupts are enable AND the TDRE flag is set&lt;BR /&gt;if ((SCICR2 &amp;amp; SCICR2_TIE_MASK) &amp;amp;&amp;amp; (SCISR1 &amp;amp; SCISR1_TDRE_MASK))&lt;BR /&gt;TxISR(); //go send a character to the host&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;and after I start debug with flash, I always get error like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-05 23 33 20.png" style="width: 737px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282638iE28D23EDC1359AA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-06-05 23 33 20.png" alt="2024-06-05 23 33 20.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what's wrong with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 16:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/when-debug-with-load-flash-but-failed/m-p/1881649#M19854</guid>
      <dc:creator>iysheng</dc:creator>
      <dc:date>2024-06-05T16:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: when debug with load flash but failed</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/when-debug-with-load-flash-but-failed/m-p/1884886#M19865</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is no possibility to investigate without entire code example.&lt;/P&gt;&lt;P&gt;BTW, your conditional compilation is related to function name but what about its body.&lt;/P&gt;&lt;P&gt;Entire code under conditional compilation should be in the condition block.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 07:45:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/when-debug-with-load-flash-but-failed/m-p/1884886#M19865</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2024-06-11T07:45:34Z</dc:date>
    </item>
  </channel>
</rss>

