<?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 Flasing externally generated hex - KL02z in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700403#M9166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to find a free flashing solution for an MKL02Z32V processor.&lt;/P&gt;&lt;P&gt;I'm using a FRDM-KL02Z board as the SWD interface to my own board.&lt;/P&gt;&lt;P&gt;I have an externally generated hex file (built with Rowley Crossworks, I can download and debug using their tools, using the CMSIS-DAP driver. Application code is working fine.&lt;/P&gt;&lt;P&gt;I have followed the instructions in &lt;A href="https://community.nxp.com/docs/DOC-100870"&gt;Flash from File: Downloading a file without the sources&lt;/A&gt; , having created an empty project targetted at the MKL02Z32V. GDB appears to connect to the debugger, but always crashes giving a Windows error box 'arm-none-eabi-gdb.exe has stopped working,&amp;nbsp; with the following crash details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem signature:&lt;BR /&gt; Problem Event Name: APPCRASH&lt;BR /&gt; Application Name: arm-none-eabi-gdb.exe&lt;BR /&gt; Application Version: 0.0.0.0&lt;BR /&gt; Application Timestamp: 53e000a7&lt;BR /&gt; Fault Module Name: msvcrt.dll&lt;BR /&gt; Fault Module Version: 7.0.7601.17744&lt;BR /&gt; Fault Module Timestamp: 4eeaf722&lt;BR /&gt; Exception Code: c0000005&lt;BR /&gt; Exception Offset: 000143f9&lt;BR /&gt; OS Version: 6.1.7601.2.1.0.256.48&lt;BR /&gt; Locale ID: 2057&lt;BR /&gt; Additional Information 1: 0a9e&lt;BR /&gt; Additional Information 2: 0a9e372d3b4ad19135b953a78882e789&lt;BR /&gt; Additional Information 3: 0a9e&lt;BR /&gt; Additional Information 4: 0a9e372d3b4ad19135b953a78882e789&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Output from the console window is below for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I'm missing / doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:22)&lt;BR /&gt;Licensed under GNU GPL v2&lt;BR /&gt;For bug reports, read&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fopenocd.sourceforge.net%2Fdoc%2Fdoxygen%2Fbugs.html" rel="nofollow" target="_blank"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;BR /&gt;Info : only one transport option; autoselect 'cmsis-dap'&lt;BR /&gt;Info : CMSIS-DAP: SWD&amp;nbsp; Supported&lt;BR /&gt;Info : CMSIS-DAP: Interface Initialised (SWD)&lt;BR /&gt;Info : add flash_bank kinetis kinetis.flash&lt;BR /&gt;cortex_m reset_config sysresetreq&lt;BR /&gt;adapter speed: 1000 kHz&lt;BR /&gt;Started by GNU ARM Eclipse&lt;BR /&gt;Info : CMSIS-DAP: FW Version = 1.0&lt;BR /&gt;Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1&lt;BR /&gt;Info : DAP_SWJ Sequence (reset: 50+ '1' followed by 0)&lt;BR /&gt;Info : CMSIS-DAP: Interface ready&lt;BR /&gt;Info : clock speed 1000 kHz&lt;BR /&gt;Info : IDCODE 0x0bc11477&lt;BR /&gt;Info : kinetis.cpu: hardware has 2 breakpoints, 2 watchpoints&lt;BR /&gt;Info : accepting 'gdb' connection from 3333&lt;BR /&gt;Info : Probing flash info for bank 0&lt;BR /&gt;Warn : acknowledgment received, but no packet pending&lt;BR /&gt;undefined debug reason 7 - target needs reset&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Thread &lt;BR /&gt;xPSR: 0x41000000 pc: 0x00000568 msp: 0x20000470&lt;BR /&gt;semihosting is enabled&lt;BR /&gt;Warn : Any changes to flash configuration field will not take effect until next reset&lt;BR /&gt;Warn : Kinetis L Series supports Program Longword execution only.&lt;BR /&gt;Info : Kinetis: FLASH Write ...&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Thread &lt;BR /&gt;xPSR: 0x61000000 pc: 0x00000568 msp: 0x20000470, semihosting&lt;BR /&gt;===== arm v7m registers&lt;BR /&gt;(0) r0 (/32): 0x2000004C&lt;BR /&gt;(1) r1 (/32): 0x00003800&lt;BR /&gt;(2) r2 (/32): 0x00000125&lt;BR /&gt;(3) r3 (/32): 0x00000125&lt;BR /&gt;(4) r4 (/32): 0x200004E0&lt;BR /&gt;(5) r5 (/32): 0x40020000&lt;BR /&gt;(6) r6 (/32): 0x00003C94&lt;BR /&gt;(7) r7 (/32): 0xFFFFFF80&lt;BR /&gt;(8) r8 (/32): 0x00000000&lt;BR /&gt;(9) r9 (/32): 0x00000000&lt;BR /&gt;(10) r10 (/32): 0x00000000&lt;BR /&gt;(11) r11 (/32): 0x00000000&lt;BR /&gt;(12) r12 (/32): 0x20000250&lt;BR /&gt;(13) sp (/32): 0x20000470&lt;BR /&gt;(14) lr (/32): 0x00001CC1&lt;BR /&gt;(15) pc (/32): 0x00000568&lt;BR /&gt;(16) xPSR (/32): 0x61000000&lt;BR /&gt;(17) msp (/32): 0x20000470&lt;BR /&gt;(18) psp (/32): 0x00000000&lt;BR /&gt;(19) primask (/1): 0x00&lt;BR /&gt;(20) basepri (/8): 0x00&lt;BR /&gt;(21) faultmask (/1): 0x00&lt;BR /&gt;(22) control (/2): 0x00&lt;BR /&gt;===== Cortex-M DWT registers&lt;BR /&gt;(23) dwt_ctrl (/32)&lt;BR /&gt;(24) dwt_cyccnt (/32)&lt;BR /&gt;(25) dwt_0_comp (/32)&lt;BR /&gt;(26) dwt_0_mask (/4)&lt;BR /&gt;(27) dwt_0_function (/32)&lt;BR /&gt;(28) dwt_1_comp (/32)&lt;BR /&gt;(29) dwt_1_mask (/4)&lt;BR /&gt;(30) dwt_1_function (/32)&lt;BR /&gt;Info : dropped 'gdb' connection&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Handler External Interrupt(18)&lt;BR /&gt;xPSR: 0x01000022 pc: 0x00001b7c msp: 0x20000408, semihosting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 15:09:32 GMT</pubDate>
    <dc:creator>simonainsley</dc:creator>
    <dc:date>2017-09-11T15:09:32Z</dc:date>
    <item>
      <title>Flasing externally generated hex - KL02z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700403#M9166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to find a free flashing solution for an MKL02Z32V processor.&lt;/P&gt;&lt;P&gt;I'm using a FRDM-KL02Z board as the SWD interface to my own board.&lt;/P&gt;&lt;P&gt;I have an externally generated hex file (built with Rowley Crossworks, I can download and debug using their tools, using the CMSIS-DAP driver. Application code is working fine.&lt;/P&gt;&lt;P&gt;I have followed the instructions in &lt;A href="https://community.nxp.com/docs/DOC-100870"&gt;Flash from File: Downloading a file without the sources&lt;/A&gt; , having created an empty project targetted at the MKL02Z32V. GDB appears to connect to the debugger, but always crashes giving a Windows error box 'arm-none-eabi-gdb.exe has stopped working,&amp;nbsp; with the following crash details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem signature:&lt;BR /&gt; Problem Event Name: APPCRASH&lt;BR /&gt; Application Name: arm-none-eabi-gdb.exe&lt;BR /&gt; Application Version: 0.0.0.0&lt;BR /&gt; Application Timestamp: 53e000a7&lt;BR /&gt; Fault Module Name: msvcrt.dll&lt;BR /&gt; Fault Module Version: 7.0.7601.17744&lt;BR /&gt; Fault Module Timestamp: 4eeaf722&lt;BR /&gt; Exception Code: c0000005&lt;BR /&gt; Exception Offset: 000143f9&lt;BR /&gt; OS Version: 6.1.7601.2.1.0.256.48&lt;BR /&gt; Locale ID: 2057&lt;BR /&gt; Additional Information 1: 0a9e&lt;BR /&gt; Additional Information 2: 0a9e372d3b4ad19135b953a78882e789&lt;BR /&gt; Additional Information 3: 0a9e&lt;BR /&gt; Additional Information 4: 0a9e372d3b4ad19135b953a78882e789&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Output from the console window is below for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I'm missing / doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:22)&lt;BR /&gt;Licensed under GNU GPL v2&lt;BR /&gt;For bug reports, read&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fopenocd.sourceforge.net%2Fdoc%2Fdoxygen%2Fbugs.html" rel="nofollow" target="_blank"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;BR /&gt;Info : only one transport option; autoselect 'cmsis-dap'&lt;BR /&gt;Info : CMSIS-DAP: SWD&amp;nbsp; Supported&lt;BR /&gt;Info : CMSIS-DAP: Interface Initialised (SWD)&lt;BR /&gt;Info : add flash_bank kinetis kinetis.flash&lt;BR /&gt;cortex_m reset_config sysresetreq&lt;BR /&gt;adapter speed: 1000 kHz&lt;BR /&gt;Started by GNU ARM Eclipse&lt;BR /&gt;Info : CMSIS-DAP: FW Version = 1.0&lt;BR /&gt;Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1&lt;BR /&gt;Info : DAP_SWJ Sequence (reset: 50+ '1' followed by 0)&lt;BR /&gt;Info : CMSIS-DAP: Interface ready&lt;BR /&gt;Info : clock speed 1000 kHz&lt;BR /&gt;Info : IDCODE 0x0bc11477&lt;BR /&gt;Info : kinetis.cpu: hardware has 2 breakpoints, 2 watchpoints&lt;BR /&gt;Info : accepting 'gdb' connection from 3333&lt;BR /&gt;Info : Probing flash info for bank 0&lt;BR /&gt;Warn : acknowledgment received, but no packet pending&lt;BR /&gt;undefined debug reason 7 - target needs reset&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Thread &lt;BR /&gt;xPSR: 0x41000000 pc: 0x00000568 msp: 0x20000470&lt;BR /&gt;semihosting is enabled&lt;BR /&gt;Warn : Any changes to flash configuration field will not take effect until next reset&lt;BR /&gt;Warn : Kinetis L Series supports Program Longword execution only.&lt;BR /&gt;Info : Kinetis: FLASH Write ...&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Thread &lt;BR /&gt;xPSR: 0x61000000 pc: 0x00000568 msp: 0x20000470, semihosting&lt;BR /&gt;===== arm v7m registers&lt;BR /&gt;(0) r0 (/32): 0x2000004C&lt;BR /&gt;(1) r1 (/32): 0x00003800&lt;BR /&gt;(2) r2 (/32): 0x00000125&lt;BR /&gt;(3) r3 (/32): 0x00000125&lt;BR /&gt;(4) r4 (/32): 0x200004E0&lt;BR /&gt;(5) r5 (/32): 0x40020000&lt;BR /&gt;(6) r6 (/32): 0x00003C94&lt;BR /&gt;(7) r7 (/32): 0xFFFFFF80&lt;BR /&gt;(8) r8 (/32): 0x00000000&lt;BR /&gt;(9) r9 (/32): 0x00000000&lt;BR /&gt;(10) r10 (/32): 0x00000000&lt;BR /&gt;(11) r11 (/32): 0x00000000&lt;BR /&gt;(12) r12 (/32): 0x20000250&lt;BR /&gt;(13) sp (/32): 0x20000470&lt;BR /&gt;(14) lr (/32): 0x00001CC1&lt;BR /&gt;(15) pc (/32): 0x00000568&lt;BR /&gt;(16) xPSR (/32): 0x61000000&lt;BR /&gt;(17) msp (/32): 0x20000470&lt;BR /&gt;(18) psp (/32): 0x00000000&lt;BR /&gt;(19) primask (/1): 0x00&lt;BR /&gt;(20) basepri (/8): 0x00&lt;BR /&gt;(21) faultmask (/1): 0x00&lt;BR /&gt;(22) control (/2): 0x00&lt;BR /&gt;===== Cortex-M DWT registers&lt;BR /&gt;(23) dwt_ctrl (/32)&lt;BR /&gt;(24) dwt_cyccnt (/32)&lt;BR /&gt;(25) dwt_0_comp (/32)&lt;BR /&gt;(26) dwt_0_mask (/4)&lt;BR /&gt;(27) dwt_0_function (/32)&lt;BR /&gt;(28) dwt_1_comp (/32)&lt;BR /&gt;(29) dwt_1_mask (/4)&lt;BR /&gt;(30) dwt_1_function (/32)&lt;BR /&gt;Info : dropped 'gdb' connection&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Handler External Interrupt(18)&lt;BR /&gt;xPSR: 0x01000022 pc: 0x00001b7c msp: 0x20000408, semihosting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700403#M9166</guid>
      <dc:creator>simonainsley</dc:creator>
      <dc:date>2017-09-11T15:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flasing externally generated hex - KL02z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700404#M9167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you have flash the file into chip. In order to prove it , please download a simple&lt;/P&gt;&lt;P&gt;LED project into it. After download , press RESET button of you board, check whether it can work well.&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>Tue, 12 Sep 2017 02:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700404#M9167</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-09-12T02:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flasing externally generated hex - KL02z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700405#M9168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, indeed code is flashed and running.&lt;/P&gt;&lt;P&gt;Any idea why GDB is crashing, and can it be sorted?&lt;/P&gt;&lt;P&gt;Whilst it's good that it's working, it will be a liitle confusing / irritating for it to happen every time when programming a small batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 09:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Flasing-externally-generated-hex-KL02z/m-p/700405#M9168</guid>
      <dc:creator>simonainsley</dc:creator>
      <dc:date>2017-09-12T09:11:16Z</dc:date>
    </item>
  </channel>
</rss>

