<?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>Processor Expert SoftwareのトピックRe: EEPROM use with processor expert and K20</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178772#M439</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;it´s OK. However this is misunderstanding. You cannot use the Flash_LDD component to write into EEE area. You can use for example the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*(word*)0x14000000 = 0xAA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do not miss to check "3.3.1 EEE writes"/"3.3.2 EEE reads" sections in the AN4284 for details on flag checking during writes/reads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding missing option in debugger. What version of CW do you use? Could you please try to run debugger in the &lt;A href="https://www.freescale.com/webapp/Download?colCode=CW_MCU_10-3_BETA_EX&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=IDE%20-%20Debug,%20Compile%20and%20Build%20Tools&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=exe&amp;amp;WT_ASSET=Downloads&amp;amp;sr=0&amp;amp;Parent_nodeId=1345849127448735594517&amp;amp;Parent_pageType=product"&gt;CW V10.3 beta2&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;In case it will not help please provide a demonstration project in order to analyze it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2012 08:19:03 GMT</pubDate>
    <dc:creator>vfilip</dc:creator>
    <dc:date>2012-11-19T08:19:03Z</dc:date>
    <item>
      <title>EEPROM use with processor expert and K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178769#M436</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;I'm trying to use Processor Expert for work with "embebed" EEProm in a Kinetis K20DX256 microcontroller. Processor Expert initializes the memory map (I use, for example, 1 KB of EEPROM and 16 KB of D-Flash. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The methods given by PE works fine with P-Flash but it doesn't work with EEPROM address. I need work with this memory. How can I do it? It is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Code Warrrior 10.2 and Processor Expert for MCU Version 5.3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 10:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178769#M436</guid>
      <dc:creator>night</dc:creator>
      <dc:date>2012-11-16T10:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM use with processor expert and K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178770#M437</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;1st: Tell the Flash_LDD driver the size of EEPROM and FLASH using properties in CPU component. (Detail of CPU settings is attached)&lt;/P&gt;&lt;P&gt;2nd: Set corresponding size in debugger. (Detail of setting is attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find also some details in the following application note: &lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4282.pdf"&gt;AN4282&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 13:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178770#M437</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2012-11-16T13:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM use with processor expert and K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178771#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vojtech Filip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer. I do all that you said, but I have de same problem! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configure the memory with processor expert (with the configuration present in 'memory.png'). The CPU configuration is the same (cpu.png). After I configure the size in the debugger, but I can only configure FLASH or RAM memory (EEPROM doesn't appears like you). The code used by me here is '3402' (32 Kb of EEPROM data size and 16Kb/16Kb FlexNVM partition code). I tried it with another codes with the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, when I use the methods of the memory (like NAME_EraseBlock or NAME_Write) on the 0x14000000 adress (the EEPROM adress) the method returns a error with code 137 = ERR_PARAM_ADRESS. I only can access to 0x10000000 or more (the D-FLASH partition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much and sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Memory.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118978i0F57972747FA6300/image-size/large?v=v2&amp;amp;px=999" role="button" title="Memory.png" alt="Memory.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cpu.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118979iA9E3DBBD73BEFA90/image-size/large?v=v2&amp;amp;px=999" role="button" title="cpu.png" alt="cpu.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 16:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178771#M438</guid>
      <dc:creator>night</dc:creator>
      <dc:date>2012-11-16T16:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM use with processor expert and K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178772#M439</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;it´s OK. However this is misunderstanding. You cannot use the Flash_LDD component to write into EEE area. You can use for example the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*(word*)0x14000000 = 0xAA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do not miss to check "3.3.1 EEE writes"/"3.3.2 EEE reads" sections in the AN4284 for details on flag checking during writes/reads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding missing option in debugger. What version of CW do you use? Could you please try to run debugger in the &lt;A href="https://www.freescale.com/webapp/Download?colCode=CW_MCU_10-3_BETA_EX&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=IDE%20-%20Debug,%20Compile%20and%20Build%20Tools&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=exe&amp;amp;WT_ASSET=Downloads&amp;amp;sr=0&amp;amp;Parent_nodeId=1345849127448735594517&amp;amp;Parent_pageType=product"&gt;CW V10.3 beta2&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;In case it will not help please provide a demonstration project in order to analyze it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 08:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178772#M439</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2012-11-19T08:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM use with processor expert and K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178773#M440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks for the answer. I will use PE for the partition and traditional C directives for the use with eeprom memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIguel Ángel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 07:31:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178773#M440</guid>
      <dc:creator>night</dc:creator>
      <dc:date>2012-11-22T07:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM use with processor expert and K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178774#M441</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;I have a project built with PE component, I&amp;nbsp; am using&amp;nbsp; CW 10.4 with a P&amp;amp;E Universal Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the EEPROM in a K20DX256. I have set the Flex NVM Settings in the Flash Memory Organization.&lt;/P&gt;&lt;P&gt;The Read &amp;amp; Write uses the method you described above (*(word*)0x14000000 = 0xAA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The K20 had been previously partitioned&lt;/P&gt;&lt;P&gt;2. The project is set up to run from flash&lt;/P&gt;&lt;P&gt;3. Mass Erase the processor and run the debugger.&lt;/P&gt;&lt;P&gt;4. The project code executes a partition command.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The result from the partition command indicates a partition exists.&lt;BR /&gt;&amp;nbsp; When a read or write to the EEPROM area is attempted, the processor hangs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the NVM is not set up properly. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 18:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/EEPROM-use-with-processor-expert-and-K20/m-p/178774#M441</guid>
      <dc:creator>george2</dc:creator>
      <dc:date>2013-05-16T18:38:13Z</dc:date>
    </item>
  </channel>
</rss>

