<?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>CodeWarrior for QorIQ中的主题 LS1012A JTAG queries.</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1715981#M7331</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our customer wants to integrate support for the LS1012A on SEGGER J-Link, currently we are working with the FRWY-LS1012A board.&lt;/P&gt;
&lt;P&gt;From the J-Link perspective there can be implemented scripts to initialize the CPU performing actions like the ones listed below.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Read information from the ROM.&lt;/LI&gt;
&lt;LI&gt;Read/Write information on the CPU debug access port (DAP).&lt;/LI&gt;
&lt;LI&gt;Read/Write information on the CPU registers.&lt;/LI&gt;
&lt;LI&gt;Set specific values on the JTAG pins to perform initialization sequences.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://wiki.segger.com/J-Link_script_files" target="_blank"&gt;https://wiki.segger.com/J-Link_script_files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;J-Link also provide basic commands to stablish direct connection with an specific core, on this case the Cortex-A53, however when running this &lt;EM&gt;“generic”&lt;/EM&gt; commands J-Link can read the device ROM and also interact with the DAP, but it fails when trying to halt the CPU, as per our understanding we need to implement a custom J-Link script which performs the corresponding actions for the debug portion of the LS1012A to be initialized.&lt;/P&gt;
&lt;P&gt;We noted that the LS1012A is supported by Code Warrior, so we reached you out hoping you could let us know if this CPU needs a specific power on sequence or a register configuration to be debugged through JTAG, or if there are CW sources/ routines that we can use as reference for them to be ported on our J-Link setup, could you please confirm?&lt;/P&gt;
&lt;P&gt;It is important to say that we have reviewed the following documents, but we didn’t find any specific sequence for the LS1012A to be debugged through JTAG.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enabling DAP on QorIQ LS1012A (AN5406).&lt;/LI&gt;
&lt;LI&gt;Layerscape LS1012A Freeway (FRWY-LS1012A) Board Getting Started Guide.&lt;/LI&gt;
&lt;LI&gt;QorIQ LS1012A Data Sheet.&lt;/LI&gt;
&lt;LI&gt;QorIQ LS1012A Reference Manual.&lt;/LI&gt;
&lt;LI&gt;QorIQ LS1012A Security (SEC) Reference Manual.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any guidance will be highly appreciated,&lt;/P&gt;
&lt;P&gt;Thanks, and best regards,&lt;/P&gt;
&lt;P&gt;Esteban V.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 21:23:11 GMT</pubDate>
    <dc:creator>estebanvazquez</dc:creator>
    <dc:date>2023-09-01T21:23:11Z</dc:date>
    <item>
      <title>LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1715981#M7331</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our customer wants to integrate support for the LS1012A on SEGGER J-Link, currently we are working with the FRWY-LS1012A board.&lt;/P&gt;
&lt;P&gt;From the J-Link perspective there can be implemented scripts to initialize the CPU performing actions like the ones listed below.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Read information from the ROM.&lt;/LI&gt;
&lt;LI&gt;Read/Write information on the CPU debug access port (DAP).&lt;/LI&gt;
&lt;LI&gt;Read/Write information on the CPU registers.&lt;/LI&gt;
&lt;LI&gt;Set specific values on the JTAG pins to perform initialization sequences.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://wiki.segger.com/J-Link_script_files" target="_blank"&gt;https://wiki.segger.com/J-Link_script_files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;J-Link also provide basic commands to stablish direct connection with an specific core, on this case the Cortex-A53, however when running this &lt;EM&gt;“generic”&lt;/EM&gt; commands J-Link can read the device ROM and also interact with the DAP, but it fails when trying to halt the CPU, as per our understanding we need to implement a custom J-Link script which performs the corresponding actions for the debug portion of the LS1012A to be initialized.&lt;/P&gt;
&lt;P&gt;We noted that the LS1012A is supported by Code Warrior, so we reached you out hoping you could let us know if this CPU needs a specific power on sequence or a register configuration to be debugged through JTAG, or if there are CW sources/ routines that we can use as reference for them to be ported on our J-Link setup, could you please confirm?&lt;/P&gt;
&lt;P&gt;It is important to say that we have reviewed the following documents, but we didn’t find any specific sequence for the LS1012A to be debugged through JTAG.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enabling DAP on QorIQ LS1012A (AN5406).&lt;/LI&gt;
&lt;LI&gt;Layerscape LS1012A Freeway (FRWY-LS1012A) Board Getting Started Guide.&lt;/LI&gt;
&lt;LI&gt;QorIQ LS1012A Data Sheet.&lt;/LI&gt;
&lt;LI&gt;QorIQ LS1012A Reference Manual.&lt;/LI&gt;
&lt;LI&gt;QorIQ LS1012A Security (SEC) Reference Manual.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any guidance will be highly appreciated,&lt;/P&gt;
&lt;P&gt;Thanks, and best regards,&lt;/P&gt;
&lt;P&gt;Esteban V.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 21:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1715981#M7331</guid>
      <dc:creator>estebanvazquez</dc:creator>
      <dc:date>2023-09-01T21:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1716399#M7332</link>
      <description>&lt;P&gt;Please make sure there is valid RCW on the target board.&lt;/P&gt;
