<?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: problem running bin file from u-boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094309#M160345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saida&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at map file to find correct "main" address and run from&lt;/P&gt;&lt;P&gt;that address. More hints can be found on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/359068"&gt;https://community.nxp.com/thread/359068&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Sat, 16 May 2020 04:58:20 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-05-16T04:58:20Z</dc:date>
    <item>
      <title>problem running bin file from u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094308#M160344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;this is saida&lt;/P&gt;&lt;P&gt;wordking on custmoised i.mx6 board&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using ARM DS5 and Dstream for code development,debugging respectively&lt;/P&gt;&lt;P&gt;i am facing one problem&lt;/P&gt;&lt;P&gt;i have one application code which running with debugger perfectly but&amp;nbsp;&lt;/P&gt;&lt;P&gt;the same bin file when i am running from u-boot with loadb command&lt;/P&gt;&lt;P&gt;its not running and it is going to SVC,UNDEF,ABORT handlers&lt;/P&gt;&lt;P&gt;the code is given below&lt;/P&gt;&lt;P&gt;/*******************************************/&lt;/P&gt;&lt;P&gt;struct t1&lt;BR /&gt;{&lt;BR /&gt; float x;&lt;BR /&gt; int y;&lt;BR /&gt;};&lt;BR /&gt;typedef struct t1 t1struct;&lt;/P&gt;&lt;P&gt;struct six&lt;BR /&gt;{&lt;BR /&gt; float xx;&lt;BR /&gt; int yy;&lt;BR /&gt; t1struct xyz;&lt;BR /&gt; boolean v;&lt;BR /&gt;};&lt;BR /&gt;typedef struct six sixstruct;&lt;/P&gt;&lt;P&gt;void datacopy(t1struct *T)&lt;BR /&gt;{&lt;BR /&gt; T-&amp;gt;y =1;&lt;BR /&gt;}&lt;BR /&gt;void start(sixstruct *data)&lt;BR /&gt;{&lt;BR /&gt; datacopy(&amp;amp;(data-&amp;gt;xyz));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; sixstruct s;&lt;BR /&gt; start(&amp;amp;s);&lt;/P&gt;&lt;P&gt;return EXIT_SUCCESS;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/******************************************/&lt;/P&gt;&lt;P&gt;please can any one help me in this regard&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Saida&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 16:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094308#M160344</guid>
      <dc:creator>saida</dc:creator>
      <dc:date>2020-05-15T16:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem running bin file from u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094309#M160345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saida&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at map file to find correct "main" address and run from&lt;/P&gt;&lt;P&gt;that address. More hints can be found on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/359068"&gt;https://community.nxp.com/thread/359068&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Sat, 16 May 2020 04:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094309#M160345</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-16T04:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem running bin file from u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094310#M160346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for your reply&lt;/P&gt;&lt;P&gt;i am using startup.s file which i found in ds5 archieves&lt;/P&gt;&lt;P&gt;i am running so many applications from same memory address&lt;/P&gt;&lt;P&gt;my scatter file address is 0x20000000&lt;/P&gt;&lt;P&gt;while debugging&lt;/P&gt;&lt;P&gt;i am observed that when calling this routine&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;datacopy(&amp;amp;(data-&amp;gt;xyz));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;then it is aborted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;if i comment all this kind of function calling then it is working&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;i have done small test also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;just used this test code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;struct rt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;int x;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;float y;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;typedef struct rt rtstruct;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;rtstruct *ptr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;if i call ptr-&amp;gt;x&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;then also it is aborting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;it is somthing pointer and structure formation problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;it is giving memory aborts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;if possible can you try in ds5 and run it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;from this community i have learned more and&amp;nbsp; solved few issues also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;i hope i can solve this problem with all your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;i thank all the people who are supported me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;saida&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 08:01:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-running-bin-file-from-u-boot/m-p/1094310#M160346</guid>
      <dc:creator>saida</dc:creator>
      <dc:date>2020-05-16T08:01:41Z</dc:date>
    </item>
  </channel>
</rss>

