<?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 Development ToolsのトピックRe: Stepping through C code in CodeWarrior?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633698#M5453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie, Thank You for your prompt&amp;nbsp;response.&lt;/P&gt;&lt;P&gt;I've been&amp;nbsp;following the steps in the above link but unfortunately received another error message in the middle of debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if they are related or not but this what I get now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After launching the debugger, a Dialog Box appears which erases and&amp;nbsp;tries to&amp;nbsp;flash the MCU. In the middle of that process it errors out with several messages(in red) displaying "FP: No Programming Voltage" and eventually a dialog box which read "Elf Loader. Error while writing to C000..C200".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the Log File&lt;/P&gt;&lt;P&gt;FP: FLASH parameters loaded for MC9S12XEP100_V1(NVMIF2 rev 1,1,1,1) from C:\Program Files (x86)\Freescale\CWS12v5.2\prog\FPP\mcu02D3.fpp&lt;BR /&gt;FP: FLASH parameters loaded for MC9S12XEP100_V1(NVMIF2 rev 1,1,1,1) from C:\Program Files (x86)\Freescale\CWS12v5.2\prog\FPP\mcu02D3.fpp&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_preload.cmd&lt;/P&gt;&lt;P&gt;!// Before load the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_preload.cmd&lt;/P&gt;&lt;P&gt;Preload command file correctly executed.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_reset.cmd&lt;/P&gt;&lt;P&gt;!// After reset the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_reset.cmd&lt;/P&gt;&lt;P&gt;Reset command file correctly executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCU clock speed: 16000 Hz&lt;BR /&gt;Block Module Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address Range&amp;nbsp;&amp;nbsp; Status&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; DFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800 -1F0BFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; PFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4000 -&amp;nbsp; 7FFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; PFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C000 -&amp;nbsp; FFFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; PFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C08000 -FFBFFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the DFLASH flash module =&amp;gt; Skipped.&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the PFLASH flash module =&amp;gt; Skipped.&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the PFLASH flash module =&amp;gt; Skipped.&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the PFLASH flash module =&amp;gt; Skipped.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;!// Before programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;Vppon command file correctly executed.&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;!// After programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;Vppoff command file correctly executed.&lt;BR /&gt;FP: Arm FLASH for loading.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;!// Before programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;Vppon command file correctly executed.&lt;/P&gt;&lt;P&gt;FP: No programming voltage.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;!// After programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;Vppoff command file correctly executed.&lt;BR /&gt;FP: FLASH disarmed.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_postload.cmd&lt;/P&gt;&lt;P&gt;!// After load the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_postload.cmd&lt;/P&gt;&lt;P&gt;Postload command file correctly executed.&lt;BR /&gt;Error: Loading failed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Mar 2017 13:49:19 GMT</pubDate>
    <dc:creator>ras44</dc:creator>
    <dc:date>2017-03-13T13:49:19Z</dc:date>
    <item>
      <title>Stepping through C code in CodeWarrior?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633696#M5451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;I just recently started developing in codewarrior and currently navigating my way through the interface. For some reason I cant seem to step through c code when debugging. I do however believe that the issue may be linked to the secure/unsecure aspect of the project.&lt;/P&gt;&lt;P&gt;I'll try to explain as best I can.&lt;/P&gt;&lt;P&gt;Going into the debugger, the first message I receive is "Communication with the target failed: The target MCU has no clock or wrong BDM clock speed is used or derivative is secured".&lt;/P&gt;&lt;P&gt;To get around this, I simply set the correct derivative and unsecure it using a file that came with it. After unsecuring it, I'm able to flash the MCU. After flashing the MCU, everything is grayed out and it seems like it secured it again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I once again unsecure it, which makes all the interface/buttons active again but nothing to step through?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCU: HCS12XE Family&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 14:00:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633696#M5451</guid>
      <dc:creator>ras44</dc:creator>
      <dc:date>2017-03-08T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Stepping through C code in CodeWarrior?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633697#M5452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for posting your question here.&lt;/P&gt;&lt;P&gt;This is a very typical question and was ever asked by customers before. See answer in this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/849101"&gt;https://community.nxp.com/message/849101&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 06:47:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633697#M5452</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-03-09T06:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Stepping through C code in CodeWarrior?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633698#M5453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie, Thank You for your prompt&amp;nbsp;response.&lt;/P&gt;&lt;P&gt;I've been&amp;nbsp;following the steps in the above link but unfortunately received another error message in the middle of debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if they are related or not but this what I get now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After launching the debugger, a Dialog Box appears which erases and&amp;nbsp;tries to&amp;nbsp;flash the MCU. In the middle of that process it errors out with several messages(in red) displaying "FP: No Programming Voltage" and eventually a dialog box which read "Elf Loader. Error while writing to C000..C200".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the Log File&lt;/P&gt;&lt;P&gt;FP: FLASH parameters loaded for MC9S12XEP100_V1(NVMIF2 rev 1,1,1,1) from C:\Program Files (x86)\Freescale\CWS12v5.2\prog\FPP\mcu02D3.fpp&lt;BR /&gt;FP: FLASH parameters loaded for MC9S12XEP100_V1(NVMIF2 rev 1,1,1,1) from C:\Program Files (x86)\Freescale\CWS12v5.2\prog\FPP\mcu02D3.fpp&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_preload.cmd&lt;/P&gt;&lt;P&gt;!// Before load the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_preload.cmd&lt;/P&gt;&lt;P&gt;Preload command file correctly executed.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_reset.cmd&lt;/P&gt;&lt;P&gt;!// After reset the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_reset.cmd&lt;/P&gt;&lt;P&gt;Reset command file correctly executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCU clock speed: 16000 Hz&lt;BR /&gt;Block Module Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address Range&amp;nbsp;&amp;nbsp; Status&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; DFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800 -1F0BFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; PFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4000 -&amp;nbsp; 7FFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; PFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C000 -&amp;nbsp; FFFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; PFLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C08000 -FFBFFF&amp;nbsp;&amp;nbsp; Blank - Unselected&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the DFLASH flash module =&amp;gt; Skipped.&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the PFLASH flash module =&amp;gt; Skipped.&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the PFLASH flash module =&amp;gt; Skipped.&lt;/P&gt;&lt;P&gt;FP: The UNPROTECT command is not available for the PFLASH flash module =&amp;gt; Skipped.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;!// Before programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;Vppon command file correctly executed.&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;/P&gt;&lt;P&gt;FP: No programming voltage&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;!// After programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;Vppoff command file correctly executed.&lt;BR /&gt;FP: Arm FLASH for loading.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;!// Before programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;/P&gt;&lt;P&gt;Vppon command file correctly executed.&lt;/P&gt;&lt;P&gt;FP: No programming voltage.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;!// After programming the flash, the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/P&gt;&lt;P&gt;Vppoff command file correctly executed.&lt;BR /&gt;FP: FLASH disarmed.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_postload.cmd&lt;/P&gt;&lt;P&gt;!// After load the commands written below will be executed &lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_postload.cmd&lt;/P&gt;&lt;P&gt;Postload command file correctly executed.&lt;BR /&gt;Error: Loading failed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 13:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633698#M5453</guid>
      <dc:creator>ras44</dc:creator>
      <dc:date>2017-03-13T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Stepping through C code in CodeWarrior?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633699#M5454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Husein.&lt;/P&gt;&lt;P&gt;Regarding to your error message "FP: No Programming Voltage" ,&lt;/P&gt;&lt;P&gt;Unfortunately there may be more reasons for this problem.&lt;BR /&gt;Possible reasons are:&lt;BR /&gt;1.)&lt;BR /&gt;MCU is NOT placed in Special Single chip mode.&lt;BR /&gt;Please check the MODA, MODB and MODC pin connections on your PCB.&lt;BR /&gt;For Special Single chip mode MODA=0, MODB=0, MODC=0.&lt;BR /&gt;MODC should be connected to Vdd via pull up resistor about 4k7 (BDM will drive the MODC line low during Reset sequence and put the MCU to special single chip mode).&lt;BR /&gt;MODB&amp;amp;MODA should be connected via pull-down to Vss or left not connected.(There is internal pull-down resistor during reset).&lt;BR /&gt;For example: When the MODC=unconnected (high during reset), MODB = 1, MODA = unconnected (low during reset) I have also got these error messages: FP: No programming voltage FP: No programming voltage FP: ALL_PPAGES flash module is bad or protected.&lt;BR /&gt;2.) MCU may be damaged, or there is cold-soldered joint on PCB.&lt;BR /&gt;3.) Wrong derivative is selected (check debugger menu "P&amp;amp;E MultilinkCyclonePro", "set derivative...")&lt;BR /&gt;4.) Another problem…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 08:04:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Stepping-through-C-code-in-CodeWarrior/m-p/633699#M5454</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-03-14T08:04:00Z</dc:date>
    </item>
  </channel>
</rss>

