<?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 K24FN1M0 Fails Flashing in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K24FN1M0-Fails-Flashing/m-p/1450834#M63007</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We've built a secondary board using this MCU (MK24FN1M0VDC12) and we're seeing weird errors when trying to flash this new board. We've tried both the LPC Link2 and a JLink Edu that we had around.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;failed read ProgramPage message readyness - rc Em(12). Target rejected debug access at location 0x20002770&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;NXP: MK24FN1M0xxx12&lt;BR /&gt;DAP stride is 4096 bytes (1024 words)&lt;BR /&gt;Inspected v.2 On chip Kinetis Flash memory module FTFE_4K.cfx&lt;BR /&gt;Image 'Kinetis SemiGeneric May 22 2019 12:27:52'&lt;BR /&gt;Opening flash driver FTFE_4K.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'K 22 FTFE Generic 4K' detected (1MB = 256*4K at 0x0)&lt;BR /&gt;Closing flash driver FTFE_4K.cfx&lt;BR /&gt;( 65) Chip Setup Complete&lt;BR /&gt;Connected: was_reset=true. was_stopped=true&lt;BR /&gt;( 70) License Check Complete&lt;BR /&gt;Loading 'Test.elf' ELF 0x00000000 len 0x3E49A&lt;BR /&gt;Opening flash driver FTFE_4K.cfx (already resident)&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'K 22 FTFE Generic 4K' detected (1MB = 256*4K at 0x0)&lt;BR /&gt;Writing 255132 bytes to address 0x00000000 in Flash&lt;BR /&gt;1 of 1 ( &amp;nbsp;0) Writing pages 0-62 at 0x00000000 with 255132 bytes&lt;BR /&gt;( &amp;nbsp;0) at 00000000: 0 bytes - 0/255132&lt;BR /&gt;failed read ProgramPage message readyness - rc Em(12). Target rejected debug access at location 0x20002770&lt;BR /&gt;Closing flash driver FTFE_4K.cfx&lt;BR /&gt;state - running or following reset request - re-read of state failed - rc Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;failed to send op Terminate message - rc Em(12). Target rejected debug access at location 0x20002760&lt;BR /&gt;(100) Writing Flash ended with an error.&lt;BR /&gt;File 'Test.elf' load failure: Em(12). Target rejected debug access at location 0x20002760&lt;BR /&gt;Loading 'Test.elf' ELF 0x0003E49C len 0x21EAC&lt;BR /&gt;Writing 138924 bytes to address 0x0003E49C in Flash&lt;BR /&gt;1 of 1 ( &amp;nbsp;0) Writing pages 62-96 at 0x0003E49C with 138924 bytes&lt;BR /&gt;( &amp;nbsp;0) at 0003E000: 0 bytes - 0/140104&lt;BR /&gt;Flash part-sector read at 0003E000[0x49C] failed - rc Em(12). Target rejected debug access at location 0x0003E000&lt;BR /&gt;Closing flash driver FTFE_4K.cfx&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;We believe it to be a problem with the board, but this is quite an odd behaviour. To sum it up:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Flashing this board with our standard ELF file doesn't work&lt;/LI&gt;&lt;LI&gt;Flashing another board design (but which uses the same MCU) with the same ELF works perfectly&lt;/LI&gt;&lt;LI&gt;Flashing this board with a simple "Hello world" app works fine.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 16:25:06 GMT</pubDate>
    <dc:creator>odd_bikes</dc:creator>
    <dc:date>2022-04-28T16:25:06Z</dc:date>
    <item>
      <title>K24FN1M0 Fails Flashing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K24FN1M0-Fails-Flashing/m-p/1450834#M63007</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We've built a secondary board using this MCU (MK24FN1M0VDC12) and we're seeing weird errors when trying to flash this new board. We've tried both the LPC Link2 and a JLink Edu that we had around.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;failed read ProgramPage message readyness - rc Em(12). Target rejected debug access at location 0x20002770&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;NXP: MK24FN1M0xxx12&lt;BR /&gt;DAP stride is 4096 bytes (1024 words)&lt;BR /&gt;Inspected v.2 On chip Kinetis Flash memory module FTFE_4K.cfx&lt;BR /&gt;Image 'Kinetis SemiGeneric May 22 2019 12:27:52'&lt;BR /&gt;Opening flash driver FTFE_4K.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'K 22 FTFE Generic 4K' detected (1MB = 256*4K at 0x0)&lt;BR /&gt;Closing flash driver FTFE_4K.cfx&lt;BR /&gt;( 65) Chip Setup Complete&lt;BR /&gt;Connected: was_reset=true. was_stopped=true&lt;BR /&gt;( 70) License Check Complete&lt;BR /&gt;Loading 'Test.elf' ELF 0x00000000 len 0x3E49A&lt;BR /&gt;Opening flash driver FTFE_4K.cfx (already resident)&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'K 22 FTFE Generic 4K' detected (1MB = 256*4K at 0x0)&lt;BR /&gt;Writing 255132 bytes to address 0x00000000 in Flash&lt;BR /&gt;1 of 1 ( &amp;nbsp;0) Writing pages 0-62 at 0x00000000 with 255132 bytes&lt;BR /&gt;( &amp;nbsp;0) at 00000000: 0 bytes - 0/255132&lt;BR /&gt;failed read ProgramPage message readyness - rc Em(12). Target rejected debug access at location 0x20002770&lt;BR /&gt;Closing flash driver FTFE_4K.cfx&lt;BR /&gt;state - running or following reset request - re-read of state failed - rc Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;failed to send op Terminate message - rc Em(12). Target rejected debug access at location 0x20002760&lt;BR /&gt;(100) Writing Flash ended with an error.&lt;BR /&gt;File 'Test.elf' load failure: Em(12). Target rejected debug access at location 0x20002760&lt;BR /&gt;Loading 'Test.elf' ELF 0x0003E49C len 0x21EAC&lt;BR /&gt;Writing 138924 bytes to address 0x0003E49C in Flash&lt;BR /&gt;1 of 1 ( &amp;nbsp;0) Writing pages 62-96 at 0x0003E49C with 138924 bytes&lt;BR /&gt;( &amp;nbsp;0) at 0003E000: 0 bytes - 0/140104&lt;BR /&gt;Flash part-sector read at 0003E000[0x49C] failed - rc Em(12). Target rejected debug access at location 0x0003E000&lt;BR /&gt;Closing flash driver FTFE_4K.cfx&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;We believe it to be a problem with the board, but this is quite an odd behaviour. To sum it up:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Flashing this board with our standard ELF file doesn't work&lt;/LI&gt;&lt;LI&gt;Flashing another board design (but which uses the same MCU) with the same ELF works perfectly&lt;/LI&gt;&lt;LI&gt;Flashing this board with a simple "Hello world" app works fine.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 16:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K24FN1M0-Fails-Flashing/m-p/1450834#M63007</guid>
      <dc:creator>odd_bikes</dc:creator>
      <dc:date>2022-04-28T16:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: K24FN1M0 Fails Flashing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K24FN1M0-Fails-Flashing/m-p/1452363#M63027</link>
      <description>&lt;P&gt;Can you check that there are not any solder problem with the board?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please check the SWD &amp;nbsp;signals?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:28:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K24FN1M0-Fails-Flashing/m-p/1452363#M63027</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2022-05-03T18:28:13Z</dc:date>
    </item>
  </channel>
</rss>

