<?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>S12 / MagniV Microcontrollers中的主题 MM9S1J638 D2D error interrupt</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-D2D-error-interrupt/m-p/1451576#M18631</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm working on MM9S1J638 bootloader based project where I'm doing PFlash erase and Write operations.&lt;/P&gt;&lt;P&gt;Sometimes the operation is successful But most of the time during flash erase or write operation, the code gets stuck somewhere.&lt;/P&gt;&lt;P&gt;When I pause the debugger I see that the program counter stays inside below isr.&lt;/P&gt;&lt;P&gt;interrupt VectorNumber_Vd2di_err void isrD2DErr(void) {&lt;/P&gt;&lt;P&gt;while(1) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if(D2DSTAT0_ERRIF) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; D2DSTAT0_ERRIF = 1; // clear flag&lt;BR /&gt;}else{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PCRReset(); // issue an analog die reset&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I'm referring MM9Z1J638-Demo-APPSW and&amp;nbsp;&amp;nbsp;AN12086SW Simple Serial Bootloader for my project.&lt;/P&gt;&lt;P&gt;My Bus clock freq is 25Mhz&lt;/P&gt;&lt;P&gt;D2D freq is 25Mhz&lt;/P&gt;&lt;P&gt;FCLKDIV value is 18 (Referred from datasheet )&lt;/P&gt;&lt;P&gt;What could be the possible reason for D2D error interrupt during flash erase and write operation.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;</description>
    <pubDate>Sat, 30 Apr 2022 11:13:14 GMT</pubDate>
    <dc:creator>vivek_sri</dc:creator>
    <dc:date>2022-04-30T11:13:14Z</dc:date>
    <item>
      <title>MM9S1J638 D2D error interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-D2D-error-interrupt/m-p/1451576#M18631</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm working on MM9S1J638 bootloader based project where I'm doing PFlash erase and Write operations.&lt;/P&gt;&lt;P&gt;Sometimes the operation is successful But most of the time during flash erase or write operation, the code gets stuck somewhere.&lt;/P&gt;&lt;P&gt;When I pause the debugger I see that the program counter stays inside below isr.&lt;/P&gt;&lt;P&gt;interrupt VectorNumber_Vd2di_err void isrD2DErr(void) {&lt;/P&gt;&lt;P&gt;while(1) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if(D2DSTAT0_ERRIF) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; D2DSTAT0_ERRIF = 1; // clear flag&lt;BR /&gt;}else{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PCRReset(); // issue an analog die reset&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I'm referring MM9Z1J638-Demo-APPSW and&amp;nbsp;&amp;nbsp;AN12086SW Simple Serial Bootloader for my project.&lt;/P&gt;&lt;P&gt;My Bus clock freq is 25Mhz&lt;/P&gt;&lt;P&gt;D2D freq is 25Mhz&lt;/P&gt;&lt;P&gt;FCLKDIV value is 18 (Referred from datasheet )&lt;/P&gt;&lt;P&gt;What could be the possible reason for D2D error interrupt during flash erase and write operation.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 11:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9S1J638-D2D-error-interrupt/m-p/1451576#M18631</guid>
      <dc:creator>vivek_sri</dc:creator>
      <dc:date>2022-04-30T11:13:14Z</dc:date>
    </item>
  </channel>
</rss>

