<?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: program flash on the FRDM-K22F board, in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/program-flash-on-the-FRDM-K22F-board/m-p/699381#M43009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry for the late reply!&lt;/P&gt;&lt;P&gt;You don't need to removed jumpers J10 and J13.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;With the latest Segger firmware loaded, the onboard OpenSDA can be act as Segger J-Link.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have attached the latest firmware application of FRDM-K22F '&lt;A href="https://www.segger.com/downloads/jlink/OpenSDA_FRDM-K22F"&gt;01_OpenSDA_FRDM-K22F.bin&lt;/A&gt;' here.&lt;/P&gt;&lt;P&gt;You can refer the method descripted in '&lt;A href="https://mcuoneclipse.com/2013/05/16/freedom-board-with-segger-opensda-debug-firmware/"&gt;Freedom Board with Segger OpenSDA Debug Firmware&lt;/A&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 10 Oct 2017 08:17:11 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2017-10-10T08:17:11Z</dc:date>
    <item>
      <title>program flash on the FRDM-K22F board,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/program-flash-on-the-FRDM-K22F-board/m-p/699380#M43008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to program flash on the FRDM-K22F board, using a Segger Jlink and Segger JFlash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have identified the target as MK22FN512xxx12. I've tried using both JTAG and SWD interface.&amp;nbsp; I varied speed from 100 to 4k.&amp;nbsp; I am able to connect to the processor.&amp;nbsp;&amp;nbsp; When I try to erase device, I get the following errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to download RAMCode&lt;/P&gt;&lt;P&gt;Failed to prepare for programming&lt;/P&gt;&lt;P&gt;Failed to erase sectors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something obvious?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have removed jumpers J10 and J13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;error log&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;Erasing MK22FN512XXX12 via JTAG-Interface@1000kHz &lt;BR /&gt;Erase Thread started.&lt;BR /&gt;Device "MK22FN512XXX12" selected.&lt;BR /&gt;InitTarget()&lt;BR /&gt;TotalIRLen = 4, IRPrint = 0x01&lt;BR /&gt;JTAG chain detection found 1 devices:&lt;BR /&gt;&amp;nbsp;#0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP&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;Debugger initialized successfully.&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;Failed to read back RAMCode for verification.&lt;BR /&gt;Failed to prepare for programming.&lt;BR /&gt;Failed to download RAMCode!&lt;BR /&gt;Erase Thread exited &lt;BR /&gt;Erase failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:57:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/program-flash-on-the-FRDM-K22F-board/m-p/699380#M43008</guid>
      <dc:creator>Ed_McM</dc:creator>
      <dc:date>2017-10-05T15:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: program flash on the FRDM-K22F board,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/program-flash-on-the-FRDM-K22F-board/m-p/699381#M43009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry for the late reply!&lt;/P&gt;&lt;P&gt;You don't need to removed jumpers J10 and J13.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;With the latest Segger firmware loaded, the onboard OpenSDA can be act as Segger J-Link.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have attached the latest firmware application of FRDM-K22F '&lt;A href="https://www.segger.com/downloads/jlink/OpenSDA_FRDM-K22F"&gt;01_OpenSDA_FRDM-K22F.bin&lt;/A&gt;' here.&lt;/P&gt;&lt;P&gt;You can refer the method descripted in '&lt;A href="https://mcuoneclipse.com/2013/05/16/freedom-board-with-segger-opensda-debug-firmware/"&gt;Freedom Board with Segger OpenSDA Debug Firmware&lt;/A&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 10 Oct 2017 08:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/program-flash-on-the-FRDM-K22F-board/m-p/699381#M43009</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-10-10T08:17:11Z</dc:date>
    </item>
  </channel>
</rss>

