<?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 MK20 (Kinetis K-Series) program section fails although program longword works fine in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20-Kinetis-K-Series-program-section-fails-although-program/m-p/557216#M33744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after a very long time getting that to work I hope to find an answer here. I want to program a MK20DX256VLH7 via SWD. Programming the MCU on my custom PCB using a J-LINK Segger works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My custom PCB also hosts an ESP8266 that I want to use to create over the air updates of the MK20DX firmware. I managed to write a firmware for ESP8266 that programs the MK20 with the longword programming style. This actually works and works quite reliable, but it's insanely slow. It takes minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to use program section programming. But this just does not work. Here is a high level dump of my debug log. I am quite sure that my low level SWD functions are working fine as they are used with longword programming, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I choose 0 as the starting address for longword programming and when using the J-Link I think it makes sense to use in section programming, too. However, I found that (&lt;A href="https://freescale.jiveon.com/thread/307491" title="https://freescale.jiveon.com/thread/307491"&gt;https://freescale.jiveon.com/thread/307491&lt;/A&gt; ) which has 0x80 as starting address. I am not sure if this makes any sense. Trying that also fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I could make wrong? Of course I can provide more source code, but perhaps my issue is more on the high level (start address, etc). FSTAT register always has this value 0xfffe02a0. Perhaps anyone has an idea what's wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloaded file&lt;/P&gt;&lt;P&gt;Reseting MK20 - the hard way&lt;/P&gt;&lt;P&gt;Resetting MK20 done&lt;/P&gt;&lt;P&gt;Flashing MK20&lt;/P&gt;&lt;P&gt;Found ARM processor debug port (IDCODE: 2ba01477)&lt;/P&gt;&lt;P&gt;Debug Port Powered Up&lt;/P&gt;&lt;P&gt;Debug Port Detected: 2BA01477&lt;/P&gt;&lt;P&gt;Device reset complete&lt;/P&gt;&lt;P&gt;Debug halt complete&lt;/P&gt;&lt;P&gt;K20 initialized&lt;/P&gt;&lt;P&gt;Done&lt;/P&gt;&lt;P&gt;Initialize flash process&lt;/P&gt;&lt;P&gt;Begin Flashing&lt;/P&gt;&lt;P&gt;FLASH: flashSectorErase&lt;/P&gt;&lt;P&gt;Sector 00000000 erased&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000000, 0: 20, 1: 00, 2: 80, 3: 00, Word: 00800020&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000001, 0: 00, 1: 00, 2: 01, 3: bd, Word: bd010000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000002, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000003, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000004, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000005, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000006, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000007, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000008, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000009, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000a, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000d, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000f, 0: 00, 1: 00, 2: 14, 3: 91, Word: 91140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000010, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000011, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000012, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000013, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000014, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000015, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000016, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000017, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000018, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000019, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000020, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000021, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000022, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000023, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000024, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000025, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000026, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000027, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000028, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000029, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000030, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000031, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000032, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000033, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000034, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000035, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000036, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000037, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000038, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000039, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003d, 0: 00, 1: 00, 2: 1b, 3: 1d, Word: 1d1b0000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003f, 0: 00, 1: 00, 2: 22, 3: 15, Word: 15220000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000040, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000041, 0: 00, 1: 00, 2: 27, 3: 3d, Word: 3d270000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000042, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000043, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000044, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000045, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000046, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000047, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000048, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000049, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000050, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000051, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000052, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000053, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000054, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000055, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000056, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000057, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000058, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000059, 0: 00, 1: 00, 2: 08, 3: 99, Word: 99080000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000060, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000061, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000062, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000063, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000064, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000065, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000066, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000067, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000068, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000069, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006f, 0: f2, 1: 4c, 2: 4b, 3: 57, Word: 574b4cf2&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000070, 0: b5, 1: 10, 2: 52, 3: 20, Word: 205210b5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000071, 0: f6, 1: 4d, 2: 80, 3: 1a, Word: 1a804df6&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000072, 0: 80, 1: 1a, 2: 12, 3: 28, Word: 28121a80&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000073, 0: bf, 1: 00, 2: bf, 3: 00, Word: 00bf00bf&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000074, 0: f9, 1: 88, 2: f0, 3: 01, Word: 01f088f9&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000075, 0: f0, 1: 4f, 2: 4b, 3: 52, Word: 524b4ff0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000076, 0: 60, 1: 1a, 2: 62, 3: 10, Word: 10621a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000077, 0: 60, 1: 9a, 2: 4a, 3: 51, Word: 514a9a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000078, 0: 60, 1: da, 2: 4a, 3: 51, Word: 514ada60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000079, 0: 43, 1: 30, 2: f5, 3: a3, Word: a3f53043&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007a, 0: 68, 1: 1a, 2: 3b, 3: 20, Word: 203b1a68&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007b, 0: 72, 1: 80, 2: f4, 3: 12, Word: 12f48072&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007c, 0: 49, 1: 4e, 2: d1, 3: 04, Word: 04d14e49&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007d, 0: f4, 1: 4f, 2: 60, 3: 0a, Word: 0a604ff4&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007e, 0: 60, 1: 1a, 2: 52, 3: a8, Word: a8521a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007f, 0: 78, 1: 1a, 2: 4b, 3: 4c, Word: 4c4b1a78&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000080, 0: d5, 1: 03, 2: 07, 3: 11, Word: 110703d5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000081, 0: f0, 1: 42, 2: 78, 3: 1a, Word: 1a7842f0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000082, 0: 70, 1: 1a, 2: 02, 3: 08, Word: 08021a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000083, 0: 4c, 1: 4a, 2: 4b, 3: 49, Word: 494b4a4c&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000084, 0: 22, 1: 2a, 2: 48, 3: 4a, Word: 4a482a22&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000085, 0: 4a, 1: 4a, 2: 70, 3: 1a, Word: 1a704a4a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000086, 0: 18, 1: 99, 2: 23, 3: 00, Word: 00239918&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000087, 0: d2, 1: 03, 2: 42, 3: a1, Word: a14203d2&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000088, 0: 50, 1: 99, 2: 58, 3: 19, Word: 19589950&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000089, 0: e7, 1: f8, 2: 33, 3: 04, Word: 0433f8e7&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008a, 0: 49, 1: 47, 2: 4b, 3: 46, Word: 464b4749&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008b, 0: 42, 1: 8b, 2: 22, 3: 00, Word: 00228b42&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008c, 0: f8, 1: 43, 2: d2, 3: 02, Word: 02d243f8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008d, 0: e7, 1: fa, 2: 2b, 3: 04, Word: 042bfae7&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008e, 0: 49, 1: 45, 2: 48, 3: 44, Word: 44484549&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008f, 0: 58, 1: 5a, 2: 23, 3: 00, Word: 00235a58&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000090, 0: 33, 1: 04, 2: 50, 3: 1a, Word: 1a500433&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000091, 0: 7f, 1: de, 2: f5, 3: b3, Word: b3f5de7f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000092, 0: 4b, 1: 42, 2: d1, 3: f9, Word: f9d1424b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000093, 0: 21, 1: 80, 2: 4a, 3: 42, Word: 424a8021&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000094, 0: 1b, 1: 01, 2: f8, 3: 03, Word: 03f8011b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000095, 0: d1, 1: fb, 2: 42, 3: 93, Word: 9342fbd1&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000096, 0: 4a, 1: 3c, 2: 4b, 3: 40, Word: 404b3c4a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000097, 0: 4b, 1: 40, 2: 60, 3: 1a, Word: 1a60404b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000098, 0: 70, 1: 1a, 2: 22, 3: 0a, Word: 0a221a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000099, 0: 53, 1: 80, 2: f5, 3: a3, Word: a3f58053&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009a, 0: 70, 1: 5a, 2: 22, 3: 24, Word: 24225a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009b, 0: 70, 1: 1a, 2: 22, 3: a0, Word: a0221a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009c, 0: 07, 1: 92, 2: 79, 3: 9a, Word: 9a799207&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009d, 0: 79, 1: 9a, 2: d5, 3: fc, Word: fcd59a79&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009e, 0: d4, 1: fc, 2: 06, 3: d4, Word: d406fcd4&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009f, 0: 79, 1: 93, 2: 4a, 3: 39, Word: 394a9379&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a0, 0: 03, 1: 0c, 2: f0, 3: 03, Word: 03f00c03&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a1, 0: 4b, 1: 37, 2: 2b, 3: 08, Word: 082b374b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a2, 0: 22, 1: 03, 2: d1, 3: f9, Word: f9d10322&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a3, 0: 22, 1: 40, 2: 71, 3: 1a, Word: 1a714022&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a4, 0: 79, 1: 9a, 2: 71, 3: 5a, Word: 5a719a79&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a5, 0: d5, 1: fc, 2: 06, 3: 90, Word: 9006fcd5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a6, 0: 79, 1: 91, 2: 4a, 3: 32, Word: 324a9179&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a7, 0: 06, 1: 49, 2: 4b, 3: 31, Word: 314b4906&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a8, 0: 4a, 1: 31, 2: d5, 3: fb, Word: fbd5314a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a9, 0: 60, 1: 11, 2: 49, 3: 31, Word: 31491160&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000aa, 0: 60, 1: 51, 2: 21, 3: 02, Word: 02215160&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ab, 0: 70, 1: 1a, 2: 22, 3: 20, Word: 20221a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ac, 0: f0, 1: 02, 2: 79, 3: 9a, Word: 9a7902f0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ad, 0: 2a, 1: 0c, 2: 02, 3: 0c, Word: 0c020c2a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ae, 0: 4b, 1: 2d, 2: d1, 3: fa, Word: fad12d4b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000af, 0: 60, 1: 1a, 2: 4a, 3: 2d, Word: 2d4a1a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b0, 0: 4a, 1: 2e, 2: 4b, 3: 2d, Word: 2d4b2e4a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b1, 0: 22, 1: 00, 2: 60, 3: 1a, Word: 1a600022&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b2, 0: 22, 1: 07, 2: 60, 3: 5a, Word: 5a600722&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b3, 0: 2c, 1: 04, 2: f8, 3: 43, Word: 43f8042c&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b4, 0: f8, 1: c3, 2: 4a, 3: 2b, Word: 2b4ac3f8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b5, 0: b6, 1: 62, 2: 2d, 3: 0c, Word: 0c2d62b6&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b6, 0: f9, 1: a0, 2: f0, 3: 00, Word: 00f0a0f9&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b7, 0: 68, 1: 1b, 2: 4b, 3: 13, Word: 134b1b68&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b8, 0: d5, 1: 05, 2: 07, 3: da, Word: da0705d5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b9, 0: f0, 1: 00, 2: 48, 3: 27, Word: 274800f0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ba, 0: 4b, 1: 27, 2: f8, 3: dd, Word: ddf8274b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bb, 0: 60, 1: 1a, 2: 4a, 3: 27, Word: 274a1a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bc, 0: 78, 1: 1b, 2: 4b, 3: 27, Word: 274b1b78&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bd, 0: d5, 1: 09, 2: 06, 3: 5b, Word: 5b0609d5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000be, 0: 4a, 1: 24, 2: 4c, 3: 23, Word: 234c244a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bf, 0: 42, 1: 93, 2: 68, 3: 23, Word: 23689342&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c0, 0: 48, 1: 20, 2: d1, 3: 04, Word: 04d12048&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c1, 0: f8, 1: ce, 2: f0, 3: 00, Word: 00f0cef8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c2, 0: 60, 1: 23, 2: 23, 3: 00, Word: 00232360&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c3, 0: fd, 1: 02, 2: f0, 3: 02, Word: 02f002fd&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c4, 0: f8, 1: ee, 2: f0, 3: 01, Word: 01f0eef8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c5, 0: f8, 1: 08, 2: f0, 3: 01, Word: 01f008f8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c6, 0: bf, 1: 00, 2: e7, 3: fe, Word: fee700bf&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c7, 0: 40, 1: 05, 2: 20, 3: 0e, Word: 0e200540&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c8, 0: 40, 1: 04, 2: 80, 3: 30, Word: 30800440&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c9, 0: 00, 1: 04, 2: 3f, 3: 82, Word: 823f0400&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ca, 0: 2b, 1: 00, 2: 00, 3: 01, Word: 0100002b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cb, 0: 40, 1: 03, 2: d0, 3: 14, Word: 14d00340&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cc, 0: 40, 1: 07, 2: d0, 3: 02, Word: 02d00740&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cd, 0: 40, 1: 07, 2: e0, 3: 00, Word: 00e00740&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ce, 0: 1f, 1: ff, 2: 8c, 3: 40, Word: 408cff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cf, 0: 00, 1: 00, 2: 31, 3: 98, Word: 98310000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d0, 0: 1f, 1: ff, 2: 87, 3: 60, Word: 6087ff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d1, 0: 1f, 1: ff, 2: 8c, 3: 40, Word: 408cff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d2, 0: 1f, 1: ff, 2: 8f, 3: 38, Word: 388fff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d3, 0: 1f, 1: ff, 2: 82, 3: 00, Word: 0082ff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d4, 0: 00, 1: 00, 2: 00, 3: 00, Word: 00000000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d5, 0: e0, 1: 00, 2: e4, 3: 00, Word: 00e400e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d6, 0: e0, 1: 00, 2: e4, 3: 5f, Word: 5fe400e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d7, 0: e0, 1: 00, 2: ed, 3: 08, Word: 08ed00e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d8, 0: 40, 1: 06, 2: 50, 3: 00, Word: 00500640&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d9, 0: 40, 1: 06, 2: 40, 3: 00, Word: 00400640&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000da, 0: 40, 1: 04, 2: 80, 3: 44, Word: 44800440&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000db, 0: 01, 1: 03, 2: 00, 3: 00, Word: 00000301&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000dc, 0: 40, 1: 04, 2: 80, 3: 04, Word: 04800440&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000dd, 0: 00, 1: 05, 2: 10, 3: c0, Word: c0100500&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000de, 0: e0, 1: 00, 2: e0, 3: 14, Word: 14e000e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000df, 0: 00, 1: 01, 2: 76, 3: ff, Word: ff760100&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e0, 0: 20, 1: 20, 2: 00, 3: 00, Word: 00002020&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e1, 0: 57, 1: 67, 2: cc, 3: 3b, Word: 3bcc6757&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e2, 0: 40, 1: 03, 2: e0, 3: 1c, Word: 1ce00340&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e3, 0: 5a, 1: 94, 2: c3, 3: a5, Word: a5c3945a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e4, 0: 40, 1: 07, 2: f0, 3: 00, Word: 00f00740&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e5, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e6, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e7, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e8, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e9, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ea, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000eb, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ec, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ed, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ee, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ef, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f0, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f1, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f2, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f3, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f4, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f5, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f6, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f7, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f8, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f9, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fa, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fb, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fc, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fd, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fe, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ff, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: flashSectorProgram: 00000000&lt;/P&gt;&lt;P&gt;Programming section at 00000000, numWords: 00000100&lt;/P&gt;&lt;P&gt;FLASH: Address access error (FSTAT: fffe02a0)&lt;/P&gt;&lt;P&gt;FLASH: flashSectorProgram failed&lt;/P&gt;&lt;P&gt;End flashing&lt;/P&gt;&lt;P&gt;Resetting Chip&lt;/P&gt;&lt;P&gt;Flashing MK20 complete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2016 14:36:09 GMT</pubDate>
    <dc:creator>phillipschuster</dc:creator>
    <dc:date>2016-06-21T14:36:09Z</dc:date>
    <item>
      <title>MK20 (Kinetis K-Series) program section fails although program longword works fine</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20-Kinetis-K-Series-program-section-fails-although-program/m-p/557216#M33744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after a very long time getting that to work I hope to find an answer here. I want to program a MK20DX256VLH7 via SWD. Programming the MCU on my custom PCB using a J-LINK Segger works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My custom PCB also hosts an ESP8266 that I want to use to create over the air updates of the MK20DX firmware. I managed to write a firmware for ESP8266 that programs the MK20 with the longword programming style. This actually works and works quite reliable, but it's insanely slow. It takes minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to use program section programming. But this just does not work. Here is a high level dump of my debug log. I am quite sure that my low level SWD functions are working fine as they are used with longword programming, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I choose 0 as the starting address for longword programming and when using the J-Link I think it makes sense to use in section programming, too. However, I found that (&lt;A href="https://freescale.jiveon.com/thread/307491" title="https://freescale.jiveon.com/thread/307491"&gt;https://freescale.jiveon.com/thread/307491&lt;/A&gt; ) which has 0x80 as starting address. I am not sure if this makes any sense. Trying that also fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I could make wrong? Of course I can provide more source code, but perhaps my issue is more on the high level (start address, etc). FSTAT register always has this value 0xfffe02a0. Perhaps anyone has an idea what's wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloaded file&lt;/P&gt;&lt;P&gt;Reseting MK20 - the hard way&lt;/P&gt;&lt;P&gt;Resetting MK20 done&lt;/P&gt;&lt;P&gt;Flashing MK20&lt;/P&gt;&lt;P&gt;Found ARM processor debug port (IDCODE: 2ba01477)&lt;/P&gt;&lt;P&gt;Debug Port Powered Up&lt;/P&gt;&lt;P&gt;Debug Port Detected: 2BA01477&lt;/P&gt;&lt;P&gt;Device reset complete&lt;/P&gt;&lt;P&gt;Debug halt complete&lt;/P&gt;&lt;P&gt;K20 initialized&lt;/P&gt;&lt;P&gt;Done&lt;/P&gt;&lt;P&gt;Initialize flash process&lt;/P&gt;&lt;P&gt;Begin Flashing&lt;/P&gt;&lt;P&gt;FLASH: flashSectorErase&lt;/P&gt;&lt;P&gt;Sector 00000000 erased&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000000, 0: 20, 1: 00, 2: 80, 3: 00, Word: 00800020&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000001, 0: 00, 1: 00, 2: 01, 3: bd, Word: bd010000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000002, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000003, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000004, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000005, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000006, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000007, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000008, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000009, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000a, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000d, 0: 00, 1: 00, 2: 14, 3: a1, Word: a1140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000000f, 0: 00, 1: 00, 2: 14, 3: 91, Word: 91140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000010, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000011, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000012, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000013, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000014, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000015, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000016, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000017, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000018, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000019, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000001f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000020, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000021, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000022, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000023, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000024, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000025, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000026, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000027, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000028, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000029, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000002f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000030, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000031, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000032, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000033, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000034, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000035, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000036, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000037, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000038, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000039, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003d, 0: 00, 1: 00, 2: 1b, 3: 1d, Word: 1d1b0000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000003f, 0: 00, 1: 00, 2: 22, 3: 15, Word: 15220000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000040, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000041, 0: 00, 1: 00, 2: 27, 3: 3d, Word: 3d270000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000042, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000043, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000044, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000045, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000046, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000047, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000048, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000049, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000004f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000050, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000051, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000052, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000053, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000054, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000055, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000056, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000057, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000058, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000059, 0: 00, 1: 00, 2: 08, 3: 99, Word: 99080000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000005f, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000060, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000061, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000062, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000063, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000064, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000065, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000066, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000067, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000068, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000069, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006a, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006b, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006c, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006d, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006e, 0: 00, 1: 00, 2: 14, 3: dd, Word: dd140000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000006f, 0: f2, 1: 4c, 2: 4b, 3: 57, Word: 574b4cf2&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000070, 0: b5, 1: 10, 2: 52, 3: 20, Word: 205210b5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000071, 0: f6, 1: 4d, 2: 80, 3: 1a, Word: 1a804df6&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000072, 0: 80, 1: 1a, 2: 12, 3: 28, Word: 28121a80&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000073, 0: bf, 1: 00, 2: bf, 3: 00, Word: 00bf00bf&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000074, 0: f9, 1: 88, 2: f0, 3: 01, Word: 01f088f9&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000075, 0: f0, 1: 4f, 2: 4b, 3: 52, Word: 524b4ff0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000076, 0: 60, 1: 1a, 2: 62, 3: 10, Word: 10621a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000077, 0: 60, 1: 9a, 2: 4a, 3: 51, Word: 514a9a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000078, 0: 60, 1: da, 2: 4a, 3: 51, Word: 514ada60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000079, 0: 43, 1: 30, 2: f5, 3: a3, Word: a3f53043&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007a, 0: 68, 1: 1a, 2: 3b, 3: 20, Word: 203b1a68&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007b, 0: 72, 1: 80, 2: f4, 3: 12, Word: 12f48072&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007c, 0: 49, 1: 4e, 2: d1, 3: 04, Word: 04d14e49&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007d, 0: f4, 1: 4f, 2: 60, 3: 0a, Word: 0a604ff4&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007e, 0: 60, 1: 1a, 2: 52, 3: a8, Word: a8521a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000007f, 0: 78, 1: 1a, 2: 4b, 3: 4c, Word: 4c4b1a78&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000080, 0: d5, 1: 03, 2: 07, 3: 11, Word: 110703d5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000081, 0: f0, 1: 42, 2: 78, 3: 1a, Word: 1a7842f0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000082, 0: 70, 1: 1a, 2: 02, 3: 08, Word: 08021a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000083, 0: 4c, 1: 4a, 2: 4b, 3: 49, Word: 494b4a4c&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000084, 0: 22, 1: 2a, 2: 48, 3: 4a, Word: 4a482a22&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000085, 0: 4a, 1: 4a, 2: 70, 3: 1a, Word: 1a704a4a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000086, 0: 18, 1: 99, 2: 23, 3: 00, Word: 00239918&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000087, 0: d2, 1: 03, 2: 42, 3: a1, Word: a14203d2&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000088, 0: 50, 1: 99, 2: 58, 3: 19, Word: 19589950&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000089, 0: e7, 1: f8, 2: 33, 3: 04, Word: 0433f8e7&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008a, 0: 49, 1: 47, 2: 4b, 3: 46, Word: 464b4749&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008b, 0: 42, 1: 8b, 2: 22, 3: 00, Word: 00228b42&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008c, 0: f8, 1: 43, 2: d2, 3: 02, Word: 02d243f8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008d, 0: e7, 1: fa, 2: 2b, 3: 04, Word: 042bfae7&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008e, 0: 49, 1: 45, 2: 48, 3: 44, Word: 44484549&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000008f, 0: 58, 1: 5a, 2: 23, 3: 00, Word: 00235a58&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000090, 0: 33, 1: 04, 2: 50, 3: 1a, Word: 1a500433&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000091, 0: 7f, 1: de, 2: f5, 3: b3, Word: b3f5de7f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000092, 0: 4b, 1: 42, 2: d1, 3: f9, Word: f9d1424b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000093, 0: 21, 1: 80, 2: 4a, 3: 42, Word: 424a8021&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000094, 0: 1b, 1: 01, 2: f8, 3: 03, Word: 03f8011b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000095, 0: d1, 1: fb, 2: 42, 3: 93, Word: 9342fbd1&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000096, 0: 4a, 1: 3c, 2: 4b, 3: 40, Word: 404b3c4a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000097, 0: 4b, 1: 40, 2: 60, 3: 1a, Word: 1a60404b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000098, 0: 70, 1: 1a, 2: 22, 3: 0a, Word: 0a221a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 00000099, 0: 53, 1: 80, 2: f5, 3: a3, Word: a3f58053&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009a, 0: 70, 1: 5a, 2: 22, 3: 24, Word: 24225a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009b, 0: 70, 1: 1a, 2: 22, 3: a0, Word: a0221a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009c, 0: 07, 1: 92, 2: 79, 3: 9a, Word: 9a799207&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009d, 0: 79, 1: 9a, 2: d5, 3: fc, Word: fcd59a79&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009e, 0: d4, 1: fc, 2: 06, 3: d4, Word: d406fcd4&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 0000009f, 0: 79, 1: 93, 2: 4a, 3: 39, Word: 394a9379&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a0, 0: 03, 1: 0c, 2: f0, 3: 03, Word: 03f00c03&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a1, 0: 4b, 1: 37, 2: 2b, 3: 08, Word: 082b374b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a2, 0: 22, 1: 03, 2: d1, 3: f9, Word: f9d10322&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a3, 0: 22, 1: 40, 2: 71, 3: 1a, Word: 1a714022&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a4, 0: 79, 1: 9a, 2: 71, 3: 5a, Word: 5a719a79&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a5, 0: d5, 1: fc, 2: 06, 3: 90, Word: 9006fcd5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a6, 0: 79, 1: 91, 2: 4a, 3: 32, Word: 324a9179&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a7, 0: 06, 1: 49, 2: 4b, 3: 31, Word: 314b4906&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a8, 0: 4a, 1: 31, 2: d5, 3: fb, Word: fbd5314a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000a9, 0: 60, 1: 11, 2: 49, 3: 31, Word: 31491160&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000aa, 0: 60, 1: 51, 2: 21, 3: 02, Word: 02215160&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ab, 0: 70, 1: 1a, 2: 22, 3: 20, Word: 20221a70&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ac, 0: f0, 1: 02, 2: 79, 3: 9a, Word: 9a7902f0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ad, 0: 2a, 1: 0c, 2: 02, 3: 0c, Word: 0c020c2a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ae, 0: 4b, 1: 2d, 2: d1, 3: fa, Word: fad12d4b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000af, 0: 60, 1: 1a, 2: 4a, 3: 2d, Word: 2d4a1a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b0, 0: 4a, 1: 2e, 2: 4b, 3: 2d, Word: 2d4b2e4a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b1, 0: 22, 1: 00, 2: 60, 3: 1a, Word: 1a600022&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b2, 0: 22, 1: 07, 2: 60, 3: 5a, Word: 5a600722&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b3, 0: 2c, 1: 04, 2: f8, 3: 43, Word: 43f8042c&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b4, 0: f8, 1: c3, 2: 4a, 3: 2b, Word: 2b4ac3f8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b5, 0: b6, 1: 62, 2: 2d, 3: 0c, Word: 0c2d62b6&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b6, 0: f9, 1: a0, 2: f0, 3: 00, Word: 00f0a0f9&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b7, 0: 68, 1: 1b, 2: 4b, 3: 13, Word: 134b1b68&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b8, 0: d5, 1: 05, 2: 07, 3: da, Word: da0705d5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000b9, 0: f0, 1: 00, 2: 48, 3: 27, Word: 274800f0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ba, 0: 4b, 1: 27, 2: f8, 3: dd, Word: ddf8274b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bb, 0: 60, 1: 1a, 2: 4a, 3: 27, Word: 274a1a60&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bc, 0: 78, 1: 1b, 2: 4b, 3: 27, Word: 274b1b78&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bd, 0: d5, 1: 09, 2: 06, 3: 5b, Word: 5b0609d5&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000be, 0: 4a, 1: 24, 2: 4c, 3: 23, Word: 234c244a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000bf, 0: 42, 1: 93, 2: 68, 3: 23, Word: 23689342&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c0, 0: 48, 1: 20, 2: d1, 3: 04, Word: 04d12048&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c1, 0: f8, 1: ce, 2: f0, 3: 00, Word: 00f0cef8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c2, 0: 60, 1: 23, 2: 23, 3: 00, Word: 00232360&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c3, 0: fd, 1: 02, 2: f0, 3: 02, Word: 02f002fd&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c4, 0: f8, 1: ee, 2: f0, 3: 01, Word: 01f0eef8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c5, 0: f8, 1: 08, 2: f0, 3: 01, Word: 01f008f8&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c6, 0: bf, 1: 00, 2: e7, 3: fe, Word: fee700bf&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c7, 0: 40, 1: 05, 2: 20, 3: 0e, Word: 0e200540&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c8, 0: 40, 1: 04, 2: 80, 3: 30, Word: 30800440&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000c9, 0: 00, 1: 04, 2: 3f, 3: 82, Word: 823f0400&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ca, 0: 2b, 1: 00, 2: 00, 3: 01, Word: 0100002b&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cb, 0: 40, 1: 03, 2: d0, 3: 14, Word: 14d00340&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cc, 0: 40, 1: 07, 2: d0, 3: 02, Word: 02d00740&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cd, 0: 40, 1: 07, 2: e0, 3: 00, Word: 00e00740&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ce, 0: 1f, 1: ff, 2: 8c, 3: 40, Word: 408cff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000cf, 0: 00, 1: 00, 2: 31, 3: 98, Word: 98310000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d0, 0: 1f, 1: ff, 2: 87, 3: 60, Word: 6087ff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d1, 0: 1f, 1: ff, 2: 8c, 3: 40, Word: 408cff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d2, 0: 1f, 1: ff, 2: 8f, 3: 38, Word: 388fff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d3, 0: 1f, 1: ff, 2: 82, 3: 00, Word: 0082ff1f&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d4, 0: 00, 1: 00, 2: 00, 3: 00, Word: 00000000&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d5, 0: e0, 1: 00, 2: e4, 3: 00, Word: 00e400e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d6, 0: e0, 1: 00, 2: e4, 3: 5f, Word: 5fe400e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d7, 0: e0, 1: 00, 2: ed, 3: 08, Word: 08ed00e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d8, 0: 40, 1: 06, 2: 50, 3: 00, Word: 00500640&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000d9, 0: 40, 1: 06, 2: 40, 3: 00, Word: 00400640&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000da, 0: 40, 1: 04, 2: 80, 3: 44, Word: 44800440&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000db, 0: 01, 1: 03, 2: 00, 3: 00, Word: 00000301&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000dc, 0: 40, 1: 04, 2: 80, 3: 04, Word: 04800440&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000dd, 0: 00, 1: 05, 2: 10, 3: c0, Word: c0100500&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000de, 0: e0, 1: 00, 2: e0, 3: 14, Word: 14e000e0&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000df, 0: 00, 1: 01, 2: 76, 3: ff, Word: ff760100&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e0, 0: 20, 1: 20, 2: 00, 3: 00, Word: 00002020&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e1, 0: 57, 1: 67, 2: cc, 3: 3b, Word: 3bcc6757&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e2, 0: 40, 1: 03, 2: e0, 3: 1c, Word: 1ce00340&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e3, 0: 5a, 1: 94, 2: c3, 3: a5, Word: a5c3945a&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e4, 0: 40, 1: 07, 2: f0, 3: 00, Word: 00f00740&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e5, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e6, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e7, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e8, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000e9, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ea, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000eb, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ec, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ed, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ee, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ef, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f0, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f1, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f2, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f3, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f4, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f5, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f6, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f7, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f8, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000f9, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fa, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fb, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fc, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fd, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000fe, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: Wrote longword at 000000ff, 0: ff, 1: ff, 2: ff, 3: ff, Word: ffffffff&lt;/P&gt;&lt;P&gt;FLASH: flashSectorProgram: 00000000&lt;/P&gt;&lt;P&gt;Programming section at 00000000, numWords: 00000100&lt;/P&gt;&lt;P&gt;FLASH: Address access error (FSTAT: fffe02a0)&lt;/P&gt;&lt;P&gt;FLASH: flashSectorProgram failed&lt;/P&gt;&lt;P&gt;End flashing&lt;/P&gt;&lt;P&gt;Resetting Chip&lt;/P&gt;&lt;P&gt;Flashing MK20 complete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 14:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK20-Kinetis-K-Series-program-section-fails-although-program/m-p/557216#M33744</guid>
      <dc:creator>phillipschuster</dc:creator>
      <dc:date>2016-06-21T14:36:09Z</dc:date>
    </item>
  </channel>
</rss>

