<?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: Need function for Flash read like flash_program in flash_demo project in kl25z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700076#M43044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KDS uses GCC. In KDS I don't get any problems. Strange...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Oct 2017 16:57:43 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-10-07T16:57:43Z</dc:date>
    <item>
      <title>Need function for Flash read like flash_program in flash_demo project in kl25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700071#M43039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;i am currently working on flash_demo project given in kinetis KSDK 1.3.0.&lt;/P&gt;&lt;P&gt;in this demo there are function for flash_program and flash_program_check i understand that function and apply in my project now i need a slimiler function for flah_read from any location of flash.&lt;/P&gt;&lt;P&gt;please suggest me some solution regarding flash_read.&lt;/P&gt;&lt;P&gt;Thanks And Best Regards,&lt;/P&gt;&lt;P&gt;Arth Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 06:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700071#M43039</guid>
      <dc:creator>arthshah</dc:creator>
      <dc:date>2017-10-06T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need function for Flash read like flash_program in flash_demo project in kl25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700072#M43040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash is memory mapped so you can read with&lt;/P&gt;&lt;P&gt;TYPE value = *(TYPE *)flash_address; // where TYPE is unsigned char, unsigned long etc.&lt;/P&gt;&lt;P&gt;To read a block, just use memcpy().&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;unsigned char ucBuffer[100];&lt;/P&gt;&lt;P&gt;memcpy(ucBuffer, flash_address, 100);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 13:25:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700072#M43040</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-10-06T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need function for Flash read like flash_program in flash_demo project in kl25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700073#M43041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Mark,&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;i want to read data from 0x00005420 memory location.&lt;/P&gt;&lt;P&gt;please give me example on that.&lt;/P&gt;&lt;P&gt;when i write unsigned long flash_add=*(unsigned long*)0x00005420&lt;/P&gt;&lt;P&gt;it give me error like&amp;nbsp;&lt;/P&gt;&lt;P&gt;"initializer element is not constant "&lt;/P&gt;&lt;P&gt;and other question is that when i give starting address of memory then we get 100 data from that to our ucBuffer?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 06:12:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700073#M43041</guid>
      <dc:creator>arthshah</dc:creator>
      <dc:date>2017-10-07T06:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need function for Flash read like flash_program in flash_demo project in kl25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700074#M43042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;unsigned long flash_add = *(unsigned long *)0x00005420;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is valid code and when I try to build with VisualStudio or with GCC there are no errors or warnings. Please check exactly how you have written it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;unsigned char ucBuffer[100];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;memcpy(ucBuffer, (void *)0x00005420, sizeof(ucBuffer));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will copy 100 bytes stating from the Flash address 0x5420 to the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 15:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700074#M43042</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-10-07T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need function for Flash read like flash_program in flash_demo project in kl25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700075#M43043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;Thanks for help.. I don't know why this declaration is not work for my KDS.but i understand what you said .&lt;/P&gt;&lt;P&gt;Thanks for reply..!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 15:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700075#M43043</guid>
      <dc:creator>arthshah</dc:creator>
      <dc:date>2017-10-07T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need function for Flash read like flash_program in flash_demo project in kl25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700076#M43044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KDS uses GCC. In KDS I don't get any problems. Strange...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 16:57:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-function-for-Flash-read-like-flash-program-in-flash-demo/m-p/700076#M43044</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-10-07T16:57:43Z</dc:date>
    </item>
  </channel>
</rss>

