<?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>i.MX ProcessorsのトピックRe: imx27 board using atk tools program image issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243801#M20760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;P&gt;Sorry for my poor English!!&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 03:27:34 GMT</pubDate>
    <dc:creator>zhangjay</dc:creator>
    <dc:date>2013-08-07T03:27:34Z</dc:date>
    <item>
      <title>imx27 board using atk tools program image issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243800#M20759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 boards, one is the imx27ads boards and another is designed by ourselves, on our own board , when I program the image file into board's flash, get the error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Can not execute RAM Kernel&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check the atk tool source, I find when execute the &lt;STRONG&gt;&lt;EM&gt;Bootstrap End Indication Operation&lt;/EM&gt;&lt;/STRONG&gt;, I got the error response(0x88888808), 0x88888888 is correct.&lt;/P&gt;&lt;P&gt;After that I compare the 2 boards log(listen to PC serial port write/read), got the log(refer to the attachment files), I find the first difference is when execute the &lt;STRONG&gt;&lt;EM&gt;download command, as below&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="5500_5500.png"&gt;&lt;IMG alt="5500_5500.png" src="https://community.nxp.com/t5/image/serverpage/image-id/119638i955CDC85E91EF8BE/image-size/large?v=v2&amp;amp;px=999" title="5500_5500.png" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="QQ截图20130807111527.png"&gt;&lt;IMG alt="QQ截图20130807111527.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40245i60D34F6F440109B8/image-size/large?v=v2&amp;amp;px=999" title="QQ截图20130807111527.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from the imx27ads board I got:&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;04 04 A0 00 40 00 00 00 00 BC C0 00 00 00 00 00 &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;from our board I got:&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;04 04 A0 00 40 00 00 00 00 2F 30 00 00 00 00 00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;I have program the same image file&lt;/P&gt;&lt;P&gt;All is the same but the &lt;EM&gt;&lt;STRONG&gt;Number of byte to be written in Hex,&amp;nbsp; I don't know why on our board the size is so small.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;In code, the size is desided here:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;gui_application/FlashToolDlg.cpp:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE class="c++" name="code"&gt;&amp;nbsp; &amp;nbsp; // open image file &amp;nbsp; fp = fopen(m_strImageName, "rb"); &amp;nbsp; if (!fp) &amp;nbsp; { &amp;nbsp; InsertLog(CString("Can not open image file:") + m_strImageName); &amp;nbsp; return FALSE; &amp;nbsp; } &amp;nbsp; // get file size &amp;nbsp; if (stat(m_strImageName, &amp;amp;fstat) != 0) &amp;nbsp; { &amp;nbsp; InsertLog(CString("Can not open image file:") + m_strImageName); &amp;nbsp; fclose(fp); &amp;nbsp; return FALSE; &amp;nbsp; } &amp;nbsp; size = fstat.st_size; &amp;nbsp; buffer = new unsigned char[size]; &amp;nbsp; // read image file data to buffer &amp;nbsp; fread(buffer, 1, size, fp); &amp;nbsp; fclose(fp);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Why I program the same image file but I got the different size of file?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336316" rel="noopener noreferrer" target="_blank"&gt;IMX27开发板串口监控1.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336316" rel="noopener noreferrer" target="_blank"&gt;IMX27-0201.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:01:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243800#M20759</guid>
      <dc:creator>zhangjay</dc:creator>
      <dc:date>2020-11-02T13:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: imx27 board using atk tools program image issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243801#M20760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;P&gt;Sorry for my poor English!!&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 03:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243801#M20760</guid>
      <dc:creator>zhangjay</dc:creator>
      <dc:date>2013-08-07T03:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: imx27 board using atk tools program image issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243802#M20761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Perhaps SDRAM memory on the target is not fully working. It makes sense to test memory.&lt;/P&gt;&lt;P&gt;The enclosed is very simple my example how to test memory via ARM block copy instructions;&lt;/P&gt;&lt;P&gt;code may be loaded via UART bootloader ("mx27_com_load.bat") and is running in internal&lt;BR /&gt;i.MX27 RAM. &lt;/P&gt;&lt;P&gt;&amp;nbsp; You may try adapt it for Your design.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 04:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243802#M20761</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-08-12T04:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: imx27 board using atk tools program image issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243803#M20762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your tool, I have tried it.&lt;/P&gt;&lt;P&gt;Select the boot piin 0000(flash mode), I can get the log in file "a", that successfully program the test.bin into flash.&lt;/P&gt;&lt;P&gt;After that, I select the 0010 normal mode, I cannot get data with uart port 1.&lt;/P&gt;&lt;P&gt;I check the C file, I cannot find the place to set the uart baund rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now our board can program image files with atk tolls, but when set to the 8-bit nandflash mode (0010) to boot up, I cannot get the log which print in bootloader.&lt;/P&gt;&lt;P&gt;I find the ddr clock is strange, at first the clock has 32k, after a few time there is no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 02:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx27-board-using-atk-tools-program-image-issue/m-p/243803#M20762</guid>
      <dc:creator>zhangjay</dc:creator>
      <dc:date>2013-08-23T02:30:02Z</dc:date>
    </item>
  </channel>
</rss>

