<?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: NOR image execute in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666037#M4028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;This problem was solved by reading a multiple of NOR blocks:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; cp.b 0xec000000 0x10000 80000&lt;BR /&gt;=&amp;gt; go 0x10100&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;--Correct start application--&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;And the input value format of "count" has the meaning!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; cp.b 0xec000000 0x10000 0x80000&lt;BR /&gt;=&amp;gt; go 0x10100&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;--Application not starting--&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;The reason for this is not clear to me :smileysad:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;**And add command in U-boot environment "bootapp=cp.b 0xec000000 0x10000 80000; go 0x10100"; bootcmd=run bootapp has no effect - application not working. But "bootcmd=cp.b 0xec000000 0x10000 80000; go 0x10100" - application working!!:smileyconfused:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2017 07:52:13 GMT</pubDate>
    <dc:creator>nikolaykulikov</dc:creator>
    <dc:date>2017-06-21T07:52:13Z</dc:date>
    <item>
      <title>NOR image execute</title>
      <link>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666035#M4026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;I'm using U-boot with my board on P1010 and download the barmetal application over TFTP.&lt;/SPAN&gt; &lt;SPAN&gt;This application works correctly.&lt;/SPAN&gt; &lt;SPAN&gt;Then I save this application into NOR flash and try to run this application - the application does not work.&lt;/SPAN&gt; &lt;SPAN class=""&gt;Comparing both images (obtained by tftp and read with NOR), they coincide in content.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Load from TFTP:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; tftp 0x10000 b.bin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; go 0x10100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;--Correct start application--&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Store and load from NOR Flash:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; tftp 0x10000 b.bin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; protect off 0xEC000000 +0x6ea14&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; erase 0xEC000000 +0x6ea14&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; cp.b&amp;nbsp;0x10000 0xEC000000 0x6ea14&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; reset&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; cp.b &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;0xEC000000&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;0x10000&lt;/SPAN&gt;&lt;/SPAN&gt; 0x6ea14&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; go 0x10100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;--Application not starting--&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Compare image:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;=&amp;gt; tftp 0x100000 b.bin&lt;BR /&gt;Speed: 100, full duplex&lt;BR /&gt;Using eTSEC1 device&lt;BR /&gt;TFTP from server 192.168.200.104; our IP address is 192.168.200.201&lt;BR /&gt;Filename 'b.bin'.&lt;BR /&gt;Load address: 0x100000&lt;BR /&gt;Loading: T T ###############################&lt;BR /&gt;done&lt;BR /&gt;Bytes transferred = 453140 (6ea14 hex)&lt;BR /&gt;=&amp;gt; cp.b 0xEC000000 0x10000 0x6ea14&lt;BR /&gt;=&amp;gt; cmp.b 0x10000 0x100000 0x6ea14&lt;BR /&gt;Total of 453140 bytes were the same&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;However, (it was found out by experience) if after copying from NOR to make loading on TFTP in other area RAM - the image copied from NOR will work ((&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en" style="font-size: 12px;"&gt;&lt;SPAN class=""&gt;Information:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en" style="font-size: 12px;"&gt;&lt;SPAN class=""&gt;* 0x6ea14 - filesize of application&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en" style="font-size: 12px;"&gt;&lt;SPAN class=""&gt;* 0xEC000000 - start address NOR Flash&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en" style="font-size: 12px;"&gt;&lt;SPAN class=""&gt;* 0x10000 - RAM address for load binary image&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;SPAN style="font-size: 12px;"&gt;* 0x10100 - entry point of application&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 09:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666035#M4026</guid>
      <dc:creator>nikolaykulikov</dc:creator>
      <dc:date>2017-06-20T09:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: NOR image execute</title>
      <link>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666036#M4027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please describe in more details what you mean by "&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;However, (it was found out by experience) if after copying from NOR to make loading on TFTP in other area RAM - the image copied from NOR will work ((" - please describe exact step-by step procedure, when the copied image will work, and how this procedure differs from procedure, where copied image does not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alexander&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 12:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666036#M4027</guid>
      <dc:creator>alexander_yakov</dc:creator>
      <dc:date>2017-06-20T12:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: NOR image execute</title>
      <link>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666037#M4028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;This problem was solved by reading a multiple of NOR blocks:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; cp.b 0xec000000 0x10000 80000&lt;BR /&gt;=&amp;gt; go 0x10100&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;--Correct start application--&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;And the input value format of "count" has the meaning!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; cp.b 0xec000000 0x10000 0x80000&lt;BR /&gt;=&amp;gt; go 0x10100&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;--Application not starting--&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;The reason for this is not clear to me :smileysad:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;**And add command in U-boot environment "bootapp=cp.b 0xec000000 0x10000 80000; go 0x10100"; bootcmd=run bootapp has no effect - application not working. But "bootcmd=cp.b 0xec000000 0x10000 80000; go 0x10100" - application working!!:smileyconfused:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 07:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/NOR-image-execute/m-p/666037#M4028</guid>
      <dc:creator>nikolaykulikov</dc:creator>
      <dc:date>2017-06-21T07:52:13Z</dc:date>
    </item>
  </channel>
</rss>

