<?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: JTAG Connection and Flash Programming Problem LS1012A in NXP Designs</title>
    <link>https://community.nxp.com/t5/NXP-Designs/JTAG-Connection-and-Flash-Programming-Problem-LS1012A/m-p/1144598#M707</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;Please try whether the following steps would be helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;1. Please configure the target board to use hard-coded RCW mode, please configure&amp;nbsp;cfg_rcw_src as 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;2. Please use the attached script to replace the one in&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;C:\Freescale\CW4NET_v2020.06\CW_ARMv8\ARMv8\gdb_extensions\flash\cwflash.py.&lt;/A&gt;&lt;BR /&gt;Probably you need to modify this script according to your requirement. For example, you use other connection type, the default is CodeWarrior TAP with USB connection.&lt;BR /&gt;&lt;BR /&gt;3. Please put images files in&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;C:\Freescale\&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;CW4NET_v2020.06&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;\CW_ARMv8\ARMv8\gdb\bin.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;4. Open gdb console in&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;C:\Freescale\&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;CW4NET_v2020.06&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;\CW_ARMv8\ARMv8\gdb\bin\aarch64-fsl-gdb.exe,&lt;/A&gt;&lt;BR /&gt;please execute the following commands to do flash programming.&lt;BR /&gt;&lt;BR /&gt;source ../../gdb_extensions/flash/&lt;A href="http://cwflash.py/" target="_blank" rel="nofollow noopener noreferrer"&gt;cwflash.py&lt;/A&gt;&lt;BR /&gt;fl_unprotect 0x0 0x4000000&lt;BR /&gt;fl_write 0x0 firmware_&amp;lt;platform&amp;gt;_uboot_qspiboot.img &amp;nbsp;--erase&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2020 03:25:01 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2020-09-04T03:25:01Z</dc:date>
    <item>
      <title>JTAG Connection and Flash Programming Problem LS1012A</title>
      <link>https://community.nxp.com/t5/NXP-Designs/JTAG-Connection-and-Flash-Programming-Problem-LS1012A/m-p/1135231#M704</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We have made a custom board with LS1012A &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;600MHz&lt;/STRONG&gt;&lt;/FONT&gt; version (LS1012AXN7EKB),&lt;BR /&gt;and we are unable to connect to the Processor with CodeWarrior-TAP.&lt;/P&gt;&lt;P&gt;NOTE : We are &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&lt;/FONT&gt; using "&lt;FONT color="#0000FF"&gt;CMSIS-DAP INTERFACE&lt;/FONT&gt;" (MK20DX128VFM5)&lt;BR /&gt;We have connected the JTAG signal directly to the Processor&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Clock Source &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;"External Clock" 25MHz&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;H/W Settings (Hardcoded - RCW)&lt;BR /&gt;cfg_sysclk_sel (QSPI_A_CS0) -- Pull Down&lt;BR /&gt;cfg_func_backup (QSPI_A_DATA1) -- Pull Down&lt;BR /&gt;cfg_eng_use -- Pull-Up&lt;BR /&gt;cfg_eng_use2 -- Pull-Up ( we are using External Clk)&lt;BR /&gt;cfg_rcw_src -- Pull-Down&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Peripherals Used&lt;BR /&gt;================&lt;BR /&gt;1. QSPI - S25FS512SAGMFI011&lt;BR /&gt;2. SDHC1 - Connected to uSD-Card&lt;BR /&gt;3. SDHC2 - eMMC Flash (IS21ES16G-JQLI)&lt;BR /&gt;4. SERDES - Lane-A : SGMII&lt;BR /&gt;Lane-B : UnUsed&lt;BR /&gt;Lane-D : SATA&lt;/P&gt;&lt;P&gt;Board Voltage Levels&lt;BR /&gt;====================&lt;BR /&gt;Core and Platform voltage : 0.896V&lt;BR /&gt;PLL supply voltage : 1.776V&lt;BR /&gt;Oscillator PLL supply voltage : 1.345V&lt;BR /&gt;SerDes PLL supply voltage : 1.345V&lt;BR /&gt;O1VDD, O2VDD voltage : 1.797V&lt;BR /&gt;EVDD voltage : 3.315V&lt;BR /&gt;DDR3L DRAM I/O voltage : 1.345V&lt;BR /&gt;XTAL IO and osc supply voltage : 1.797V&lt;BR /&gt;XOSC PLLvoltage : 0.896V&lt;/P&gt;&lt;P&gt;Target Initilization script&lt;BR /&gt;===========================&lt;BR /&gt;USE_SAFE_RCW = TRUE&lt;/P&gt;&lt;P&gt;I this case we are getting the following error&lt;BR /&gt;/***************************************************************/&lt;BR /&gt;ERROR: Memory access failed.&lt;BR /&gt;//&lt;BR /&gt;Additional error details:&lt;BR /&gt;Failed to write memory at address 0x1ee00e4 on core CortexA53#0.&lt;BR /&gt;Core CortexA53#0 not found on the JTAG chain.&lt;BR /&gt;Please verify that the Reset Configuration Word is correct, or enable RCW Override in the initialization file.&lt;BR /&gt;/***************************************************************/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Target Initialization Script:&lt;BR /&gt;USE_SAFE_RCW = False&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have witten the RCW values to QSPI flash using External programmer.&lt;BR /&gt;RCW Values for your Ref&lt;/P&gt;&lt;P&gt;/********************************************************************/&lt;BR /&gt;00000000: aa 55 aa 55 01 ee 01 00 08 00 00 06 00 00 00 00&lt;BR /&gt;00000010: 00 00 00 00 00 00 00 00 33 05 00 00 c0 00 00 0c&lt;BR /&gt;00000020: 40 00 00 00 00 00 18 00 00 00 00 00 00 00 00 00&lt;BR /&gt;00000030: 00 00 00 00 00 0c 47 f2 00 00 00 00 10 c2 a1 20&lt;BR /&gt;00000040: 00 00 00 96 00 00 00 00 09 55 00 00 00 0f 40 0c&lt;BR /&gt;00000050: 09 57 06 04 40 10 00 00 09 57 01 5c 50 10 00 00&lt;BR /&gt;00000060: 09 57 06 00 00 00 00 00 08 61 00 40 33 52 b6 69&lt;BR /&gt;/********************************************************************/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RCW error encountered. In order to diagnose the error temporarily change the board configuration switches to ignore the assertion of the RESET_REQ_B signal.&lt;BR /&gt;Please refer to board reference manual in order to locate the appropriate switch that controls this behavior.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please Help us to resolve this issue.&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;R.Abdul Rahman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 13:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/JTAG-Connection-and-Flash-Programming-Problem-LS1012A/m-p/1135231#M704</guid>
      <dc:creator>mail2abd</dc:creator>
      <dc:date>2020-09-03T13:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Connection and Flash Programming Problem LS1012A</title>
      <link>https://community.nxp.com/t5/NXP-Designs/JTAG-Connection-and-Flash-Programming-Problem-LS1012A/m-p/1144598#M707</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Please try whether the following steps would be helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;1. Please configure the target board to use hard-coded RCW mode, please configure&amp;nbsp;cfg_rcw_src as 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;2. Please use the attached script to replace the one in&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;C:\Freescale\CW4NET_v2020.06\CW_ARMv8\ARMv8\gdb_extensions\flash\cwflash.py.&lt;/A&gt;&lt;BR /&gt;Probably you need to modify this script according to your requirement. For example, you use other connection type, the default is CodeWarrior TAP with USB connection.&lt;BR /&gt;&lt;BR /&gt;3. Please put images files in&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;C:\Freescale\&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;CW4NET_v2020.06&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;\CW_ARMv8\ARMv8\gdb\bin.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;4. Open gdb console in&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;C:\Freescale\&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;CW4NET_v2020.06&lt;/A&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012-custom-board-JTAG-speed-too-low/m-p/600769?commentID=852508" target="_blank" rel="nofollow noopener noreferrer"&gt;\CW_ARMv8\ARMv8\gdb\bin\aarch64-fsl-gdb.exe,&lt;/A&gt;&lt;BR /&gt;please execute the following commands to do flash programming.&lt;BR /&gt;&lt;BR /&gt;source ../../gdb_extensions/flash/&lt;A href="http://cwflash.py/" target="_blank" rel="nofollow noopener noreferrer"&gt;cwflash.py&lt;/A&gt;&lt;BR /&gt;fl_unprotect 0x0 0x4000000&lt;BR /&gt;fl_write 0x0 firmware_&amp;lt;platform&amp;gt;_uboot_qspiboot.img &amp;nbsp;--erase&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 03:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/JTAG-Connection-and-Flash-Programming-Problem-LS1012A/m-p/1144598#M707</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-09-04T03:25:01Z</dc:date>
    </item>
  </channel>
</rss>

