<?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 MK64FN1M0VMD12 | Flashing Issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975217#M66855</link>
    <description>&lt;P&gt;Hello Community&lt;/P&gt;&lt;DIV&gt;We are trying&amp;nbsp;to flash the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;MK64FN1M0VMD12&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;on a custom board with the help&amp;nbsp;of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FRDMK64F&amp;nbsp;&lt;/STRONG&gt;Evaluation Board (ported to SEGGER J-link).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are following the same Connections, as NXP recommended&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Note: J11 trace cut is done to use the EVB to flash the external&amp;nbsp;MCU.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305024i03EFC0AB36854D93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;When we try to flash the external MK64FN1M0VMD12&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;we are facing the issue,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="times new roman, serif"&gt;fl::target -lc "bringup1"&lt;BR /&gt;fl::target -b 0x1fff0000 0x40000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\vvsa\\Downloads\\mcu-bringup1.bin" -t "Auto Detect" -re on -r 0x0 0xfffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;&amp;nbsp;Beginning Operation ... &amp;nbsp; &amp;nbsp;&lt;BR /&gt;-------------------------&lt;BR /&gt;Auto-detection is successful. &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Binary/Raw Format. &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Performing target initialization ... &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Downloading Flash Device Driver ... &amp;nbsp;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;Error: &amp;nbsp;Couldn't write flash driver to target.&amp;nbsp; Can not read target memory at location: 0x000000001FFF0000.Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory..&lt;BR /&gt;An invalid preference was passed to the GDI protocol plugin(ARM GDI Protocol Adapter)&lt;BR /&gt;Error: Couldn't write flash driver to target.Can not read target memory at location: 0x000000001FFF0000.&lt;BR /&gt;Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory..&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="times new roman, serif"&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but we are able to flash MCU present on the EVB itself.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kindly help us on this..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 16 Oct 2024 13:17:42 GMT</pubDate>
    <dc:creator>HariHaran4274</dc:creator>
    <dc:date>2024-10-16T13:17:42Z</dc:date>
    <item>
      <title>MK64FN1M0VMD12 | Flashing Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975217#M66855</link>
      <description>&lt;P&gt;Hello Community&lt;/P&gt;&lt;DIV&gt;We are trying&amp;nbsp;to flash the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;MK64FN1M0VMD12&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;on a custom board with the help&amp;nbsp;of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FRDMK64F&amp;nbsp;&lt;/STRONG&gt;Evaluation Board (ported to SEGGER J-link).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are following the same Connections, as NXP recommended&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Note: J11 trace cut is done to use the EVB to flash the external&amp;nbsp;MCU.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305024i03EFC0AB36854D93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;When we try to flash the external MK64FN1M0VMD12&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;we are facing the issue,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="times new roman, serif"&gt;fl::target -lc "bringup1"&lt;BR /&gt;fl::target -b 0x1fff0000 0x40000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\vvsa\\Downloads\\mcu-bringup1.bin" -t "Auto Detect" -re on -r 0x0 0xfffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;&amp;nbsp;Beginning Operation ... &amp;nbsp; &amp;nbsp;&lt;BR /&gt;-------------------------&lt;BR /&gt;Auto-detection is successful. &amp;nbsp;&lt;BR /&gt;&amp;nbsp; File is of type Binary/Raw Format. &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Performing target initialization ... &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;Downloading Flash Device Driver ... &amp;nbsp;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;Error: &amp;nbsp;Couldn't write flash driver to target.&amp;nbsp; Can not read target memory at location: 0x000000001FFF0000.Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory..&lt;BR /&gt;An invalid preference was passed to the GDI protocol plugin(ARM GDI Protocol Adapter)&lt;BR /&gt;Error: Couldn't write flash driver to target.Can not read target memory at location: 0x000000001FFF0000.&lt;BR /&gt;Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write memory..&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="times new roman, serif"&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but we are able to flash MCU present on the EVB itself.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kindly help us on this..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Oct 2024 13:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975217#M66855</guid>
      <dc:creator>HariHaran4274</dc:creator>
      <dc:date>2024-10-16T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: MK64FN1M0VMD12 | Flashing Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975381#M66857</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be helping on your case, I reviewed your information. The J9 is only for an end communication from the debugger, I mean with this could not communicate an external MCU.&lt;/P&gt;
