<?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 How to read/write  &amp;quot;Program Once Filed&amp;quot; segment of flash in Kinetis KL26z256 controller? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541773#M33183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to read 64 byte "Program Once field" segment of flash in kl26z256xxx4 controller.&amp;nbsp; I have taken reference of demo example in KSDK library (\KSDK_1.3.0\examples\frdmkl26z\driver_examples\flash\kds). In this demo code there is a function :&lt;/P&gt;&lt;P&gt;uint32_t&lt;STRONG&gt; FlashReadOnce&lt;/STRONG&gt;(PFLASH_SSD_CONFIG pSSDConfig,uint8_t recordIndex, uint8_t* pDataArray, uint32_t size, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;pFLASHCOMMANDSEQUENCE pFlashCommandSequence&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;) in SSD_FTFx.h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to know more about last parameter &lt;STRONG&gt;&lt;EM&gt;pFLASHCOMMANDSEQUENCE pFlashCommandSequence. &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In demo code this parameter is caculated as follows:&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&lt;EM&gt;pFlashCommandSequence&lt;/EM&gt;&lt;/STRONG&gt;= (pFLASHCOMMANDSEQUENCE)RelocateFunction((uint32_t)ramFunc , LAUNCH_CMD_SIZE ,(uint32_t)FlashCommandSequence);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can i use it directly in flashReadOnce function as a last parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;waiting for your valuable inputs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 11:23:27 GMT</pubDate>
    <dc:creator>harshpatel</dc:creator>
    <dc:date>2016-07-06T11:23:27Z</dc:date>
    <item>
      <title>How to read/write  "Program Once Filed" segment of flash in Kinetis KL26z256 controller?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541773#M33183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to read 64 byte "Program Once field" segment of flash in kl26z256xxx4 controller.&amp;nbsp; I have taken reference of demo example in KSDK library (\KSDK_1.3.0\examples\frdmkl26z\driver_examples\flash\kds). In this demo code there is a function :&lt;/P&gt;&lt;P&gt;uint32_t&lt;STRONG&gt; FlashReadOnce&lt;/STRONG&gt;(PFLASH_SSD_CONFIG pSSDConfig,uint8_t recordIndex, uint8_t* pDataArray, uint32_t size, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;pFLASHCOMMANDSEQUENCE pFlashCommandSequence&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;) in SSD_FTFx.h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to know more about last parameter &lt;STRONG&gt;&lt;EM&gt;pFLASHCOMMANDSEQUENCE pFlashCommandSequence. &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In demo code this parameter is caculated as follows:&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&lt;EM&gt;pFlashCommandSequence&lt;/EM&gt;&lt;/STRONG&gt;= (pFLASHCOMMANDSEQUENCE)RelocateFunction((uint32_t)ramFunc , LAUNCH_CMD_SIZE ,(uint32_t)FlashCommandSequence);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can i use it directly in flashReadOnce function as a last parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;waiting for your valuable inputs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 11:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541773#M33183</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2016-07-06T11:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to read/write  "Program Once Filed" segment of flash in Kinetis KL26z256 controller?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541774#M33184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached code is what I use, you should be able to extract what you need from it.&lt;/P&gt;&lt;P&gt;There are some bits missing here like moving the flash command section to RAM that happens at boot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 13:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541774#M33184</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2016-07-06T13:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to read/write  "Program Once Filed" segment of flash in Kinetis KL26z256 controller?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541775#M33185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BOB PADDOCK&lt;/P&gt;&lt;P&gt; Thank you for your input&lt;/P&gt;&lt;P&gt;Well i can not find your attachment can you please reattach it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541775#M33185</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2016-07-06T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to read/write  "Program Once Filed" segment of flash in Kinetis KL26z256 controller?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541776#M33186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This forum software has issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see the attachments you must be logged in, then the thread must be expanded by clicking on the subject line where the thread starts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541776#M33186</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2016-07-06T14:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to read/write  "Program Once Filed" segment of flash in Kinetis KL26z256 controller?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541777#M33187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By taking your code as reference i can read as well as write "Program once filed".&lt;/P&gt;&lt;P&gt;Also Using KSDK example its also works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your inputs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;P&gt;Einfochips&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 07:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-read-write-quot-Program-Once-Filed-quot-segment-of-flash/m-p/541777#M33187</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2016-07-07T07:41:05Z</dc:date>
    </item>
  </channel>
</rss>

