<?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: FXTH87xx11 Target connection Lost in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423886#M2874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Logan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for using our community. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you cannot debug the firmware that is preloaded into the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;FXTH87xx11. The read voltage function is part of the preloaded firmware, when you're debugging using the step over function, the compiler tries to jump to the end of the function, which generates an error since the address is not accessible. What it worked for me was to set a breakpoint after the function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;//your code&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;EM&gt;//--&amp;gt; once you get to this point while debugging, click the resume button&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #0000ff; color: #e23d39; font-size: 13.3333330154419px; font-family: Consolas;"&gt;u8Status&amp;nbsp; = TPMS_READ_VOLTAGE(gu16UUMA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #0000ff; color: #e23d39; font-size: 13.3333330154419px; font-family: Consolas;"&gt;BREAKPOINT HERE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//-&amp;gt; now you're able to debug&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I just did a quick test and it worked for me. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;NOTE: As stated in page 141 of the datasheet, "One hardware address breakpoint built into BDC", you can only set ONE hardware address breakpoint, so I would recommend you to use one breakpoint at the time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Josh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 16:59:22 GMT</pubDate>
    <dc:creator>Joshevelle</dc:creator>
    <dc:date>2015-06-05T16:59:22Z</dc:date>
    <item>
      <title>FXTH87xx11 Target connection Lost</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423885#M2873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;I’m debugging FXTH87xx11_Starter_Project_CW10 project downloaded from Freescale website, and found some issue.&lt;/P&gt;&lt;P&gt;( &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fsensors%2Fsoftware_tools%2FFXTH87xx11_StarterProject_CW10.zip%3FWT_TYPE%3DLab%2520and%2520Test%2520Software%26WT_VENDOR%3DFREESCALE%26WT_FILE_FORMAT%3Dzip%26WT_ASSET%3DDownloads%26fileExt%3D.zip" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/sensors/software_tools/FXTH87xx11_StarterProject_CW10.zip?WT_TYPE=Lab%20and%20Test%20Software&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.zip&lt;/A&gt; )&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I debugged this project using the step over function. The debug window displayed “Target connection Lost” when executed firmware routine. The details show in the following picture. For example, when executed TPMS_READ_VOLTAGE() function, “Target connection Lost” would display.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Consolas; color: #e23d39; background: blue;"&gt;u8Status&amp;nbsp; = TPMS_READ_VOLTAGE(gu16UUMA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The routine could run normally before the firmware routine.&lt;/P&gt;&lt;P&gt;Pls help me work it well.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;codewarrior version:10.6.4&lt;/P&gt;&lt;P&gt;Debuggerr: U-MULTLINK-FX&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34318_34318.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120372iAAE399777EB91D48/image-size/large?v=v2&amp;amp;px=999" role="button" title="34318_34318.JPG" alt="34318_34318.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="捕获2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37227i8819C0E0D687A126/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获2.JPG" alt="捕获2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 13:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423885#M2873</guid>
      <dc:creator>loganchen</dc:creator>
      <dc:date>2015-06-03T13:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: FXTH87xx11 Target connection Lost</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423886#M2874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Logan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for using our community. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you cannot debug the firmware that is preloaded into the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;FXTH87xx11. The read voltage function is part of the preloaded firmware, when you're debugging using the step over function, the compiler tries to jump to the end of the function, which generates an error since the address is not accessible. What it worked for me was to set a breakpoint after the function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;//your code&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;EM&gt;//--&amp;gt; once you get to this point while debugging, click the resume button&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #0000ff; color: #e23d39; font-size: 13.3333330154419px; font-family: Consolas;"&gt;u8Status&amp;nbsp; = TPMS_READ_VOLTAGE(gu16UUMA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #0000ff; color: #e23d39; font-size: 13.3333330154419px; font-family: Consolas;"&gt;BREAKPOINT HERE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//-&amp;gt; now you're able to debug&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I just did a quick test and it worked for me. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;NOTE: As stated in page 141 of the datasheet, "One hardware address breakpoint built into BDC", you can only set ONE hardware address breakpoint, so I would recommend you to use one breakpoint at the time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Josh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 16:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423886#M2874</guid>
      <dc:creator>Joshevelle</dc:creator>
      <dc:date>2015-06-05T16:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: FXTH87xx11 Target connection Lost</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423887#M2875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joshevelle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think i find the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If i executed the Erase flash command, codewarrior would erase the address of Firmware Jump Table (0xE000-0xE03F).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 15:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423887#M2875</guid>
      <dc:creator>loganchen</dc:creator>
      <dc:date>2015-06-08T15:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: FXTH87xx11 Target connection Lost</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423888#M2876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi logan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also facing the same problems with the target FXTH870911 could your post some more details about the reason which you found"&lt;EM&gt;&lt;STRONG style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;executed the Erase flash command, codewarrior would erase the address of Firmware Jump Table (0xE000-0xE03F)."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;if i understood correctly , During Flashing to Target shouldn't used the "Erase Whole Device" we need to select the Erase and program option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;option Erase whole Device will may erase pre-loaded&amp;nbsp; Firmware.&lt;/SPAN&gt;&lt;STRONG style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52806i2C64C5466605C295/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if my understanding is correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sakthivel K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 06:53:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/FXTH87xx11-Target-connection-Lost/m-p/423888#M2876</guid>
      <dc:creator>sakthivelkuland</dc:creator>
      <dc:date>2015-08-20T06:53:18Z</dc:date>
    </item>
  </channel>
</rss>

