<?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>S32KのトピックS32K3xx DEMO bootloader CRC issue during flashing</title>
    <link>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1988665#M42965</link>
    <description>&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing a CRC check routine failure during the flashing when I am learning the DEMO bootloader, more detail are the following:&lt;/P&gt;&lt;P&gt;1. Hardware:&amp;nbsp;S32K3X4EVB-T172&lt;/P&gt;&lt;P&gt;2. Software:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a). Demo FBL:&amp;nbsp;unified_bootloader_demo_v2.1 -&amp;gt; Download from NXP website.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b). Demo App:&amp;nbsp;S32K344_CAN_App_RTD200 -&amp;gt; Download from NXP website.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;c). My App -&amp;gt; Just a simple app with 1 CAN message periodic sending which works well without a FBL.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;d). Flashing tool: ECUBus -&amp;gt; Download from NXP website.&lt;/P&gt;&lt;P&gt;3. Issue description:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a). When I was using the combination of DEMO FBL + DEMO app + ECUBus, everything is fine: flashing ok, demo app running fine, I can also flashing muti-times.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b). But when I try to flash my app -&amp;gt; of course adaption was correctly done according the DEMO app: Link file changed. The app CRC check routine failed.&lt;/P&gt;&lt;P&gt;4. What I did&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a). I checked the FlashDriver CRC check which is successfully passed, try to find what is the difference. So the Start Address(0x440200) and Length(0x9074) my app for CRC calculation are fine as I expected, which means it match my app target files they have same mapping. check below screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b). I also export the dump file of memory. They are also fully matched which means my app was successfully flashed.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;c). I saw the "MAX_ONCE_CHECKSUM_SIZE" is 100000, the Demo app is bigger than 100000 which means CRC will calculate twice,&amp;nbsp; my app is less than 100000 so I guess this is the only difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;d). ECUBus side, I didn't do any change, I guess it will automatically calculate CRC according to size of bin file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Zhou_0-1730880946283.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308874i00537FE20E75D94B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Zhou_0-1730880946283.png" alt="David_Zhou_0-1730880946283.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Zhou_1-1730882867315.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308887i8936A7BB7BECD9E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Zhou_1-1730882867315.png" alt="David_Zhou_1-1730882867315.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2024 08:48:20 GMT</pubDate>
    <dc:creator>David_Zhou</dc:creator>
    <dc:date>2024-11-06T08:48:20Z</dc:date>
    <item>
      <title>S32K3xx DEMO bootloader CRC issue during flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1988665#M42965</link>
      <description>&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing a CRC check routine failure during the flashing when I am learning the DEMO bootloader, more detail are the following:&lt;/P&gt;&lt;P&gt;1. Hardware:&amp;nbsp;S32K3X4EVB-T172&lt;/P&gt;&lt;P&gt;2. Software:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a). Demo FBL:&amp;nbsp;unified_bootloader_demo_v2.1 -&amp;gt; Download from NXP website.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b). Demo App:&amp;nbsp;S32K344_CAN_App_RTD200 -&amp;gt; Download from NXP website.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;c). My App -&amp;gt; Just a simple app with 1 CAN message periodic sending which works well without a FBL.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;d). Flashing tool: ECUBus -&amp;gt; Download from NXP website.&lt;/P&gt;&lt;P&gt;3. Issue description:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a). When I was using the combination of DEMO FBL + DEMO app + ECUBus, everything is fine: flashing ok, demo app running fine, I can also flashing muti-times.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b). But when I try to flash my app -&amp;gt; of course adaption was correctly done according the DEMO app: Link file changed. The app CRC check routine failed.&lt;/P&gt;&lt;P&gt;4. What I did&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a). I checked the FlashDriver CRC check which is successfully passed, try to find what is the difference. So the Start Address(0x440200) and Length(0x9074) my app for CRC calculation are fine as I expected, which means it match my app target files they have same mapping. check below screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b). I also export the dump file of memory. They are also fully matched which means my app was successfully flashed.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;c). I saw the "MAX_ONCE_CHECKSUM_SIZE" is 100000, the Demo app is bigger than 100000 which means CRC will calculate twice,&amp;nbsp; my app is less than 100000 so I guess this is the only difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;d). ECUBus side, I didn't do any change, I guess it will automatically calculate CRC according to size of bin file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Zhou_0-1730880946283.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308874i00537FE20E75D94B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Zhou_0-1730880946283.png" alt="David_Zhou_0-1730880946283.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Zhou_1-1730882867315.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308887i8936A7BB7BECD9E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Zhou_1-1730882867315.png" alt="David_Zhou_1-1730882867315.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 08:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1988665#M42965</guid>
      <dc:creator>David_Zhou</dc:creator>
      <dc:date>2024-11-06T08:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3xx DEMO bootloader CRC issue during flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1990871#M43049</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242985"&gt;@David_Zhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry but Unified bootloader is unofficial demo only shared by individual on the community. It's provided AS IS with no guarantees and no support (there's also a disclaimer). It's not production code. Currently we do not have resources to support this.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 07:30:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1990871#M43049</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-11-08T07:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3xx DEMO bootloader CRC issue during flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1991412#M43084</link>
      <description>&lt;P&gt;Understood, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 01:45:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3xx-DEMO-bootloader-CRC-issue-during-flashing/m-p/1991412#M43084</guid>
      <dc:creator>David_Zhou</dc:creator>
      <dc:date>2024-11-11T01:45:10Z</dc:date>
    </item>
  </channel>
</rss>

