<?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>8-bit Microcontrollers中的主题 Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145291#M7129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hi thanks for your speedy response.&amp;nbsp; I have removed the cable and checked for spikes and have not seen any. Further more this worked earler just find on another board.&amp;nbsp; The only difference that I can think of is the addition of serial communication code.&amp;nbsp; I did try it with out the BDM code and it still crashes.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2007 23:50:44 GMT</pubDate>
    <dc:creator>DanielMorley</dc:creator>
    <dc:date>2007-02-15T23:50:44Z</dc:date>
    <item>
      <title>Chip Crash</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145287#M7125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I am using a Multilink to programa MC9S08GT8A.&amp;nbsp; It gives me the following error&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;!OPEN source 0 0 60 39&lt;BR /&gt;NO CONNECTION&lt;BR /&gt;!Source &amp;lt; attributes MARKS off&lt;BR /&gt;!OPEN assembly 60 0 40 31&lt;BR /&gt;!Assembly &amp;lt; attributes ADR on,CODE off,ABSADR on,SYMB off,TOPPC 0xF88C&lt;BR /&gt;!OPEN procedure 0 39 60 17&lt;BR /&gt;!Procedure &amp;lt; attributes VALUES on,TYPES off&lt;BR /&gt;!OPEN register 60 31 40 25&lt;BR /&gt;!Register &amp;lt; attributes FORMAT AUTO,COMPLEMENT None&lt;BR /&gt;!OPEN memory 60 56 40 22&lt;BR /&gt;!Memory &amp;lt; attributes FORMAT hex,COMPLEMENT None,WORD 1,ASC on,ADR on,ADDRESS 0x80&lt;BR /&gt;!OPEN data 0 56 60 22&lt;BR /&gt;!Data:1 &amp;lt; attributes SCOPE global,COMPLEMENT None,FORMAT Symb,MODE automatic,UPDATERATE 10,NAMEWIDTH 16&lt;BR /&gt;!OPEN data 0 78 60 22&lt;BR /&gt;!Data:2 &amp;lt; attributes SCOPE local,COMPLEMENT None,FORMAT Symb,MODE automatic,UPDATERATE 10,NAMEWIDTH 16&lt;BR /&gt;!OPEN command 60 78 40 22&lt;BR /&gt;!Command &amp;lt; attributes CACHESIZE 1000&lt;BR /&gt;!bckcolor 50331647&lt;BR /&gt;!font 'Courier New' 9 BLACK&lt;BR /&gt;!AUTOSIZE on&lt;BR /&gt;!ACTIVATE Data:2 Command Procedure Data:1 Source Register Assembly Memory&amp;nbsp;&lt;BR /&gt;done C_layout.hwl&lt;/DIV&gt;&lt;DIV&gt;Loading Target ...&lt;BR /&gt;Windows NT detected.&lt;BR /&gt;USB HCS08/HCS12 MULTILINK detected - Flash Version 5.55&lt;BR /&gt;Frequency change to ~7788928hz.&lt;BR /&gt;USB HCS08/HCS12 MULTILINK detected - Flash Version 5.55&lt;BR /&gt;Frequency change to ~3882624hz.&lt;BR /&gt;Device is 9S08GT8A.&lt;BR /&gt;Mode is In-Circuit Debug.&lt;/DIV&gt;&lt;DIV&gt;IO registers loaded for MC9S08GT8A from C:\Program Files\Freescale\CodeWarrior for HC08 V5.1\prog\REG\MCU101F.REG&lt;BR /&gt;executing .\cmd\BDM_P&amp;amp;E_Multilink_CyclonePro_startup.cmd&lt;/DIV&gt;&lt;DIV&gt;!// At startup the commands written below will be executed&lt;BR /&gt;Target Ready&lt;BR /&gt;done .\cmd\BDM_P&amp;amp;E_Multilink_CyclonePro_startup.cmd&lt;/DIV&gt;&lt;DIV&gt;Startup command file correctly executed.&lt;BR /&gt;executing .\cmd\BDM_P&amp;amp;E_Multilink_CyclonePro_preload.cmd&lt;/DIV&gt;&lt;DIV&gt;!// Before load the commands written below will be executed&lt;BR /&gt;done .\cmd\BDM_P&amp;amp;E_Multilink_CyclonePro_preload.cmd&lt;/DIV&gt;&lt;DIV&gt;Preload command file correctly executed.&lt;/DIV&gt;&lt;DIV&gt;Loading 952 bytes.&lt;BR /&gt;executing C:\Documents and Settings\Daniel_Morley\My Documents\accuator1\bin\Project.xpr&lt;/DIV&gt;&lt;DIV&gt;!Data:1 &amp;lt; ADDXPR ONLY_ADD_IF_NEW "main.c::_ICGC1.MergedBits."&lt;BR /&gt;MCU Device Selection has been changed.&lt;BR /&gt;done C:\Documents and Settings\Daniel_Morley\My Documents\accuator1\bin\Project.xpr&lt;/DIV&gt;&lt;DIV&gt;executing C:\Documents and Settings\Daniel_Morley\My Documents\accuator1\bin\Project.xpr&lt;/DIV&gt;&lt;DIV&gt;!Data:1 &amp;lt; ADDXPR ONLY_ADD_IF_NEW "main.c::_ICGC1.MergedBits."&lt;BR /&gt;done C:\Documents and Settings\Daniel_Morley\My Documents\accuator1\bin\Project.xpr&lt;/DIV&gt;&lt;DIV&gt;executing .\cmd\BDM_P&amp;amp;E_Multilink_CyclonePro_postload.cmd&lt;/DIV&gt;&lt;DIV&gt;!// After load the commands written below will be executed&lt;BR /&gt;done .\cmd\BDM_P&amp;amp;E_Multilink_CyclonePro_postload.cmd&lt;/DIV&gt;&lt;DIV&gt;Postload command file correctly executed.&lt;BR /&gt;STARTED&lt;BR /&gt;RUNNING&lt;BR /&gt;Preset breakpoint encountered.&lt;BR /&gt;Breakpoint&lt;BR /&gt;Frequency change to ~7804800hz.&lt;/DIV&gt;&lt;DIV&gt;Error: Unable to go into background mode.&lt;/DIV&gt;&lt;DIV&gt;Frequency change to ~3886592hz.&lt;BR /&gt;Warning a RESET has occured.&lt;BR /&gt;STARTED&lt;BR /&gt;RUNNING&lt;BR /&gt;Frequency change to ~7788928hz.&lt;/DIV&gt;&lt;DIV&gt;in&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why is the frequency changing to a 7788928hz when i execut a subroutine to turn on a motor. And what is this present breakpoint?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145287#M7125</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-15T23:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145288#M7126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello David,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You have a RESET.&lt;/DIV&gt;&lt;DIV&gt;- Does the Reset occurs when the motor is turned on ?&lt;/DIV&gt;&lt;DIV&gt;- Does the motor have proper filtering in the command not to slap the MCU with high spikes ?&lt;/DIV&gt;&lt;DIV&gt;- Do you use a USB BDM Multilink and have relays for the motor nearby ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145288#M7126</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-02-15T23:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145289#M7127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;You have a RESET.&lt;/DIV&gt;&lt;DIV&gt;- Does the Reset occurs when the motor is turned on ?&lt;/DIV&gt;&lt;DIV&gt;yes&lt;/DIV&gt;&lt;DIV&gt;- Does the motor have proper filtering in the command not to slap the MCU with high spikes ?&lt;/DIV&gt;&lt;DIV&gt;the motor is a dc 12 volt motor operating through an external motordriver.&lt;/DIV&gt;&lt;DIV&gt;- Do you use a USB BDM Multilink and have relays for the motor nearby ?&lt;/DIV&gt;&lt;DIV&gt;multilink is near the motor yes.&amp;nbsp; I have no relays.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145289#M7127</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-15T23:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145290#M7128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi again,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I read similar experience from yb.&lt;/DIV&gt;&lt;DIV&gt;You may check for spikes with an oscilloscope. (on BDM/MCU pins)&lt;/DIV&gt;&lt;DIV&gt;You can try to either have a better grounding for the Multilink so it's not disturbed by the noise a motor is bound to produce at start-up and during operation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I read someone put his Multilink in grounded aluminium foil. I don't know if he wanted to do some Debug Tunning of if it really works. May be you can try in&amp;nbsp;order to increase immunity.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;But first, have you tried WITHOUT the cable ?&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;If it work with the cable we can continue investigating this way. Otherwise it's a wrong lead.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:35:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145290#M7128</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-02-15T23:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145291#M7129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hi thanks for your speedy response.&amp;nbsp; I have removed the cable and checked for spikes and have not seen any. Further more this worked earler just find on another board.&amp;nbsp; The only difference that I can think of is the addition of serial communication code.&amp;nbsp; I did try it with out the BDM code and it still crashes.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:50:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145291#M7129</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-15T23:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145292#M7130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Good, it means the cable is not to blame &lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Have a look at the interrupt vectors of the serial module.&lt;/DIV&gt;&lt;DIV&gt;They need to be redirected, even to some stupid code, just in case.&lt;/DIV&gt;&lt;DIV&gt;Also, may be the COP is on and you don't give it some nice kick in the backside often enough.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I think you can get the reset source by reading a register and looking at each reset vector was taken.&lt;/DIV&gt;&lt;DIV&gt;That should help you finding the source.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145292#M7130</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-02-15T23:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145293#M7131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I work with motors all the time.&lt;/DIV&gt;&lt;DIV&gt;I would first do what Alban has hinted at and check the SRS register for the source of the reset.&lt;/DIV&gt;&lt;DIV&gt;Then I would try it with everthing connected but disconnect just the motor and see if the problem is still there. Usually the problem is caused by the motor current, but not ALWAYS.&lt;/DIV&gt;&lt;DIV&gt;Is this a brushed motor?&lt;/DIV&gt;&lt;DIV&gt;If not, what type is it?&lt;/DIV&gt;&lt;DIV&gt;Is everything properly sheilded and grounded?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 06:21:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145293#M7131</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-02-16T06:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: S08GT8A  Chip Crash  Reset when Motor starts</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145294#M7132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;It turns out we jumped the gun on the cable issue.&amp;nbsp; It turns out that the BDM was working and now somekind of short developed in it.&amp;nbsp; I am not sure how it happed.&amp;nbsp; Has anyone experienced anything like this or how it is developed.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 22:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Chip-Crash/m-p/145294#M7132</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-16T22:34:44Z</dc:date>
    </item>
  </channel>
</rss>

