<?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>CodeWarrior for MCU中的主题 MK20DX256VLL7 with Codewarrios Flash issue</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MK20DX256VLL7-with-Codewarrios-Flash-issue/m-p/695475#M14073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I`am using MK20DX256VLL7 with J-Link Edu and Codewarrior 10.7.&lt;/P&gt;&lt;P&gt;Debugging works fine but if I try to flash the device, get the output shown below.&lt;/P&gt;&lt;P&gt;I´ve tried all proposed solution from other tickets, without success.&lt;/P&gt;&lt;P&gt;For me, two things in the output of the flash tool are confusing. Why it says that the hex file is of 0 Byte size. This is not true. The debugging session also uses this file, successfully.&lt;/P&gt;&lt;P&gt;The second thing is about the resticted memory area. In this adress range, the controller has some NMI stuff in use but NMI is disabled in ProcessorExpert.&lt;/P&gt;&lt;P&gt;If I try to flash the elf-File with SEGGER Tools results in exactly the same behaviour. It seems like the code memory is allocated to RAM but in&amp;nbsp; the build options everthing is linked to internal flash.&lt;/P&gt;&lt;P&gt;I´ve no idea, what do, to get the programmer running with this controller. And would be very greatful for your help.&lt;/P&gt;&lt;P&gt;Thank you and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of Flash tool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;BR /&gt;fl::target -b 0x20000000 0x8000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFL_PFlash256" -o "64Kx32x1" -a 0x0 0x3ffff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\Administrator\\workspace\\test\\FLASH\\test.elf" -t "Auto Detect" -re on -r 0x0 0x3ffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;&amp;nbsp;Beginning Operation ...&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;------------------------- &lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Downloading Flash Device Driver ...&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Reading flash ID ...&lt;BR /&gt;Erasing Sector 0x00000000 to 0x000007FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00000800 to 0x00000FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00001000 to 0x000017FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00001800 to 0x00001FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00002000 to 0x000027FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00002800 to 0x00002FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00003000 to 0x000037FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00003800 to 0x00003FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00004000 to 0x000047FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00004800 to 0x00004FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00005000 to 0x000057FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00005800 to 0x00005FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Erasing ...&lt;BR /&gt;&amp;nbsp;Erase Command Succeeded&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;cmdwin::fl::write&lt;BR /&gt;------------------------- &lt;BR /&gt;Using restricted address range 0x00000000 to 0x0003FFFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Programming file C:\Users\Administrator\workspace\test\FLASH\test.elf&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Downloading Flash Device Driver ...&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Reading flash ID ...&lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Downloading 0x000001BC bytes to be programmed at 0x00000000&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Executing program ....&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Program Command Succeeded&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Downloading 0x00005BD0 bytes to be programmed at 0x00000410&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Executing program ....&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Program Command Succeeded&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;cmdwin::fl::device -d "FTFL_DFlash32S1" -o "8Kx32x1" -a 0x10000000 0x10007fff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\Administrator\\workspace\\test\\FLASH\\test.elf" -t "Auto Detect" -re on -r 0x10000000 0x10007fff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;------------------------- &lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Image size is 0 bytes, nothing to erase.&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Nothing to erase.&amp;nbsp; No sectors selected &lt;BR /&gt;Erase Command Succeeded.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;cmdwin::fl::write&lt;BR /&gt;------------------------- &lt;BR /&gt;&lt;STRONG&gt;Using restricted address range 0x10000000 to 0x10007FFF&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Programming file C:\Users\Administrator\workspace\test\FLASH\test.elf&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;0 Bytes Programmed, Check Restricted Address Range&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Program Command Succeeded&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 10:58:25 GMT</pubDate>
    <dc:creator>felixgottwald</dc:creator>
    <dc:date>2017-08-10T10:58:25Z</dc:date>
    <item>
      <title>MK20DX256VLL7 with Codewarrios Flash issue</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MK20DX256VLL7-with-Codewarrios-Flash-issue/m-p/695475#M14073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I`am using MK20DX256VLL7 with J-Link Edu and Codewarrior 10.7.&lt;/P&gt;&lt;P&gt;Debugging works fine but if I try to flash the device, get the output shown below.&lt;/P&gt;&lt;P&gt;I´ve tried all proposed solution from other tickets, without success.&lt;/P&gt;&lt;P&gt;For me, two things in the output of the flash tool are confusing. Why it says that the hex file is of 0 Byte size. This is not true. The debugging session also uses this file, successfully.&lt;/P&gt;&lt;P&gt;The second thing is about the resticted memory area. In this adress range, the controller has some NMI stuff in use but NMI is disabled in ProcessorExpert.&lt;/P&gt;&lt;P&gt;If I try to flash the elf-File with SEGGER Tools results in exactly the same behaviour. It seems like the code memory is allocated to RAM but in&amp;nbsp; the build options everthing is linked to internal flash.&lt;/P&gt;&lt;P&gt;I´ve no idea, what do, to get the programmer running with this controller. And would be very greatful for your help.&lt;/P&gt;&lt;P&gt;Thank you and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of Flash tool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;BR /&gt;fl::target -b 0x20000000 0x8000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFL_PFlash256" -o "64Kx32x1" -a 0x0 0x3ffff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\Administrator\\workspace\\test\\FLASH\\test.elf" -t "Auto Detect" -re on -r 0x0 0x3ffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;&amp;nbsp;Beginning Operation ...&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;------------------------- &lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Downloading Flash Device Driver ...&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Reading flash ID ...&lt;BR /&gt;Erasing Sector 0x00000000 to 0x000007FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00000800 to 0x00000FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00001000 to 0x000017FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00001800 to 0x00001FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00002000 to 0x000027FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00002800 to 0x00002FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00003000 to 0x000037FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00003800 to 0x00003FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00004000 to 0x000047FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00004800 to 0x00004FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00005000 to 0x000057FF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Erasing Sector 0x00005800 to 0x00005FFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Erasing ...&lt;BR /&gt;&amp;nbsp;Erase Command Succeeded&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;cmdwin::fl::write&lt;BR /&gt;------------------------- &lt;BR /&gt;Using restricted address range 0x00000000 to 0x0003FFFF&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Programming file C:\Users\Administrator\workspace\test\FLASH\test.elf&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Downloading Flash Device Driver ...&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Reading flash ID ...&lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Downloading 0x000001BC bytes to be programmed at 0x00000000&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Executing program ....&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Program Command Succeeded&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Downloading 0x00005BD0 bytes to be programmed at 0x00000410&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Executing program ....&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Program Command Succeeded&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;cmdwin::fl::device -d "FTFL_DFlash32S1" -o "8Kx32x1" -a 0x10000000 0x10007fff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\Administrator\\workspace\\test\\FLASH\\test.elf" -t "Auto Detect" -re on -r 0x10000000 0x10007fff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;------------------------- &lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Image size is 0 bytes, nothing to erase.&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Nothing to erase.&amp;nbsp; No sectors selected &lt;BR /&gt;Erase Command Succeeded.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;cmdwin::fl::write&lt;BR /&gt;------------------------- &lt;BR /&gt;&lt;STRONG&gt;Using restricted address range 0x10000000 to 0x10007FFF&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Programming file C:\Users\Administrator\workspace\test\FLASH\test.elf&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Auto-detection is successful.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;0 Bytes Programmed, Check Restricted Address Range&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Program Command Succeeded&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 10:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MK20DX256VLL7-with-Codewarrios-Flash-issue/m-p/695475#M14073</guid>
      <dc:creator>felixgottwald</dc:creator>
      <dc:date>2017-08-10T10:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: MK20DX256VLL7 with Codewarrios Flash issue</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/MK20DX256VLL7-with-Codewarrios-Flash-issue/m-p/695476#M14074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Felix,&lt;/P&gt;&lt;P&gt;Please check whether the file is right :&lt;/P&gt;&lt;P&gt;&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/18182i887F1A3F15222C57/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;If still can't work, please take screenshots to show your steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Fri, 11 Aug 2017 07:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/MK20DX256VLL7-with-Codewarrios-Flash-issue/m-p/695476#M14074</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-08-11T07:03:48Z</dc:date>
    </item>
  </channel>
</rss>

