<?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>Kinetis Design Studio中的主题 Re: Can we store hex data through UART into flash and RUN it from that particular location</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Can-we-store-hex-data-through-UART-into-flash-and-RUN-it-from/m-p/881940#M9913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check below tech document for your reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.instructables.com/id/HEX-File-to-Array-in-C/" title="https://www.instructables.com/id/HEX-File-to-Array-in-C/"&gt;HEX File to Array in C: 10 Steps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2019 02:50:00 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2019-02-22T02:50:00Z</dc:date>
    <item>
      <title>Can we store hex data through UART into flash and RUN it from that particular location</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Can-we-store-hex-data-through-UART-into-flash-and-RUN-it-from/m-p/881939#M9912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I am trying to store my hex file in another sector of the flash memory i.e (0x00050000) I want to store a hex file at different sector of the flash and to change the execution point to that address through my bootloader. I am able store and change the address through the MCUExpress IDE. Now i want achieve the same without using the IDE.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #242729; background-color: #ffffff; border: 0px; padding: 0px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 0px 0px 5px; padding: 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em; padding: 0px;"&gt;Through IDE:-&lt;BR /&gt;I have flashed the .hex file at 0x00050000 and i'm changing the execution pointer to this address through MCUExpress IDE settings. At 0x00000000 i have my boot loader code which changes the execution point to 0x00050000.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em; padding: 0px;"&gt;When i write the .hex file(Some data)(Image 2) content at the location 0x00050000 , i observe that the stored hex data at the address is different . I checked it through flash magic. My data is being displayed in the ASCII region rather than the Hex region of the display memory in flash magic.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash_Magic_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77347iB80DF3AE9F057BEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash_Magic_3.png" alt="Flash_Magic_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The Hex Data and its ascii form when observed through flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="HexStringThrougCont.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77394i43DAE93763EDFB3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="HexStringThrougCont.png" alt="HexStringThrougCont.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Hex data when written through the application code is being converted to some format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to copy the hex into flash through application code ? Is there any conversion happens while flashing the hex file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:14:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Can-we-store-hex-data-through-UART-into-flash-and-RUN-it-from/m-p/881939#M9912</guid>
      <dc:creator>keerthana_r</dc:creator>
      <dc:date>2019-02-21T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we store hex data through UART into flash and RUN it from that particular location</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Can-we-store-hex-data-through-UART-into-flash-and-RUN-it-from/m-p/881940#M9913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check below tech document for your reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.instructables.com/id/HEX-File-to-Array-in-C/" title="https://www.instructables.com/id/HEX-File-to-Array-in-C/"&gt;HEX File to Array in C: 10 Steps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 02:50:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Can-we-store-hex-data-through-UART-into-flash-and-RUN-it-from/m-p/881940#M9913</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2019-02-22T02:50:00Z</dc:date>
    </item>
  </channel>
</rss>

