<?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: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269214#M8973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand.&amp;nbsp; SIM_FCFG1 is not showing that the device is actually erased.&amp;nbsp; Whereas the Read Resource Command does.&amp;nbsp; I will give that a try.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Dec 2013 16:10:22 GMT</pubDate>
    <dc:creator>marcbunyard</dc:creator>
    <dc:date>2013-12-30T16:10:22Z</dc:date>
    <item>
      <title>Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269209#M8968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with the TWR-K20D72M, Code Warrior 10.4, PE, and Multilink Universal.&amp;nbsp; After downloading my code, if I have the debugger stop at code entry, I see the value of 0XFF030B00 in SIM_FCFG1. I have tried using the "Enable Partitioning for the device" selection in "Advanced Programming"&amp;nbsp; under "Debug Configurations", and some settings work while others don't.&amp;nbsp; I can't configure the FlexNVM to a "No EEProm" state.&amp;nbsp; I'm assuming I need the chip in this state to test any application code that will partition the memory when the chip is first configured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 18:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269209#M8968</guid>
      <dc:creator>marcbunyard</dc:creator>
      <dc:date>2013-12-18T18:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269210#M8969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I contacted Roger Collins to find out what his solution was, and he said he never found one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I ended up doing was configuring the EEPROM space through Debug Configurations-&amp;gt;Connection:Edit-&amp;gt;Connection:Advanced Programming Options-&amp;gt;Enable Partitioning for the device.&amp;nbsp; I used 0x3601 which sets the device up for 256 bytes EEPROM space and 24K NVM.&amp;nbsp; I did this and downloaded once,&amp;nbsp; then unchecked "Enable Partitioning for the device".&amp;nbsp; This seems to have programmed the partition, and leaves it alone for the rest of development.&amp;nbsp; I then checked the non-volatile perfomance of the data by setting values in the EEPROM, power cycling, and outputing them from my device to verify that they were there.&amp;nbsp; They were.&amp;nbsp; It seems that one cannot work with the debugger and non-volatile memory.&amp;nbsp; Every time I download, the non-volatile memory gets erased.&amp;nbsp; Even when I try to tell the debugger to preserve portions of the memory (when I do that, I get an error, and am unable to continue).&amp;nbsp; I never got the device to show the unprogrammed state.&amp;nbsp; We will have to see with a new board...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 19:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269210#M8969</guid>
      <dc:creator>marcbunyard</dc:creator>
      <dc:date>2013-12-26T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269211#M8970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I check the Kinetis 72MHz 1N36B&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/errata/KINETIS72MHZ_1N36B.pdf"&gt; errata file&lt;/A&gt; with below info:&lt;/P&gt;&lt;P&gt;e6272: SIM: The System Integration Module Registers may not be programmed correctly.&lt;/P&gt;&lt;P&gt;Errata type: Errata&lt;/P&gt;&lt;P&gt;Description: The following System Integration Modules Registers may not be programmed correctly: the FAMID and PINID bit fields in the SIM_SDID Register, the RAMSIZE in the SIM_SOPT1 Register, the NVMSIZE, PFSIZE and EESIZE in SIM_FCFG1 Register and information in the Unique ID Registers SIM_UIDx.&lt;/P&gt;&lt;P&gt;Workaround: In next revision of silicon, these values will be programmed correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use on board OSJTAG tool to mass erase the chip&amp;nbsp; and can get the chip Data Flash IFR address 0xFC and 0xFD with 0xFF value.&lt;/P&gt;&lt;P&gt;Then it can run the Program Partition Command after Erase ALL Blocks Command.&lt;/P&gt;&lt;P&gt;You could check below picture to get more detailed info:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flash.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42039i7F9E3020F0DC51B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="flash.jpg" alt="flash.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would recommend customer to use Read Resource Command to get Data Flash IFR value instead of using SIM_FCFG1 register.&lt;/P&gt;&lt;P&gt;Customer can find Flash operation example demo for TWR-K20D72M board at below link:&lt;/P&gt;&lt;P&gt;C90TFS_FLASH_DRIVER (TFS Flash Driver Software for Kinetis and ColdFire+ Microcontrollers)&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe"&gt;http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 03:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269211#M8970</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-12-27T03:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269212#M8971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Hui_Ma.&amp;nbsp; I have downloaded the C90TFS package and will start looking it over.&amp;nbsp; I was using code found in CW_MCU_v10_1_Examples that executes if ((SIM_FCFG1 &amp;amp; SIM_FCFG1_DEPART(0xF)) != 0x00000F00).&amp;nbsp; I take it this is no longer recommended? Also, I wrote code that performed a mass erase, and set a break point afterward (from RAM).&amp;nbsp; I read the correct values from SIM_FCFG1, but of course any code in flash had been erased.&amp;nbsp; When I downloaded again, the value in SIM_FCFG1 had changed.&amp;nbsp; When you say "Then it can run the Program Partition Command after Erase ALL Blocks Command." do you mean you have a way of getting program code into flash after the erase without changing the values in SIM_FCFG1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 16:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269212#M8971</guid>
      <dc:creator>marcbunyard</dc:creator>
      <dc:date>2013-12-27T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269213#M8972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For there with SIM_FCFG1 errata issue, there is no recommend to detect SIM_FCFG1 register value checking before do program partition command. I would recommend customer to use Read Resource Command to check the Data Flash IFR Map EEPROM data set size value [EEESIZE]. I have checked during Flash program phase if there with JTAG Mass erase operation, the Data Flash IFR EEESIZE was erased to 0xFF value, that means customer can do Program Partition Command.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 02:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269213#M8972</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-12-30T02:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269214#M8973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand.&amp;nbsp; SIM_FCFG1 is not showing that the device is actually erased.&amp;nbsp; Whereas the Read Resource Command does.&amp;nbsp; I will give that a try.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 16:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269214#M8973</guid>
      <dc:creator>marcbunyard</dc:creator>
      <dc:date>2013-12-30T16:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the K20 tower and CodeWarrior,  and my FlexNMW is coming up already partitioned.  I get 3 for EESIZE  and 0xB for DEPART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269215#M8974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having returned to this problem of DEPART = 0x0B after mass erase using P&amp;amp;E micro multilink universal I thought I would try upgrading from CW10.4 to CW 10.6. Bingo! DEPART is now erased to 0x0F and programming partition now works just fine. I thought I would share this :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 12:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Working-with-the-K20-tower-and-CodeWarrior-and-my-FlexNMW-is/m-p/269215#M8974</guid>
      <dc:creator>julian_morrison</dc:creator>
      <dc:date>2014-08-27T12:30:45Z</dc:date>
    </item>
  </channel>
</rss>

