<?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: Support command: CRC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1798890#M219459</link>
    <description>Thank you !</description>
    <pubDate>Wed, 31 Jan 2024 16:23:51 GMT</pubDate>
    <dc:creator>Slavic</dc:creator>
    <dc:date>2024-01-31T16:23:51Z</dc:date>
    <item>
      <title>Support command: CRC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1793980#M219099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please help me with the following 2 questions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I need to verify that the image that I loaded to FLASH is correct.&lt;/P&gt;&lt;P&gt;Firstly, I would like to use support command CRC. Do you have an example of how to use it ?&lt;/P&gt;&lt;P&gt;I use FB (Fast Bootloader) to load image to SPI NOR memory.&lt;/P&gt;&lt;P&gt;How to use CRC for address range ? :&lt;/P&gt;&lt;P&gt;FB[-t 1000000]: ucmd sf write ${loadaddr} 0x80000 0x7C0000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. After completion of image loading to FLASH, Is there an option to read back the written image from the FLASH for checksum verification, using UUU ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you so much,&lt;/P&gt;&lt;P&gt;Yaroslav&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 16:45:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1793980#M219099</guid>
      <dc:creator>Slavic</dc:creator>
      <dc:date>2024-01-23T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Support command: CRC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1794097#M219110</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;No, you can attack from u-boot with SHA1 following this guide.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# Calculate SHA1 sum from flash.bin
$ sha1sum flash.bin

# Read to specific RAM from specific block the number of flash.bin blocks
&amp;gt; mmc read &amp;lt;specific-RAM&amp;gt; &amp;lt;starting-block&amp;gt; &amp;lt;blocks-of-flash&amp;gt;

# Calculate SHA1 sum of number of bytes and compare
&amp;gt; sha1sum &amp;lt;specific-RAM&amp;gt; &amp;lt;bytes-of-flash&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 21:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1794097#M219110</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2024-01-23T21:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Support command: CRC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1794771#M219157</link>
      <description>&lt;P&gt;Thank you for your fast reply!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I work with processor i.mx6.&lt;BR /&gt;In my uuu.auto,&amp;nbsp; used FB(Fast Bootloader). The u-boot.imx is written to SPI NOR via u-boot:&lt;/P&gt;&lt;P&gt;SDP: boot -f firmware-mfgtool-specific/u-boot.imx-mfgtool&lt;/P&gt;&lt;P&gt;#Write u-boot.imx in to SPI NOR via u-boot&lt;BR /&gt;FB: ucmd setenv fastboot_buffer ${loadaddr}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am looking for a tool to confirm that the image was transferred properly to the board. Even partially (to verify a part of the path).&lt;BR /&gt;I reviewed your helpful example above to run a SHA1 checksum, but I don't have currently the option to work on this feature&lt;BR /&gt;I would like to clarify the following sections of the UUU.pdf help document.&lt;BR /&gt;In Section 5.5.1, the CRC part. Is it implemented just on the side of the PC? There is no option to run CRC on the target side and the host ? I mean to verify that the packet was delivered properly?&lt;BR /&gt;&lt;BR /&gt;crc -f [-format "mmc read $loadaddr"] [-blksz 512][ -crcblock 0x4000000] [-seek 0] [-skip 0] [-nostop] seek skip block number from storage skip skips byte from -f nostop continue check even if found mismatch&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 16:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1794771#M219157</guid>
      <dc:creator>Slavic</dc:creator>
      <dc:date>2024-01-24T16:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Support command: CRC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1795047#M219181</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;No, CRC only would work out of UUU. It's documented on UUU but our U-Boot doesn't support it, turning impossible to use CRC on host side (UUU) nor U-boot.&lt;/P&gt;
&lt;P&gt;That's why I shared the SHA method, our U-Boot does support it through:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONFIG_CMD_SHA1SUM&lt;/LI-CODE&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 03:12:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1795047#M219181</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2024-01-25T03:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Support command: CRC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1798890#M219459</link>
      <description>Thank you !</description>
      <pubDate>Wed, 31 Jan 2024 16:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1798890#M219459</guid>
      <dc:creator>Slavic</dc:creator>
      <dc:date>2024-01-31T16:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: UUU.exe robustness</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1803436#M219765</link>
      <description>&lt;P&gt;I have issues with UUU tool when I run it on different laptops. I don't succeed in running it robustly from different laptops. Our field engineers have different laptop brands, however, they have installed Windows 10 and Windows 11.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to run UUU with different delays for different laptops:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;echo off&lt;/P&gt;&lt;P&gt;uuu.exe -v -V -pp 3000 uuu.setfuse&lt;/P&gt;&lt;P&gt;echo Error level is %errorlevel%&lt;/P&gt;&lt;P&gt;IF '%errorlevel%' EQU '0' (&lt;/P&gt;&lt;P&gt;waitfor -t 10 noone &amp;gt;NUL 2&amp;gt;NUL&lt;/P&gt;&lt;P&gt;uuu.exe -v -V -pp 3000 uuu.auto&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;And still what is running on one laptop doesn't work on another laptop.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error level of -1 or sometimes an error level of -2.&lt;/P&gt;&lt;P&gt;I use version uuu_1.3.130. I tried version uuu_1.5.125 and I have seen the same issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please recommend to me how to call for uuu.exe so that it will run robustly without interruption?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:03:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-command-CRC/m-p/1803436#M219765</guid>
      <dc:creator>Slavic</dc:creator>
      <dc:date>2024-02-07T15:03:47Z</dc:date>
    </item>
  </channel>
</rss>

