<?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 Re: Hello World with JLink in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901426#M3922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;are you using an external J-Link or the OpenSDA one on the SDAUSB Port?&lt;/P&gt;&lt;P&gt;I ask because your log shows&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hardware version: V8.00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S/N: 58006015&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;while with the onboard J-Link interface it should show something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connecting to J-Link via USB...O.K.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Firmware: J-Link OpenSDA 2 compiled Jun 28 2018 09:44:47&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hardware version: V1.00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S/N: 621000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;VTref=3.300V&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted my log below.&lt;/P&gt;&lt;P&gt;I belive you have connected your external probe to the wrong core, and you are trying to debug the K20 instead the K64F?&lt;/P&gt;&lt;P&gt;See &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/05/11/debugging-the-frdm-k64f-with-pe-multilink/" title="https://mcuoneclipse.com/2015/05/11/debugging-the-frdm-k64f-with-pe-multilink/"&gt;Debugging the FRDM-K64F with P&amp;amp;E Multilink | MCU on Eclipse&lt;/A&gt; about which SWD/debug connector to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, your J-Link Firmware looks very old (2014?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing flash operation 'Program' (Program executable into flash Debug\FRDM-K64F_McuOnEclipseLib.axf) - Thu Apr 18 09:21:06 CEST 2019&lt;BR /&gt;Checking MCU info...&lt;BR /&gt;Scanning for targets...&lt;BR /&gt;Executing flash action...&lt;BR /&gt;SEGGER J-Link Commander V6.44e (Compiled Apr&amp;nbsp; 5 2019 16:17:35)&lt;BR /&gt;DLL version V6.44e, compiled Apr&amp;nbsp; 5 2019 16:15:03&lt;BR /&gt;J-Link Command File read successfully.&lt;BR /&gt;Processing script file...&lt;BR /&gt;J-Link Commander will now exit on Error&lt;BR /&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link OpenSDA 2 compiled Jun 28 2018 09:44:47&lt;BR /&gt;Hardware version: V1.00&lt;BR /&gt;S/N: 621000000&lt;BR /&gt;VTref=3.300V&lt;BR /&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK64FN1M0XXX12" selected.&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget()&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;BR /&gt;CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M4 r0p1, Little endian.&lt;BR /&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FF000&lt;BR /&gt;ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;BR /&gt;ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;BR /&gt;ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;BR /&gt;ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;BR /&gt;ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;BR /&gt;ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM&lt;BR /&gt;ROMTbl[0][6]: E0042000, CID: B105900D, PID: 003BB907 ETB&lt;BR /&gt;ROMTbl[0][7]: E0043000, CID: B105900D, PID: 001BB908 CSTF&lt;BR /&gt;Cortex-M4 identified.&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;AfterResetTarget()&lt;BR /&gt;PC = 000001D4, CycleCnt = 00000000&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000&lt;BR /&gt;SP(R13)= 20030000, MSP= 20030000, PSP= 00000000, R14(LR) = FFFFFFFF&lt;BR /&gt;XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException)&lt;BR /&gt;CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00&lt;BR /&gt;FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000&lt;BR /&gt;FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000&lt;BR /&gt;FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000&lt;BR /&gt;FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000&lt;BR /&gt;FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000&lt;BR /&gt;FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000&lt;BR /&gt;FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000&lt;BR /&gt;FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000&lt;BR /&gt;FPSCR= 00000000&lt;BR /&gt;Downloading file [C:\Users\Erich Styger\Data\GitRepos\McuOnEclipse\Examples\MCUXpresso\FRDM-K64F\FRDM-K64F_McuOnEclipseLib\Debug\FRDM-K64F_McuOnEclipseLib.hex]...&lt;BR /&gt;J-Link: Flash download: Bank 0 @ 0x00000000: Skipped. Contents already match&lt;BR /&gt;O.K.&lt;BR /&gt;Script processing completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2019 07:27:46 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2019-04-18T07:27:46Z</dc:date>
    <item>
      <title>Hello World with JLink</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901425#M3921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a FRDM-K64F board from NXP with a MK64FN1M0VLL12 processor.&lt;BR /&gt;I seem to be having some issues with the hello_world application. The&lt;BR /&gt;JLink drivers load and I see comm 13 in the Window device manager.&lt;BR /&gt;I updated the firmware on the board to the file: latest 02_OpenSDA_FRDM-K64F .&lt;BR /&gt;I was able to copy and paste the hex executable file into the E: drive in Windows Explorer. &lt;BR /&gt;Starting the debug operation looks like it might work but there is no &lt;BR /&gt;feedback on a terminal connected to comm 13 that hello_world should produce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other issues (Programming and Erase) using JLink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erase does not work (Started in MCUXpressor Quickstart Panel):&lt;BR /&gt;Operation completed with the following error(please see consolefor more details):&lt;BR /&gt;Unable to perform operation !&lt;BR /&gt;Command failed with exit code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log from console:&lt;BR /&gt;Executing flash operation 'Erase' (Erase flash) - Tue Apr 16 15:52:04 CDT 2019&lt;BR /&gt;Checking MCU info...&lt;BR /&gt;Scanning for targets...&lt;BR /&gt;Executing flash action...&lt;BR /&gt;SEGGER J-Link Commander V6.44f (Compiled Apr 12 2019 17:17:37)&lt;BR /&gt;DLL version V6.44f, compiled Apr 12 2019 17:17:02&lt;BR /&gt;J-Link Command File read successfully.&lt;BR /&gt;Processing script file...&lt;BR /&gt;J-Link Commander will now exit on Error&lt;BR /&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;BR /&gt;Hardware version: V8.00&lt;BR /&gt;S/N: 58006015&lt;BR /&gt;License(s): RDI,FlashDL,FlashBP,JFlash&lt;BR /&gt;VTref=3.306V&lt;BR /&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK64FN1M0XXX12" selected.&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget()&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;BR /&gt;CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M4 r0p1, Little endian.&lt;BR /&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FF000&lt;BR /&gt;ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS&lt;BR /&gt;ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;BR /&gt;ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;BR /&gt;ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;BR /&gt;ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;BR /&gt;Cortex-M4 identified.&lt;BR /&gt;Erasing device...&lt;BR /&gt;****** Error: Failed to download RAMCode.&lt;BR /&gt;Failed to prepare for programming.&lt;BR /&gt;Failed to download RAMCode!&lt;BR /&gt;ERROR: Erase returned with error code -1.&lt;BR /&gt;Script processing completed.&lt;BR /&gt;Unable to perform operation!&lt;BR /&gt;Command failed with exit code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Programming does not work (Started in MCUXpressor Quickstart Panel):&lt;BR /&gt;Operation completed with the following error(please see console for more details):&lt;BR /&gt;Unable to perform operation!&lt;BR /&gt;Command failed with exit code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log from console:&lt;BR /&gt;Executing flash operation 'Program' (Program executable into flash Debug\frdmk64f_hello_world.axf) - Tue Apr 16 15:56:02 CDT 2019&lt;BR /&gt;Checking MCU info...&lt;BR /&gt;Scanning for targets...&lt;BR /&gt;Executing flash action...&lt;BR /&gt;SEGGER J-Link Commander V6.44f (Compiled Apr 12 2019 17:17:37)&lt;BR /&gt;DLL version V6.44f, compiled Apr 12 2019 17:17:02&lt;BR /&gt;J-Link Command File read successfully.&lt;BR /&gt;Processing script file...&lt;BR /&gt;J-Link Commander will now exit on Error&lt;BR /&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;BR /&gt;Hardware version: V8.00&lt;BR /&gt;S/N: 58006015&lt;BR /&gt;License(s): RDI,FlashDL,FlashBP,JFlash&lt;BR /&gt;VTref=3.306V&lt;BR /&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK64FN1M0XXX12" selected.&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget()&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;BR /&gt;CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M4 r0p1, Little endian.&lt;BR /&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FF000&lt;BR /&gt;ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS&lt;BR /&gt;ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;BR /&gt;ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;BR /&gt;ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;BR /&gt;ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;BR /&gt;Cortex-M4 identified.&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;AfterResetTarget()&lt;BR /&gt;PC = 00000660, CycleCnt = 00000000&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000&lt;BR /&gt;SP(R13)= 1FFFF530, MSP= 1FFFF530, PSP= 00000000, R14(LR) = FFFFFFFF&lt;BR /&gt;XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException)&lt;BR /&gt;CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00&lt;BR /&gt;FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000&lt;BR /&gt;FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000&lt;BR /&gt;FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000&lt;BR /&gt;FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000&lt;BR /&gt;FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000&lt;BR /&gt;FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000&lt;BR /&gt;FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000&lt;BR /&gt;FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000&lt;BR /&gt;FPSCR= 00000000&lt;BR /&gt;Downloading file [C:\Users\Randy\Documents\MCUXpressoIDE_10.3.1_2233\workspace\frdmk64f_hello_world\Debug\frdmk64f_hello_world.hex]...&lt;BR /&gt;****** Error: Failed to download RAMCode.&lt;BR /&gt;Failed to prepare for programming.&lt;BR /&gt;Failed to download RAMCode!&lt;BR /&gt;Unspecified error -1&lt;BR /&gt;Script processing completed.&lt;BR /&gt;Unable to perform operation!&lt;BR /&gt;Command failed with exit code 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging does not work (Started in MCUXpressor Quickstart Panel):&lt;BR /&gt;[MCUXpresso Semihosting Telnet console for 'frdmk64f_hello_world JLink Debug' started on port 50098 @ 127.0.0.1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Link GDB Server V6.44f - Terminal output channel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log from debug window:&lt;BR /&gt;GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 8.1.0.20180315-git&lt;BR /&gt;Copyright (C) 2018 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&amp;nbsp; Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/bugs/&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/documentation/&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;monitor exec SetRestartOnClose=1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 06:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901425#M3921</guid>
      <dc:creator>randyseedle</dc:creator>
      <dc:date>2019-04-18T06:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World with JLink</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901426#M3922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;are you using an external J-Link or the OpenSDA one on the SDAUSB Port?&lt;/P&gt;&lt;P&gt;I ask because your log shows&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hardware version: V8.00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S/N: 58006015&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;while with the onboard J-Link interface it should show something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connecting to J-Link via USB...O.K.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Firmware: J-Link OpenSDA 2 compiled Jun 28 2018 09:44:47&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hardware version: V1.00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S/N: 621000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;VTref=3.300V&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted my log below.&lt;/P&gt;&lt;P&gt;I belive you have connected your external probe to the wrong core, and you are trying to debug the K20 instead the K64F?&lt;/P&gt;&lt;P&gt;See &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/05/11/debugging-the-frdm-k64f-with-pe-multilink/" title="https://mcuoneclipse.com/2015/05/11/debugging-the-frdm-k64f-with-pe-multilink/"&gt;Debugging the FRDM-K64F with P&amp;amp;E Multilink | MCU on Eclipse&lt;/A&gt; about which SWD/debug connector to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, your J-Link Firmware looks very old (2014?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing flash operation 'Program' (Program executable into flash Debug\FRDM-K64F_McuOnEclipseLib.axf) - Thu Apr 18 09:21:06 CEST 2019&lt;BR /&gt;Checking MCU info...&lt;BR /&gt;Scanning for targets...&lt;BR /&gt;Executing flash action...&lt;BR /&gt;SEGGER J-Link Commander V6.44e (Compiled Apr&amp;nbsp; 5 2019 16:17:35)&lt;BR /&gt;DLL version V6.44e, compiled Apr&amp;nbsp; 5 2019 16:15:03&lt;BR /&gt;J-Link Command File read successfully.&lt;BR /&gt;Processing script file...&lt;BR /&gt;J-Link Commander will now exit on Error&lt;BR /&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link OpenSDA 2 compiled Jun 28 2018 09:44:47&lt;BR /&gt;Hardware version: V1.00&lt;BR /&gt;S/N: 621000000&lt;BR /&gt;VTref=3.300V&lt;BR /&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK64FN1M0XXX12" selected.&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget()&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;BR /&gt;CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M4 r0p1, Little endian.&lt;BR /&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FF000&lt;BR /&gt;ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;BR /&gt;ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;BR /&gt;ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;BR /&gt;ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;BR /&gt;ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;BR /&gt;ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM&lt;BR /&gt;ROMTbl[0][6]: E0042000, CID: B105900D, PID: 003BB907 ETB&lt;BR /&gt;ROMTbl[0][7]: E0043000, CID: B105900D, PID: 001BB908 CSTF&lt;BR /&gt;Cortex-M4 identified.&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;AfterResetTarget()&lt;BR /&gt;PC = 000001D4, CycleCnt = 00000000&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000&lt;BR /&gt;SP(R13)= 20030000, MSP= 20030000, PSP= 00000000, R14(LR) = FFFFFFFF&lt;BR /&gt;XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException)&lt;BR /&gt;CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00&lt;BR /&gt;FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000&lt;BR /&gt;FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000&lt;BR /&gt;FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000&lt;BR /&gt;FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000&lt;BR /&gt;FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000&lt;BR /&gt;FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000&lt;BR /&gt;FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000&lt;BR /&gt;FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000&lt;BR /&gt;FPSCR= 00000000&lt;BR /&gt;Downloading file [C:\Users\Erich Styger\Data\GitRepos\McuOnEclipse\Examples\MCUXpresso\FRDM-K64F\FRDM-K64F_McuOnEclipseLib\Debug\FRDM-K64F_McuOnEclipseLib.hex]...&lt;BR /&gt;J-Link: Flash download: Bank 0 @ 0x00000000: Skipped. Contents already match&lt;BR /&gt;O.K.&lt;BR /&gt;Script processing completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 07:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901426#M3922</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-04-18T07:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World with JLink</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901427#M3923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing the cable connection helped some. I can debug now. Yeah !!! But when I tried to erase the currect&lt;/P&gt;&lt;P&gt;program in flash I got this mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Trying to program flash:&lt;BR /&gt;Executing flash operation 'Program' (Program executable into flash Debug\frdmk64f_hello_world.axf) - Thu Apr 18 16:39:22 CDT 2019&lt;BR /&gt;Checking MCU info...&lt;BR /&gt;Scanning for targets...&lt;BR /&gt;Executing flash action...&lt;BR /&gt;SEGGER J-Link Commander V6.44f (Compiled Apr 12 2019 17:17:37)&lt;BR /&gt;DLL version V6.44f, compiled Apr 12 2019 17:17:02&lt;BR /&gt;J-Link Command File read successfully.&lt;BR /&gt;Processing script file...&lt;BR /&gt;J-Link Commander will now exit on Error&lt;BR /&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;BR /&gt;Hardware version: V8.00&lt;BR /&gt;S/N: 58006015&lt;BR /&gt;License(s): RDI,FlashDL,FlashBP,JFlash&lt;BR /&gt;VTref=3.287V&lt;BR /&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MK64FN1M0XXX12" selected.&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget()&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;BR /&gt;CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M4 r0p1, Little endian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 21:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901427#M3923</guid>
      <dc:creator>randyseedle</dc:creator>
      <dc:date>2019-04-18T21:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World with JLink</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901428#M3924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Randy,&lt;/P&gt;&lt;P&gt;You can use the J-link commander&amp;nbsp; tool to erase: &lt;A class="jivelink9" href="https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/" title="https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/"&gt;https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which version of MCUXpresso IDE do you used ？&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 09:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901428#M3924</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-04-22T09:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World with JLink</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901429#M3925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The j-link commander initially recognises the serial number of the device but is unable to&lt;/P&gt;&lt;P&gt;communicate with the two available device configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 03:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901429#M3925</guid>
      <dc:creator>randyseedle</dc:creator>
      <dc:date>2019-04-23T03:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hello World with JLink</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901430#M3926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG class=""&gt; &lt;SPAN class=""&gt;Randy Seedle,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- I made a video about how to use J-link commander to erase K64 chip, please have&amp;nbsp; a look at my attachment.&lt;/P&gt;&lt;P&gt;- Also, the MCUXpresso IDE also can erase the chip like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80702i65FA448E6F837D6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- If still have issue on your side, please take a video or screenshot to show it.&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 02:36:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Hello-World-with-JLink/m-p/901430#M3926</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-04-24T02:36:54Z</dc:date>
    </item>
  </channel>
</rss>

