<?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: CCSSIM2 ISS - Can not debug on instruction set simulator for T4240, Error message: &amp;quot;Failed to correctly configure the JTAG chain&amp;quot; in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388966#M2307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the fast reply!&lt;/P&gt;&lt;P&gt;I tried CodeWarrior on latest Fedora 64bit and Ubuntu 64bit version and got the same error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screenshot of my debug configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug_configs.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48123iDCA4F80699CD354E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug_configs.png" alt="Debug_configs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is a screen shot of the error message (in the terminal window you can see that ccssim2 is automatically started by CodeWarrior).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CCSSIM_Error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48077i095DFC0CFED7BB55/image-size/large?v=v2&amp;amp;px=999" role="button" title="CCSSIM_Error.png" alt="CCSSIM_Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I forget something to configure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 10:46:41 GMT</pubDate>
    <dc:creator>richardprokesch</dc:creator>
    <dc:date>2014-12-11T10:46:41Z</dc:date>
    <item>
      <title>CCSSIM2 ISS - Can not debug on instruction set simulator for T4240, Error message: "Failed to correctly configure the JTAG chain"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388964#M2305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to debug a simple Hello-World program with the instruction-set-simulator for T4240 using CodeWarrior 10.4.0 (Ubuntu Linux).&lt;/P&gt;&lt;P&gt;I configured the Debug Configuration with "Connection type" = "CCSSIM2 ISS",&amp;nbsp; "Automatic launch" and Port = 41475.&lt;/P&gt;&lt;P&gt;By starting the debug session, "ccssim2" program is automatically launched on localhost, but right after launch the following error message is displayed:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error launching DebugTest-core00_RAM_T4240_Download&lt;/P&gt;&lt;P&gt;CCSProtocolPlugin : Failed to correctly configure the JTAG chain&lt;/P&gt;&lt;P&gt; [CCS last error: Network fault ]&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the logging output:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ccs_open&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipaddr = 127.0.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port = 41475&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout = 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_open; ccs_error = 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error message: Connection refused&lt;/P&gt;&lt;P&gt;ccs_open&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipaddr = 127.0.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port = 41475&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout = 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_open; ccs_error = 0&lt;/P&gt;&lt;P&gt;ccs_get_connection_count&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; count = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_get_connection_count; ccs_error = 0&lt;/P&gt;&lt;P&gt;ccs_set_timeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout = 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_set_timeout; ccs_error = 0&lt;/P&gt;&lt;P&gt;ccs_get_config_chain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; device_list: (size = 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_get_config_chain; ccs_error = 0&lt;/P&gt;&lt;P&gt;ccs_config_chain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cc = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; device_list: (size = 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; device[0]:: core_type=T4240(206)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_config_chain; ccs_error = 37&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error message: CCS Sim error&lt;/P&gt;&lt;P&gt;ccs_kill_server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverh = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ccs_kill_server; ccs_error = 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error message: Network fault&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388964#M2305</guid>
      <dc:creator>richardprokesch</dc:creator>
      <dc:date>2014-12-03T14:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: CCSSIM2 ISS - Can not debug on instruction set simulator for T4240, Error message: "Failed to correctly configure the JTAG chain"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388965#M2306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The T4240ISS needs a Linux 64-bit host for operation, see the OS description in release note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added and tested the support for the following operating systems for both B4860ISS and T4240ISS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Linux64 - CentOS 6.3&lt;/P&gt;&lt;P&gt;&amp;nbsp; Linux64 - OpenSUSE 12.3&lt;/P&gt;&lt;P&gt;&amp;nbsp; Linux64 - Debian 7.1&lt;/P&gt;&lt;P&gt;&amp;nbsp; Linux64 - Red Hat 6.3&lt;/P&gt;&lt;P&gt;&amp;nbsp; Windows 8/32 bits (only for B4860ISS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can try one of them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 08:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388965#M2306</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2014-12-04T08:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: CCSSIM2 ISS - Can not debug on instruction set simulator for T4240, Error message: "Failed to correctly configure the JTAG chain"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388966#M2307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the fast reply!&lt;/P&gt;&lt;P&gt;I tried CodeWarrior on latest Fedora 64bit and Ubuntu 64bit version and got the same error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screenshot of my debug configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug_configs.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48123iDCA4F80699CD354E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug_configs.png" alt="Debug_configs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is a screen shot of the error message (in the terminal window you can see that ccssim2 is automatically started by CodeWarrior).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CCSSIM_Error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48077i095DFC0CFED7BB55/image-size/large?v=v2&amp;amp;px=999" role="button" title="CCSSIM_Error.png" alt="CCSSIM_Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I forget something to configure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 10:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388966#M2307</guid>
      <dc:creator>richardprokesch</dc:creator>
      <dc:date>2014-12-11T10:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: CCSSIM2 ISS - Can not debug on instruction set simulator for T4240, Error message: "Failed to correctly configure the JTAG chain"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388967#M2308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According with the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Installation(make sure you run on a linux 64-bit machine): PA\ccs\bin\linux64\sc3900_swsim_README.txt&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;1. Unzip the package in some folder with keeping archive directory tree.&lt;/P&gt;&lt;P&gt;2. cd to the archive directory.&lt;/P&gt;&lt;P&gt;3. run ccssim2 server for connection with CW or runsim for batch mode simulation(make sure to change all files permissions to executables)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Example: ./ccssim2 -port 40969&lt;/P&gt;&lt;P&gt;4. If you run with CW you need to make the following changes to the project after ccssim2 is started on linux 64-bit machine:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - go to Run - Debug Configuration - select the configuration for your project&lt;/P&gt;&lt;P&gt;&amp;nbsp; - go to Connection - Edit - Connection - check Manual launch&lt;/P&gt;&lt;P&gt;&amp;nbsp; - put at Server hostname/IP - the ip of the linux 64-bit machine where you started ccssim2 on&lt;/P&gt;&lt;P&gt;&amp;nbsp; - put at Server port name - the port on which you started ccssim2(in our example 40969)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, please make sure the simulator is running and the debugging port is correctly set up in CW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 10:52:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388967#M2308</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2014-12-11T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: CCSSIM2 ISS - Can not debug on instruction set simulator for T4240, Error message: "Failed to correctly configure the JTAG chain"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388968#M2309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that helped!&lt;/P&gt;&lt;P&gt;I didn't noticed the linux64 directory in PA\ccs\bin path.&lt;/P&gt;&lt;P&gt;After decompressing the tar file and starting up ccssim2 manually from the linux64 path it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 11:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CCSSIM2-ISS-Can-not-debug-on-instruction-set-simulator-for-T4240/m-p/388968#M2309</guid>
      <dc:creator>richardprokesch</dc:creator>
      <dc:date>2014-12-11T11:03:48Z</dc:date>
    </item>
  </channel>
</rss>