&lt;P&gt;Please refer to the attached CodeWarrior initialization file.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 09:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1716399#M7332</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-04T09:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1716715#M7334</link>
      <description>&lt;P&gt;Probably the attached script would be helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 02:11:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1716715#M7334</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-05T02:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1717530#M7335</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thank you very much for your response and sources.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Regarding the &lt;STRONG&gt;&lt;EM&gt;LS1012A_FRWY.txt &lt;/EM&gt;&lt;/STRONG&gt;script, I saw that it initializes several LS1012A registers, configuring the SPI, QSPI, DDR, etc.... however at this point I cannot access the LS1012A register map using J-Link I am wondering if I am missing a previous step.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Regarding the &lt;STRONG&gt;&lt;EM&gt;IDcode.tcl &lt;/EM&gt;&lt;/STRONG&gt;script, I would like to execute it to compare its output against J-Link when reading the IDcode, could you please explain to me how to execute it?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Any guidance will be highly appreciated,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thanks, and best regards,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Esteban V.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 00:12:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1717530#M7335</guid>
      <dc:creator>estebanvazquez</dc:creator>
      <dc:date>2023-09-06T00:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1717896#M7336</link>
      <description>&lt;P&gt;It is needed to execute&amp;nbsp;&lt;EM&gt;IDcode.tcl&amp;nbsp;&amp;nbsp;&lt;/EM&gt;in CCS console provided in CodeWarrior.&lt;/P&gt;
