<?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 Kinetis write to data flash region from JFlashARM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310442#M13344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably not the best place for this question, I already asked the question to Segger's forum ( &lt;A href="http://forum.segger.com/index.php?page=Thread&amp;amp;postID=5704" rel="nofollow noopener noreferrer" title="http://forum.segger.com/index.php?page=Thread&amp;amp;postID=5704" target="_blank"&gt;J-Flash, flashing Freescale Kinetis data flash region - J-Link/Flasher related - SEGGER Forum&lt;/A&gt; )and I am awaiting their reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made my linker script and code to store some stuff in the data flash region (not program flash region). The resulting ihex contains data for both regions in one file. When I attempt to use JFlashARM to write the ihex, it gives me an error "ERROR: Program (0x10000000 - 0x10001E5B) does not fit into selected flash sectors."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force JFlashARM into writing this second region? Do I need a second custom jflash file with a custom flash address definition? Ideally I would like to write both regions in one step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried editing my .jflash file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;[FLASH]
&amp;nbsp; NumBanks = 2
[FLASH0]
&amp;nbsp; aSectorSel[96] = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
&amp;nbsp; AutoDetect = 0
&amp;nbsp; BankName = ""
&amp;nbsp; BankSelMode = 1
&amp;nbsp; BaseAddr = 0x00000000
&amp;nbsp; CheckId = 0
&amp;nbsp; CustomRAMCode = ""
&amp;nbsp; DeviceName = "MK10DX64xxx Program Flash"
&amp;nbsp; EndBank = 95
&amp;nbsp; OrgNumBits = 32
&amp;nbsp; OrgNumChips = 1
&amp;nbsp; StartBank = 0
&amp;nbsp; UseCustomRAMCode = 0
[FLASH1]
&amp;nbsp; aSectorSel[32] = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
&amp;nbsp; AutoDetect = 0
&amp;nbsp; BankName = ""
&amp;nbsp; BankSelMode = 1
&amp;nbsp; BaseAddr = 0x10000000
&amp;nbsp; CheckId = 0
&amp;nbsp; CustomRAMCode = ""
&amp;nbsp; DeviceName = "Data Flash"
&amp;nbsp; EndBank = 31
&amp;nbsp; OrgNumBits = 32
&amp;nbsp; OrgNumChips = 1
&amp;nbsp; StartBank = 0
&amp;nbsp; UseCustomRAMCode = 0&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but that gave me a error "Read CFI info: unsupported flash type / bus width (10113200), please contact &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:info@segger.com" rel="nofollow noopener noreferrer" target="_blank"&gt;info@segger.com&lt;/A&gt;&lt;SPAN&gt; Failed to read CFI info Failed to connect Could not auto program target, not connected"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 19:54:56 GMT</pubDate>
    <dc:creator>frank26080115</dc:creator>
    <dc:date>2014-04-03T19:54:56Z</dc:date>
    <item>
      <title>Kinetis write to data flash region from JFlashARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310442#M13344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably not the best place for this question, I already asked the question to Segger's forum ( &lt;A href="http://forum.segger.com/index.php?page=Thread&amp;amp;postID=5704" rel="nofollow noopener noreferrer" title="http://forum.segger.com/index.php?page=Thread&amp;amp;postID=5704" target="_blank"&gt;J-Flash, flashing Freescale Kinetis data flash region - J-Link/Flasher related - SEGGER Forum&lt;/A&gt; )and I am awaiting their reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made my linker script and code to store some stuff in the data flash region (not program flash region). The resulting ihex contains data for both regions in one file. When I attempt to use JFlashARM to write the ihex, it gives me an error "ERROR: Program (0x10000000 - 0x10001E5B) does not fit into selected flash sectors."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force JFlashARM into writing this second region? Do I need a second custom jflash file with a custom flash address definition? Ideally I would like to write both regions in one step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried editing my .jflash file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;[FLASH]
&amp;nbsp; NumBanks = 2
[FLASH0]
&amp;nbsp; aSectorSel[96] = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
&amp;nbsp; AutoDetect = 0
&amp;nbsp; BankName = ""
&amp;nbsp; BankSelMode = 1
&amp;nbsp; BaseAddr = 0x00000000
&amp;nbsp; CheckId = 0
&amp;nbsp; CustomRAMCode = ""
&amp;nbsp; DeviceName = "MK10DX64xxx Program Flash"
&amp;nbsp; EndBank = 95
&amp;nbsp; OrgNumBits = 32
&amp;nbsp; OrgNumChips = 1
&amp;nbsp; StartBank = 0
&amp;nbsp; UseCustomRAMCode = 0
[FLASH1]
&amp;nbsp; aSectorSel[32] = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
&amp;nbsp; AutoDetect = 0
&amp;nbsp; BankName = ""
&amp;nbsp; BankSelMode = 1
&amp;nbsp; BaseAddr = 0x10000000
&amp;nbsp; CheckId = 0
&amp;nbsp; CustomRAMCode = ""
&amp;nbsp; DeviceName = "Data Flash"
&amp;nbsp; EndBank = 31
&amp;nbsp; OrgNumBits = 32
&amp;nbsp; OrgNumChips = 1
&amp;nbsp; StartBank = 0
&amp;nbsp; UseCustomRAMCode = 0&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but that gave me a error "Read CFI info: unsupported flash type / bus width (10113200), please contact &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:info@segger.com" rel="nofollow noopener noreferrer" target="_blank"&gt;info@segger.com&lt;/A&gt;&lt;SPAN&gt; Failed to read CFI info Failed to connect Could not auto program target, not connected"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 19:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310442#M13344</guid>
      <dc:creator>frank26080115</dc:creator>
      <dc:date>2014-04-03T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis write to data flash region from JFlashARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310443#M13345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Kinetis device and which IDE are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 22:03:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310443#M13345</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2014-04-07T22:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis write to data flash region from JFlashARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310444#M13346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Eclipse, GCC 4.7.2, and MK10DX64&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 23:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310444#M13346</guid>
      <dc:creator>frank26080115</dc:creator>
      <dc:date>2014-04-07T23:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis write to data flash region from JFlashARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310445#M13347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried CodeWarrior? The last version is CW10.6 and you can download it from &lt;A href="http://www.freescale.com/cwmcu10"&gt;www.freescale.com/cwmcu10&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 19:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-write-to-data-flash-region-from-JFlashARM/m-p/310445#M13347</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2014-04-09T19:14:11Z</dc:date>
    </item>
  </channel>
</rss>

