<?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: Flash memory test library generated from Processor Expert in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770054#M46855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I forgot to tell you the 32 bit MCU. Our MCU is MK20DX256VLH7. I'm going to look up C90TFS driver but I would be grateful if you could please give me a similar solution for MK20DX256VLH MCU or a solution for a similar microcontroller that could be worth with MK20DX256VLH7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&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;Arturo Arteaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2018 07:41:51 GMT</pubDate>
    <dc:creator>arturoarteaga</dc:creator>
    <dc:date>2018-01-09T07:41:51Z</dc:date>
    <item>
      <title>Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770052#M46853</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;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;I wanted to know if there are any libraries with functions that allow to test the flash memory during startup or cyclically every certain period of time for 32 bit uC, in order to detect any one bit error and most of the two bit errors of the program copies and the data stored in the volatile flash memory.&lt;BR /&gt;&lt;BR /&gt;If this library exists with these testing functions, I would also like to ask you whether it is possible to generate it using the Processor Expert tool in KDS from a specific component generated by the component library.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;If it is not possible to generate it by means of Processor Expert can you please tell me another way where I can find this library with these functions or how could I develop a function to make a similar test of the flash memory?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Arturo Arteaga&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 15:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770052#M46853</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2018-01-08T15:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770053#M46854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't know what the 32 bit MCU you are using, if you want to test the flash, I think you can use the code, program the data, then read it out, and compare with the data which you have programmed, then to check whether the flash data is correct or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So, you can use the flash code, now give you some standard software driver for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please refer to our C90TFS driver:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://cache.nxp.com/downloads/en/device-drivers/C90TFS-FLASH-DRIVER-DEVD.exe?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="https://cache.nxp.com/downloads/en/device-drivers/C90TFS-FLASH-DRIVER-DEVD.exe?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;https://cache.nxp.com/downloads/en/device-drivers/C90TFS-FLASH-DRIVER-DEVD.exe?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 05:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770053#M46854</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-09T05:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770054#M46855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I forgot to tell you the 32 bit MCU. Our MCU is MK20DX256VLH7. I'm going to look up C90TFS driver but I would be grateful if you could please give me a similar solution for MK20DX256VLH MCU or a solution for a similar microcontroller that could be worth with MK20DX256VLH7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&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;Arturo Arteaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 07:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770054#M46855</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2018-01-09T07:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770055#M46856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Actually,&amp;nbsp;&amp;nbsp; MK20DX256VLH7 can refer to the MK20DX256xxx7 project, which you can find it in the C90TFS folder:&lt;/P&gt;&lt;P&gt;Standard Software Driver v1.0.4\C90TFS\Demos\build\MK40DX256xxx7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 07:51:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770055#M46856</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-09T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770056#M46857</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;Thanks for send me the library for MK20dx256. One question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you Know where I can find a funtion or a file where I can check the flash memory at start up or periodically in the run time. I want to Know&amp;nbsp;if there is corrupt memory at the start up or if this is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&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;Arturo Arteaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770056#M46857</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2018-01-09T16:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770057#M46858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you want to check all the flash memory or just some area?&lt;/P&gt;&lt;P&gt;&amp;nbsp; As you know, if the MCU is start up, it will run the application code.&lt;/P&gt;&lt;P&gt;1&amp;nbsp; If you want to check the programmed area, actually, when you download the code, a lot of IDE have the verify function, this function is used to read out the programmed flash area, and compare it with the code which you has been write, if it is not the same, it means the download have problems, it also can check the flash area.&lt;/P&gt;&lt;P&gt;2. if you just want to check the flash area which don't have the program code, you can write the flash write and read code in the application code to check it, but take care, before you write the programmed flash area, you need to erase it at first.&lt;/P&gt;&lt;P&gt;You can add the flash write and read code in the start up file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 07:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770057#M46858</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-10T07:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770058#M46859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check&amp;nbsp;all flash memory with code and dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You tell me that there are verify funtion for IDEs that read out the programmed flash area, and compare it with the code which you has been write. Which functions are there that you mention?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Could you please be kind to show me an example with functions of a library?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thanks a lot for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Have a great day too.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Arturo Arteaga&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 08:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770058#M46859</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2018-01-10T08:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory test library generated from Processor Expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770059#M46860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;1. Flash code check&lt;/P&gt;&lt;P&gt;&amp;nbsp; Take an example, MDK associated with JLINK, when you download the code, there has a item: verify code download&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/4144i44B5FD838C5DC028/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;&amp;nbsp; If you don't use MDK IDE, just use JLINK with JFLASH to download the code, it also have the verify function:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4058i7B368BA830327325/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, if you just want to check the application code, I suggest you to verify it after download the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. We don't have the lib which can check the whole flash(include the application code) in the code.&lt;/P&gt;&lt;P&gt;As you know, the flash contains the code area and blank flash area, code area, I think you can check it when you downloade the code, other blank flash area which you want to use it by calling the code, you can erase that flash sector, check the flash area data, whether it is 0XFF or not, then write the flash area, read it out, compare with the data you have written.&lt;/P&gt;&lt;P&gt;All these can be realized by the flash erase, write, read, these functions can be found in the C90TFS which I give you before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 08:42:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-memory-test-library-generated-from-Processor-Expert/m-p/770059#M46860</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-12T08:42:44Z</dc:date>
    </item>
  </channel>
</rss>