&lt;P&gt;The J9 is using for updating the firmware on the MK20 that acts as debugger on the board.&lt;BR /&gt;The J10 is for flash the MK64 interface as SWD to use with an external debugger.&lt;/P&gt;
&lt;P&gt;This is a scenario that is not explored by NXP but maybe this thread could help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2015/09/08/using-frdm-k64f-board-to-debug-another-kinetis-board/" target="_blank"&gt;Using FRDM-K64F Board to debug another Kinetis Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 17:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975381#M66857</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-10-16T17:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: MK64FN1M0VMD12 | Flashing Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975412#M66858</link>
      <description>&lt;P&gt;Hello Pavel, Thanks for the reply.&lt;/P&gt;&lt;P&gt;If that is the case, i will update you the test scenarios we have done so for.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;STRONG&gt;Segger J-link with custom board :&amp;nbsp;&lt;/STRONG&gt; we have connected the Segger J-link with our custom board, there also we have faced the same issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;console output :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "gpiobin"&lt;BR /&gt;fl::target -b 0x1fff0000 0x40000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\vvsa\\Downloads\\gpio.bin" -t "Auto Detect" -re on -r 0x0 0xfffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;Beginning Operation ...&lt;BR /&gt;-------------------------&lt;BR /&gt;Auto-detection is successful.&lt;BR /&gt;File is of type Binary/Raw Format.&lt;BR /&gt;&lt;BR /&gt;Performing target initialization ...&lt;BR /&gt;Downloading Flash Device Driver ...&lt;BR /&gt;Reading flash ID ...&lt;BR /&gt;Erasing Sector 0x00000000 to 0x00000FFF&lt;BR /&gt;Erasing Sector 0x00001000 to 0x00001FFF&lt;BR /&gt;Erasing Sector 0x00002000 to 0x00002FFF&lt;BR /&gt;Erasing Sector 0x00003000 to 0x00003FFF&lt;BR /&gt;Erasing Sector 0x00004000 to 0x00004FFF&lt;BR /&gt;Erasing Sector 0x00005000 to 0x00005FFF&lt;BR /&gt;Erasing Sector 0x00006000 to 0x00006FFF&lt;BR /&gt;Erasing Sector 0x00007000 to 0x00007FFF&lt;BR /&gt;Erasing Sector 0x00008000 to 0x00008FFF&lt;BR /&gt;Erasing Sector 0x00009000 to 0x00009FFF&lt;BR /&gt;Erasing Sector 0x0000A000 to 0x0000AFFF&lt;BR /&gt;Erasing Sector 0x0000B000 to 0x0000BFFF&lt;BR /&gt;Erasing Sector 0x0000C000 to 0x0000CFFF&lt;BR /&gt;Erasing Sector 0x0000D000 to 0x0000DFFF&lt;BR /&gt;Erasing Sector 0x0000E000 to 0x0000EFFF&lt;BR /&gt;Erasing Sector 0x0000F000 to 0x0000FFFF&lt;BR /&gt;Erasing Sector 0x00010000 to 0x00010FFF&lt;BR /&gt;Erasing Sector 0x00011000 to 0x00011FFF&lt;BR /&gt;Erasing Sector 0x00012000 to 0x00012FFF&lt;BR /&gt;Erasing Sector 0x00013000 to 0x00013FFF&lt;BR /&gt;Erasing Sector 0x00014000 to 0x00014FFF&lt;BR /&gt;Erasing Sector 0x00015000 to 0x00015FFF&lt;BR /&gt;Erasing Sector 0x00016000 to 0x00016FFF&lt;BR /&gt;Erasing Sector 0x00017000 to 0x00017FFF&lt;BR /&gt;Erasing Sector 0x00018000 to 0x00018FFF&lt;BR /&gt;Erasing Sector 0x00019000 to 0x00019FFF&lt;BR /&gt;Erasing Sector 0x0001A000 to 0x0001AFFF&lt;BR /&gt;Erasing Sector 0x0001B000 to 0x0001BFFF&lt;BR /&gt;Erasing Sector 0x0001C000 to 0x0001CFFF&lt;BR /&gt;Erasing ...&lt;BR /&gt;Erase Command Succeeded&lt;BR /&gt;cmdwin::fl::write&lt;BR /&gt;Beginning Operation ...&lt;BR /&gt;-------------------------&lt;BR /&gt;Using restricted address range 0x00000000 to 0x000FFFFF&lt;BR /&gt;Programming file C:\Users\vvsa\Downloads\gpio.bin&lt;BR /&gt;Auto-detection is successful.&lt;BR /&gt;File is of type Binary/Raw Format.&lt;BR /&gt;&lt;BR /&gt;Downloading Flash Device Driver ...&lt;BR /&gt;Reading flash ID ...&lt;BR /&gt;Auto-detection is successful.&lt;BR /&gt;File is of type Binary/Raw Format.&lt;BR /&gt;&lt;BR /&gt;Downloading 0x00010000 bytes to be programmed at 0x00000000&lt;BR /&gt;Downloading 0x0000C638 bytes to be programmed at 0x00010000&lt;BR /&gt;Executing program ....&lt;BR /&gt;Executing program .....&lt;BR /&gt;Program Command Succeeded&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;Segger j-link with FRDMK64F : &lt;/STRONG&gt;we have connected the Segger J-link to the J9 of FRDMk64f with j8 and j12&amp;nbsp; trace cut. here, we are able to flash the MCU.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Console output:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;fl::target -lc "bringup1"&lt;BR /&gt;fl::target -b 0x1fff0000 0x40000&lt;BR /&gt;fl::target -v off -l off&lt;BR /&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;BR /&gt;cmdwin::fl::image -f "C:\\Users\\vvsa\\Downloads\\mcu-bringup1.bin" -t "Auto Detect" -re on -r 0x0 0xfffff -oe off&lt;BR /&gt;cmdwin::fl::erase image&lt;BR /&gt;Beginning Operation ...&lt;BR /&gt;-------------------------&lt;BR /&gt;Auto-detection is successful.&lt;BR /&gt;File is of type Binary/Raw Format.&lt;BR /&gt;&lt;BR /&gt;Performing target initialization ...&lt;BR /&gt;Downloading Flash Device Driver ...&lt;BR /&gt;Error: Couldn't write flash driver to target. Can not read target memory at location: 0x000000001FFF0000.Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write m&lt;BR /&gt;emory..&lt;BR /&gt;An invalid preference was passed to the GDI protocol plugin(ARM GDI Protocol Adapter)&lt;BR /&gt;Error: Couldn't write flash driver to target.Can not read target memory at location: 0x000000001FFF0000.&lt;BR /&gt;Please make sure that the chip selects are properly configured.&lt;BR /&gt;The CWPP response code is: ARM GDI Protocol Adapter : An error occurred while trying to write memory. The Debugger can not write m&lt;BR /&gt;emory..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the connections on both scenarios below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (1).png" style="width: 350px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305085i6C392B5FA192BD8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (1).png" alt="image (1).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (2).png" style="width: 298px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305086iE74D192AC1024821/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (2).png" alt="image (2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 18:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK64FN1M0VMD12-Flashing-Issue/m-p/1975412#M66858</guid>
      <dc:creator>HariHaran4274</dc:creator>
      <dc:date>2024-10-16T18:14:48Z</dc:date>
    </item>
  </channel>
</rss>

