<?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: Running SDK flash routines from RAM  in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763342#M384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be it is stupid question - by HEX file you mean the binary (.bin) file? The .hex file is text file. You need to convert ascii character doublets representing HEX value into binary data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share your project and the data file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 14:43:06 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2018-04-04T14:43:06Z</dc:date>
    <item>
      <title>Running SDK flash routines from RAM</title>
      <link>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763341#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using S32K144 in our project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the SDK flash driver and successfully erase and write the Flash memory.&lt;/P&gt;&lt;P&gt;I have build the SDK Flash Driver &amp;nbsp;excluding startup and changed the entry point from reset handler to main in linker file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;converted the elf file to hex file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created the one more project and place the hex bytes(flash routines)&amp;nbsp;to array(array is located to same segment which I used the code area for Flash driver routines hex file creation) and try to jump to the start of the array. it is throwing an exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same thing I followed for toggling the LED project by using timer , it is working fine but not flash drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of calling LED function inside the main, I call the some other function which has input arguments and create the hex file.&lt;/P&gt;&lt;P&gt;I placed the&amp;nbsp;&amp;nbsp;HEX values to array and jump, then also it through exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just need to understand the is there any conditions to run the code from&amp;nbsp;RAM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let us know the solution early as early as possible.&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ambarish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 11:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763341#M383</guid>
      <dc:creator>ambarishhundeka</dc:creator>
      <dc:date>2018-04-04T11:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running SDK flash routines from RAM</title>
      <link>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763342#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be it is stupid question - by HEX file you mean the binary (.bin) file? The .hex file is text file. You need to convert ascii character doublets representing HEX value into binary data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share your project and the data file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763342#M384</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-04-04T14:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Running SDK flash routines from RAM</title>
      <link>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763343#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;Sorry&amp;nbsp;. Yes it is bin file.&lt;/P&gt;&lt;P&gt;please find the attachment .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find the three folders inside the source code.&lt;/P&gt;&lt;P&gt;1. normal debug test&amp;nbsp;code (flash driver code &amp;amp; blink code)&lt;/P&gt;&lt;P&gt;2. Test code excluding the startup and changed the entry point in linker file(build the only application part).&lt;/P&gt;&lt;P&gt;3. Test app (here placed the bin of application in array and array is located at the RAM segment ).(execute the app from RAM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ambarish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 15:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Running-SDK-flash-routines-from-RAM/m-p/763343#M385</guid>
      <dc:creator>ambarishhundeka</dc:creator>
      <dc:date>2018-04-04T15:47:35Z</dc:date>
    </item>
  </channel>
</rss>

