<?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 MicrocontrollersのトピックHow to write and read KEA128 Flash</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745456#M45404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are &amp;nbsp;two problems that confused me:&lt;/P&gt;&lt;P&gt;1. i have to write some global &amp;nbsp;uint32_t &amp;nbsp;variates into flash, these variates need to be updata according to the routine demands.How to write variates into fixed address of flash &lt;A _jive_internal="true" href="https://community.nxp.com/discussion/?keyword=respectively"&gt;respectively&lt;/A&gt;, and how to read the content of these fixed address&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/discussion/?keyword=respectively"&gt;respectively&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2. &amp;nbsp;i use the last few sectors to storage golbal variates which need to be updata, one sector has 512 byte. when i update&amp;nbsp;one of the bytes, the others &amp;nbsp;stay the same, but before i write the flash ,i have to erase the sector. what my operation is correct? how i do to write the flash?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Mar 2018 01:43:38 GMT</pubDate>
    <dc:creator>jikanghu</dc:creator>
    <dc:date>2018-03-11T01:43:38Z</dc:date>
    <item>
      <title>How to write and read KEA128 Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745456#M45404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are &amp;nbsp;two problems that confused me:&lt;/P&gt;&lt;P&gt;1. i have to write some global &amp;nbsp;uint32_t &amp;nbsp;variates into flash, these variates need to be updata according to the routine demands.How to write variates into fixed address of flash &lt;A _jive_internal="true" href="https://community.nxp.com/discussion/?keyword=respectively"&gt;respectively&lt;/A&gt;, and how to read the content of these fixed address&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/discussion/?keyword=respectively"&gt;respectively&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2. &amp;nbsp;i use the last few sectors to storage golbal variates which need to be updata, one sector has 512 byte. when i update&amp;nbsp;one of the bytes, the others &amp;nbsp;stay the same, but before i write the flash ,i have to erase the sector. what my operation is correct? how i do to write the flash?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2018 01:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745456#M45404</guid>
      <dc:creator>jikanghu</dc:creator>
      <dc:date>2018-03-11T01:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to write and read KEA128 Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745457#M45405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hu,&lt;/P&gt;&lt;P&gt;1. Flash operate functions are in flash.c. If you need some demo to guide you to fast access, you can download ke_drv_lib_2.0 from&amp;nbsp;NXP website. This library is for MKE series, but also&amp;nbsp;fit for&amp;nbsp;KEA MCU. Read flash is just like read a ram. you can do it like this way: data=(*(unsigned char*)address);&lt;/P&gt;&lt;P&gt;2. Yes, flash can be written in byte, but can only be changed after sector erase. this is the most special feature of NOR flash, different with EEPROM. And flash can not be write-erase for ever. NXP guarantee 100k write-erase cycle for its product. You must use software to smooth your operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 03:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745457#M45405</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-03-14T03:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to write and read KEA128 Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745458#M45406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jing，&lt;/P&gt;&lt;P&gt;Thanks for your replay, &amp;nbsp;the read operation like :data =&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(*(unsigned char*)0xf801) is right? would you give the download link of&amp;nbsp;&lt;SPAN&gt;ke_drv_lib_2.0, i can't find it in NXP website, thanks a lot.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745458#M45406</guid>
      <dc:creator>jikanghu</dc:creator>
      <dc:date>2018-03-19T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to write and read KEA128 Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745459#M45407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use KEAZ64 , another question,I defined a new sectors for my application, like this below, is this right?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34192iE274A1320BB9EACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34276iD33FA7D4C250F17D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;,do i need to modfied flash.ld file and startup_SKEAZ1284.S file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:44:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745459#M45407</guid>
      <dc:creator>jikanghu</dc:creator>
      <dc:date>2018-03-19T15:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to write and read KEA128 Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745460#M45408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. data =&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(*(unsigned char*)0xf801)&lt;/SPAN&gt;&amp;nbsp;:&amp;nbsp;&amp;nbsp; Yes, it's ok. But take care, something like &amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(*(unsigned int*)0xf801) will cause hardfault. It's not an alignment reading.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. You can download it at &lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;3. Of course you must modified flash.ld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 02:45:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-write-and-read-KEA128-Flash/m-p/745460#M45408</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-03-20T02:45:31Z</dc:date>
    </item>
  </channel>
</rss>