&lt;P&gt;loading history file ... 4 events added&lt;BR /&gt;CodeWarrior Connection Server console display active (Tcl8.4.12 / Tk8.4.12)&lt;BR /&gt;Loading CCSAPI Tcl interface (C:/Freescale/CW4NET_v2020.06_test1/Common/CCS/bin/ccstcl.dll)...&lt;BR /&gt;Loading Svfburner (C:/Freescale/CW4NET_v2020.06_test1/Common/CCS/bin/svfburner.dll)...&lt;BR /&gt;Server listening on port: 41475&lt;BR /&gt;0: CC not present&lt;BR /&gt;There are no command converters configured&lt;BR /&gt;Clients allowed from all hosts&lt;BR /&gt;No clients denied&lt;BR /&gt;(bin) 5 % source IDcode.tcl&lt;/P&gt;
&lt;P&gt;Scanning for available TAPs connected via USB.....&lt;/P&gt;
&lt;P&gt;No TAPs found connected via USB&lt;/P&gt;
&lt;P&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;+&lt;BR /&gt;+ Available Remote Connections&lt;BR /&gt;+&lt;BR /&gt;+ 1 - CodeWarriorTAP - &amp;lt;Specify IP Address&amp;gt;&lt;BR /&gt;+ 2 - GigabitTAP - &amp;lt;Specify IP Address&amp;gt;&lt;BR /&gt;+&lt;BR /&gt;+ x - Exit Script without Changes&lt;BR /&gt;+&lt;BR /&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;/P&gt;
&lt;P&gt;Specify connection:&lt;BR /&gt;1&lt;/P&gt;
&lt;P&gt;Specify IP Address&lt;/P&gt;
&lt;P&gt;10.193.20.75&lt;/P&gt;
&lt;P&gt;Configuring TAP Interface....&lt;/P&gt;
&lt;P&gt;Configured Connection: cwtap : 10.193.20.75&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TDO -----&lt;BR /&gt;| &lt;BR /&gt;* Device 0 IDCODE: 5BA00477 Device: ARM DAP rev 5.x&lt;BR /&gt;* Device 1 IDCODE: 06B2001D Device: NXP LS1012A rev 1.x&lt;BR /&gt;| &lt;BR /&gt;TDI -----&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;###################################################&lt;BR /&gt;#&lt;BR /&gt;# configTAP - Redefine TAP interface&lt;BR /&gt;#&lt;BR /&gt;# scanboard - Scans the target system&lt;BR /&gt;# and returns the JTAG IDCode &lt;BR /&gt;#&lt;BR /&gt;# ir - Loopback test&lt;BR /&gt;#&lt;BR /&gt;###################################################&lt;/P&gt;
&lt;P&gt;(bin) 6 %&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In CCS, we also could use the following command to connect to the processor then reset and halt the processor.&lt;/P&gt;
&lt;P&gt;(bin) 42 % delete all&lt;BR /&gt;(bin) 43 % config cc cwtap:10.193.20.75&lt;BR /&gt;(bin) 46 % ccs::config_chain {ls1043a dap sap2}&lt;BR /&gt;(bin) 47 % ccs::reset_to_debug&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 08:44:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1717896#M7336</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-06T08:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1718514#M7337</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Thank you for the clarification regarding how to run the script, I realized that on my end I cannot run the code using the CCS terminal because I don’t have a CWTAP, instead I am using the CMSIS-DAP to interact with my device, and I think that the CCS console ins not compatible with this communication mechanism.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;However, as per the log you shared the corresponding ID codes for the LS1012A seem to be.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TDO -----
|
* Device 0 IDCODE: 5BA00477 Device: ARM DAP rev 5.x
* Device 1 IDCODE: 06B2001D Device: NXP LS1012A rev 1.x
|
TDI -----&lt;/LI-CODE&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;And it is important to note that on my J-Link script I can obtain the same ID codes please refer to the output below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;JTAG chain detection found 2 devices:
 #0 Id: 0x5BA00477, IRLen: 04, CoreSight JTAG-DP
 #1 Id: 0x06B2001D, IRLen: 05, PowerPC JTAGC-TAP&lt;/LI-CODE&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Moreover, I can read the 0x5BA00477 ID using different J-Link commands so I think that the JTAG communication at this point is correct, I am wondering what I might be missing.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I will continue reviewing the &lt;EM&gt;&lt;STRONG&gt;LS1012A_FRWY &lt;/STRONG&gt;&lt;/EM&gt;script that you sent to see if it contains any other important initialization routine that could help me to finish the communication establishment.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Is there any other tool, script, or routine, that I can review from the CW perspective to find the missing dependencies on my J-Link setup?&lt;/P&gt;&lt;P&gt;Could you please let me know which CW modules are called when running the following instructions on the CCS console?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(bin) 46 % ccs::config_chain {ls1043a dap sap2}&lt;/LI-CODE&gt;&lt;P class="lia-align-justify"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Any guidance will be highly appreciated,&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Thanks, and best regards,&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Esteban V.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 07:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1718514#M7337</guid>
      <dc:creator>estebanvazquez</dc:creator>
      <dc:date>2023-09-07T07:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1718652#M7338</link>
      <description>&lt;P&gt;You could use&amp;nbsp;&lt;SPAN&gt;CMSIS-DAP in CodeWarrior CCS as the following.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(bin) 42 % delete all&lt;BR /&gt;(bin) 43 % config cc cmsisdap&lt;BR /&gt;(bin) 46 % ccs::config_chain {ls1043a dap sap2}&lt;BR /&gt;(bin) 47 % ccs::reset_to_debug&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ccs::config_chain is the basic CCS command, not sure which module it is invoked.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 09:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1718652#M7338</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-07T09:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719280#M7339</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;I established CSS communication with my LS1012A using the CMSISDAP running the instructions below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;delete all
