<?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 MCU中的主题 Re: How to add a debugging target to an existing project?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-add-a-debugging-target-to-an-existing-project/m-p/141738#M2755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Here is an extract from the tips.txt file that is created in the root of your project directory when you create a new project with CW for S12 v. 4.5:&lt;/P&gt;&lt;P&gt;//------------------------------------------------------------------------&lt;BR /&gt;//&amp;nbsp; Appending an additional connection&lt;BR /&gt;//------------------------------------------------------------------------&lt;BR /&gt;If you missed to add a specific connection during the project creation,&lt;BR /&gt;you can do this later as well. However, you have to consider following points:&lt;BR /&gt;- Within your project choose the 'Target' tab and use the menu&lt;BR /&gt;&amp;nbsp;'Project' &amp;gt; 'Create Target...'. In this dialog enter the new&lt;BR /&gt;&amp;nbsp;connection name and choose 'Clone existing target'. You may choose any existing&lt;BR /&gt;&amp;nbsp;target.&lt;BR /&gt;- Select the newly created target. We need now to prepare the&lt;BR /&gt;&amp;nbsp;debugger. Use the menu 'Project' &amp;gt; 'Set Default Target' to select the created target.&lt;BR /&gt;- In case you need a different memory mapping for that specific connection&lt;BR /&gt;&amp;nbsp;(e.g. 'Serial Monitor'),&lt;BR /&gt;&amp;nbsp;you will need to add the modified prm file to the project. Make&lt;BR /&gt;&amp;nbsp;sure that the new .prm file is selected in the target. Make sure the new prm file&lt;BR /&gt;&amp;nbsp;has the bullet set in the target column in the project window. Also make sure that&lt;BR /&gt;&amp;nbsp;the existing prm file has no bullet.&lt;BR /&gt;- The debugger configuration files (.ini) are located in the '{Project}' directory.&lt;BR /&gt;&amp;nbsp;You will need to copy an existing '.ini' file to the same path. For the file&lt;BR /&gt;&amp;nbsp;name use the connection name. You can now drag and drop the ini file to&lt;BR /&gt;&amp;nbsp;'Debugger Project File'.&lt;BR /&gt;- You will need to adapt the 'Arguments' option in the 'CodeWarrior' project setting&lt;BR /&gt;&amp;nbsp;panel 'Build Extras'. Replace the '.ini' file name with the new one.&lt;BR /&gt;&amp;nbsp;Optional: In the same option line replace the '-instance=x' with '-instance=y',&lt;BR /&gt;&amp;nbsp;where y is the new connection. The -instance options makes sure that only one debugger&lt;BR /&gt;&amp;nbsp;instance is open for a certain connection.&lt;BR /&gt;- We need now to setup the debugger. You can do this by starting the debugger.&lt;BR /&gt;&amp;nbsp;In the debugger dialog 'Component' &amp;gt; 'Set Connection...' you can choose the connection.&lt;BR /&gt;&amp;nbsp;- For the Full Chip Simualtion\Simulator Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= Full Chip Simulation&lt;BR /&gt;&amp;nbsp;- For the P&amp;amp;E Multilink/Cyclone Pro Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= P&amp;amp;E Multilink/Cyclone Pro&lt;BR /&gt;&amp;nbsp;- For the SofTec HCS12 Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= SofTec HCS12&lt;BR /&gt;&amp;nbsp;- For the HCS12 Serial Monitor Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= HCS12 Serial Monitor&lt;BR /&gt;- Optional: In case you need 'Command Files', you can create empty files in the '{Project}cmd'&lt;BR /&gt;&amp;nbsp;directory. In the debugger you can use the 'Command Files...' dialog in the Connection&lt;BR /&gt;&amp;nbsp;menu to adapt the debugger.&lt;BR /&gt;- Now you have a new connection in the project.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 19:16:13 GMT</pubDate>
    <dc:creator>Sten</dc:creator>
    <dc:date>2006-07-03T19:16:13Z</dc:date>
    <item>
      <title>How to add a debugging target to an existing project?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-add-a-debugging-target-to-an-existing-project/m-p/141737#M2754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an existing codewarrior HCS12 project that is set up for debugging with the simulator and the serial monitor, but I would like to debug the project using the P&amp;amp;E ICD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't figure out how to add a new debugging target to the project. Does anyone have a solution for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 19:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-add-a-debugging-target-to-an-existing-project/m-p/141737#M2754</guid>
      <dc:creator>MarcV</dc:creator>
      <dc:date>2006-07-03T19:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a debugging target to an existing project?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-add-a-debugging-target-to-an-existing-project/m-p/141738#M2755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Here is an extract from the tips.txt file that is created in the root of your project directory when you create a new project with CW for S12 v. 4.5:&lt;/P&gt;&lt;P&gt;//------------------------------------------------------------------------&lt;BR /&gt;//&amp;nbsp; Appending an additional connection&lt;BR /&gt;//------------------------------------------------------------------------&lt;BR /&gt;If you missed to add a specific connection during the project creation,&lt;BR /&gt;you can do this later as well. However, you have to consider following points:&lt;BR /&gt;- Within your project choose the 'Target' tab and use the menu&lt;BR /&gt;&amp;nbsp;'Project' &amp;gt; 'Create Target...'. In this dialog enter the new&lt;BR /&gt;&amp;nbsp;connection name and choose 'Clone existing target'. You may choose any existing&lt;BR /&gt;&amp;nbsp;target.&lt;BR /&gt;- Select the newly created target. We need now to prepare the&lt;BR /&gt;&amp;nbsp;debugger. Use the menu 'Project' &amp;gt; 'Set Default Target' to select the created target.&lt;BR /&gt;- In case you need a different memory mapping for that specific connection&lt;BR /&gt;&amp;nbsp;(e.g. 'Serial Monitor'),&lt;BR /&gt;&amp;nbsp;you will need to add the modified prm file to the project. Make&lt;BR /&gt;&amp;nbsp;sure that the new .prm file is selected in the target. Make sure the new prm file&lt;BR /&gt;&amp;nbsp;has the bullet set in the target column in the project window. Also make sure that&lt;BR /&gt;&amp;nbsp;the existing prm file has no bullet.&lt;BR /&gt;- The debugger configuration files (.ini) are located in the '{Project}' directory.&lt;BR /&gt;&amp;nbsp;You will need to copy an existing '.ini' file to the same path. For the file&lt;BR /&gt;&amp;nbsp;name use the connection name. You can now drag and drop the ini file to&lt;BR /&gt;&amp;nbsp;'Debugger Project File'.&lt;BR /&gt;- You will need to adapt the 'Arguments' option in the 'CodeWarrior' project setting&lt;BR /&gt;&amp;nbsp;panel 'Build Extras'. Replace the '.ini' file name with the new one.&lt;BR /&gt;&amp;nbsp;Optional: In the same option line replace the '-instance=x' with '-instance=y',&lt;BR /&gt;&amp;nbsp;where y is the new connection. The -instance options makes sure that only one debugger&lt;BR /&gt;&amp;nbsp;instance is open for a certain connection.&lt;BR /&gt;- We need now to setup the debugger. You can do this by starting the debugger.&lt;BR /&gt;&amp;nbsp;In the debugger dialog 'Component' &amp;gt; 'Set Connection...' you can choose the connection.&lt;BR /&gt;&amp;nbsp;- For the Full Chip Simualtion\Simulator Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= Full Chip Simulation&lt;BR /&gt;&amp;nbsp;- For the P&amp;amp;E Multilink/Cyclone Pro Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= P&amp;amp;E Multilink/Cyclone Pro&lt;BR /&gt;&amp;nbsp;- For the SofTec HCS12 Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= SofTec HCS12&lt;BR /&gt;&amp;nbsp;- For the HCS12 Serial Monitor Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use Processor= HC12 and Connection= HCS12 Serial Monitor&lt;BR /&gt;- Optional: In case you need 'Command Files', you can create empty files in the '{Project}cmd'&lt;BR /&gt;&amp;nbsp;directory. In the debugger you can use the 'Command Files...' dialog in the Connection&lt;BR /&gt;&amp;nbsp;menu to adapt the debugger.&lt;BR /&gt;- Now you have a new connection in the project.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 19:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-add-a-debugging-target-to-an-existing-project/m-p/141738#M2755</guid>
      <dc:creator>Sten</dc:creator>
      <dc:date>2006-07-03T19:16:13Z</dc:date>
    </item>
  </channel>
</rss>

