<?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: Error connecting CodeWarrior TAP with LS1046A (GDB command line) in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1833404#M9099</link>
    <description>&lt;P&gt;How? can you please share the steps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 05:21:16 GMT</pubDate>
    <dc:creator>ankur29</dc:creator>
    <dc:date>2024-03-22T05:21:16Z</dc:date>
    <item>
      <title>Error connecting CodeWarrior TAP with LS1046A (GDB command line)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1395717#M8710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone tell me how to attach to a LS1046A-based custom board which is in an error state?&amp;nbsp; We are trying to debug a PBL error so we want to check some status registers while the board is in this error state i.e. DCFG_CCSR_RSTRQPBLSR.&amp;nbsp; We are using GDB command line to attach to our target.&amp;nbsp; Is there any way to attach &lt;STRONG&gt;without initializing&lt;/STRONG&gt; the board?&lt;/P&gt;&lt;PRE&gt;(gdb) cw-launch -c C:/Freescale/CW4NET_v2020.06/CW_ARMv8/Config/boards/LS1046A_FRWY.tcc -p cwtap -gc :ccs:LS1046A&lt;BR /&gt;Configuring the debug probe&lt;BR /&gt;Connecting to LS1046A&lt;BR /&gt;connected successfully&lt;BR /&gt;Halt system&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Execute target initialization...&lt;/FONT&gt;&lt;BR /&gt;Memory access failed.&lt;BR /&gt;//&lt;BR /&gt;Additional error details:&lt;BR /&gt;[Failed to write memory at address 0x2016002c on core CortexA72#0.&lt;BR /&gt;Core CortexA72#0 not found on the JTAG chain. Please verify that the Reset Configuration Word is correct, or enable RCW Override in the initialization file.]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional info:&amp;nbsp; While our board is in this error state, we are successful in reading the RCW from the target using TAP under the QCVS interface of CodeWarrior (by pressing the GUI button circled in the attached screenshot).&amp;nbsp; A presumption on my part, is that the GUI button is going off and reading the&amp;nbsp;DCFG_RCWSRn registers and reporting the results back as successful.&amp;nbsp; Another presumption of mine is that if this is true, there must be a way to access other registers too.&amp;nbsp; All of my attempts to attach to the target in this state result in the above error (either through CodeWarrior debug interface or through gdb command line above), whereas there is no error reading the RCW through the QCVS interface per the attached screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 16:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1395717#M8710</guid>
      <dc:creator>JRRandall</dc:creator>
      <dc:date>2022-01-06T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting CodeWarrior TAP with LS1046A (GDB command line)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1396262#M8713</link>
      <description>&lt;P&gt;Our issue was an invalid PBI command causing the QSPI device reads to loop repeatedly, preventing our board from coming up.&amp;nbsp; Beware the reserved register bits.&amp;nbsp; We had QuadSPI_MCR bit 11 cleared by accident, which I believe was causing the issue.&amp;nbsp; We are now able to connect to our board using cwtap without running the initialization script!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 19:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1396262#M8713</guid>
      <dc:creator>JRRandall</dc:creator>
      <dc:date>2022-01-07T19:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting CodeWarrior TAP with LS1046A (GDB command line)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1833404#M9099</link>
      <description>&lt;P&gt;How? can you please share the steps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 05:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1833404#M9099</guid>
      <dc:creator>ankur29</dc:creator>
      <dc:date>2024-03-22T05:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting CodeWarrior TAP with LS1046A (GDB command line)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1833764#M9100</link>
      <description>&lt;P&gt;Sorry it's been too long I don't remember the exact PBI command that was messing us up here, but they are set early in the boot phase in the RCW section.&amp;nbsp; Here is the one that configured our QSPI NOR device.&amp;nbsp; We also had to enable the ERRATA&amp;nbsp;A-008850 fix for DDR controller.&amp;nbsp; Good luck!&lt;/P&gt;&lt;PRE&gt;// QSPI clock divisor set to 64&lt;BR /&gt;#include &amp;lt;qspi_divisor_64.rcw&amp;gt;&lt;BR /&gt;// Boot pointer for fip.bin (QSPI offset 0x100000)&lt;BR /&gt;#include &amp;lt;boot_address.rcw&amp;gt;&lt;BR /&gt;// Errta A-008850 for ddr controller for barrier transaction&lt;BR /&gt;#include &amp;lt;../ls1046ardb/cci_barrier_disable.rcw&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 13:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Error-connecting-CodeWarrior-TAP-with-LS1046A-GDB-command-line/m-p/1833764#M9100</guid>
      <dc:creator>JRRandall</dc:creator>
      <dc:date>2024-03-22T13:17:20Z</dc:date>
    </item>
  </channel>
</rss>