config cc cmsisdap
ccs::config_chain {ls1020a cmsisdap}
ccs::reset_to_debug
display ccs::get_config_chain&lt;/LI-CODE&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;However, I am not sure if I did it correctly since I used the &lt;STRONG&gt;&lt;EM&gt;ls1020a cmsisdap &lt;/EM&gt;&lt;/STRONG&gt;instead of &lt;STRONG&gt;&lt;EM&gt;ls1012a cmsisdap &lt;/EM&gt;&lt;/STRONG&gt;because I got the following error when using the LS1012A CMSISDAP, could you please let me know if I used the correct instructions?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(bin) 21 % ccs::config_chain {ls1012a cmsisdap}
can't read "::ccs::core(ls1012a)": no such element in array&lt;/LI-CODE&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;At this point I would like to understand which could be the main difference between CodeWarrior and J-Link that allows CW to establish the communication channel.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Aditionally, when reviewing the LS1012A-FRWY board schematic, I noted that the ARM core JTAG signals present on the J9 header are also connected to the K-20 microcontroller, and enabled through a GPIO of this MCU, I understand that the connection is done this way for the ARM core to be handled by the CMSISDAP but I would like to understand if there is needed an special software configuration when directly connecting a JTAG probe (such as J-Link) on the J9 header of the LS1012A-FRWY board, could you please confirm?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Any guidance will be highly appreciated,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thanks, and best regards,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Esteban V.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 06:33:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719280#M7339</guid>
      <dc:creator>estebanvazquez</dc:creator>
      <dc:date>2023-09-08T06:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719383#M7340</link>
      <description>&lt;P&gt;Please use the following command for ls1012a.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;ccs::config_chain {ls1043a dap sap2}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to the attached document.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 08:35:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719383#M7340</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-08T08:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719762#M7341</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thank you for your response, please note that when using the &lt;STRONG&gt;&lt;EM&gt;ccs::config_chain {ls1043a dap sap2} &amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;and then the &lt;STRONG&gt;&lt;EM&gt;ccs::reset_to_debug&lt;/EM&gt;&lt;/STRONG&gt; commands, the LS1012A u-boot reboots but the CCS console sends the following error: &lt;EM&gt;&lt;STRONG&gt;“LS1043A: Core not responding”&lt;/STRONG&gt;&lt;/EM&gt;, am I doing something wrong?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="f01.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240257i8ADE6229F1550C41/image-size/large?v=v2&amp;amp;px=999" role="button" title="f01.PNG" alt="f01.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Regarding the provided firmware and documentation those can be used to update the K20 firmware, however, as our final goal is to connect the JTAG probe on the J9 header of the LS1012A-FRWY board, I was wondering if the following signals could have a conflict between J-Link and the CMSISDAP. For example, the LS1012A-FRWY JTAG &lt;STRONG&gt;TRST_B&lt;/STRONG&gt; signal is directly handled by the K-20 and not by the J9 header, could this be an issue for our implementation?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="f02.PNG" style="width: 522px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240258i92D80909F0E1117A/image-size/large?v=v2&amp;amp;px=999" role="button" title="f02.PNG" alt="f02.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Any guidance will be highly appreciated,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thanks, and best regards,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Esteban V.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 22:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719762#M7341</guid>
      <dc:creator>estebanvazquez</dc:creator>
      <dc:date>2023-09-08T22:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719939#M7342</link>
      <description>&lt;P&gt;I suggest you to get a CodeWarrior TAP to do verification on your target board.&lt;/P&gt;
&lt;P&gt;I verified the following commands on my board farm LS1012AFRWY, there is no problem.&lt;/P&gt;
&lt;P&gt;(bin) 5 % config cc cwtap:10.193.20.75&lt;BR /&gt;(bin) 6 % ccs::config_chain {ls1043a dap sap2}&lt;BR /&gt;(bin) 7 % ccs::reset_to_debug&lt;BR /&gt;(bin) 8 %&lt;/P&gt;
&lt;P&gt;Please refer to page 3 in the attached PPT.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 03:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1719939#M7342</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-11T03:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1722580#M7343</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thank you very much for your response, I was able to connect to CCS using the CMSIS-DAP of my LS1012A board, the issue that I have been facing with J-Link is that it cannot halt the CPU, as far as I have seen the &lt;STRONG&gt;&lt;EM&gt;ccs::reset_to_debug &lt;/EM&gt;&lt;/STRONG&gt;command halts the CPU, Is my understanding correct?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Is there any other CW command which only halts the CPU? At this point I would like to enable the CCS logging using &lt;STRONG&gt;&lt;EM&gt;log v&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;::ccs::jtag_logging_on &lt;/EM&gt;&lt;/STRONG&gt;and then halt the CPU with to understand how does Code Warrior performs this action and check if there is something missing on my J-Link script.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Any guidance will be highly appreciated,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thanks, and best regards,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Esteban V.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 00:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1722580#M7343</guid>
      <dc:creator>estebanvazquez</dc:creator>
      <dc:date>2023-09-14T00:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A JTAG queries.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1723031#M7344</link>
      <description>&lt;P&gt;ccs::reset_to_debug&lt;/P&gt;
&lt;P&gt;#Resets all devices connected to the specified&lt;BR /&gt;command converter on the specified server and stops&lt;BR /&gt;them at their reset vector in debug mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cs::stop_core #Halt Execution (place in debug mode) of a core.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 09:50:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/LS1012A-JTAG-queries/m-p/1723031#M7344</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-09-14T09:50:48Z</dc:date>
    </item>
  </channel>
</rss>

