<?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: rebooting the 5485 with software? in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131032#M839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are running 2.6.29 kernel (CFLINUX_20100901) on a MCF5474-based design. When we execute a reboot command from Linux, this eventually calls the machine_restart() function that calls mach_reset() (=coldfire_reboot()), which disables interrupts, enables a short watchdog timeout and halts at a forever loop if the watchdog doesn't reset first. What we have found is that the reset by the watchdog intermittently fails, maybe 1 in 10.&lt;BR /&gt;&lt;BR /&gt;We have a BDM with GDB attached and a logic analyser on the flex bus. When the CPU fails to start, it has hung at address zero; the chip select registers appear to have been correctly reset (only CS0 enabled, with max wait states); if we try and display the beginning of the NOR Flash memory using GDB where the reset vector resides we read back all zeroes, yet the logic analyzer shows /CSO being asserted and the NOR flash driving the reset vector and initial stack pointer setting onto the flex bus.&lt;BR /&gt;&lt;BR /&gt;Any ideas what the problem may be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 23:42:34 GMT</pubDate>
    <dc:creator>kevin_curtis</dc:creator>
    <dc:date>2011-12-12T23:42:34Z</dc:date>
    <item>
      <title>rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131029#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;Mar 28, 2006, 12:48 PM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] rebooting the 5485 with software?&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;software.&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 12:59 PM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;If your product has a watchdog with a reasonably short timeout period, you&lt;BR /&gt;could simply disable interrupts and enter an endless loop.&lt;/DIV&gt;&lt;DIV&gt;-----Original Message-----&lt;BR /&gt;From: On&lt;BR /&gt;Behalf Of Chaloupka, Karel&lt;BR /&gt;Sent: Tuesday, March 28, 2006 12:49 PM&lt;BR /&gt;To:&amp;nbsp;&lt;BR /&gt;Subject: [ColdFire] rebooting the 5485 with software?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;software.&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 1:01 PM&lt;/DIV&gt;&lt;DIV&gt;Post #3 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I don't know if you're using Linux, but if you are,&lt;BR /&gt;you can do a system("reboot"); call from a c program&lt;BR /&gt;as a very high level solution.&lt;/DIV&gt;&lt;DIV&gt;--- "Chaloupka, Karel" &amp;lt;&amp;gt;&lt;BR /&gt;wrote:&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; Does, anybody know a simple way to reset a 5485 by&lt;BR /&gt;&amp;gt; using software? We&lt;BR /&gt;&amp;gt; have a requirement here where we need to invoke a&lt;BR /&gt;&amp;gt; processor reset by&lt;BR /&gt;&amp;gt; software.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 1:15 PM&lt;/DIV&gt;&lt;DIV&gt;Post #4 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I know in the 5282 there's a bit in the Reset Status Register (RSR) called&lt;BR /&gt;SOFTRST. Setting this bit will force a reset.&lt;/DIV&gt;&lt;DIV&gt;I reviewed the data sheet for the 5485 and it doesn't appear to have the&lt;BR /&gt;same bit. If you have the watchdog enabled, you could disable interrupts&lt;BR /&gt;and run an infinite loop until the watchdog resets.&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;-----Original Message-----&lt;BR /&gt;From:&amp;nbsp;&lt;BR /&gt;Behalf Of Chaloupka, Karel&lt;BR /&gt;Sent: March 28, 2006 3:49 PM&lt;BR /&gt;To:&lt;BR /&gt;Subject: [ColdFire] rebooting the 5485 with software?&lt;/DIV&gt;&lt;DIV&gt;Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;software.&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 1:17 PM&lt;/DIV&gt;&lt;DIV&gt;Post #5 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;You can use the internal watchdog in GPT0. Set it to some 10ms, then&lt;BR /&gt;just wait and see the fireworks... &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif"&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;BR /&gt;Luca Burelli&lt;/DIV&gt;&lt;DIV&gt;"I have seen things you people would not believe. Attack ships on fire off&lt;BR /&gt;the shoulder of Orion. C-beams glittering in the dark near the Tannhauser&lt;BR /&gt;Gate. But... all those moments will be lost in time, like tears in rain."&lt;BR /&gt;(Roy Batty, from Blade Runner, 1982)&lt;/DIV&gt;&lt;DIV&gt;_&lt;BR /&gt;ASCII ribbon campaign ( )&lt;BR /&gt;- against HTML email X&lt;BR /&gt;&amp;amp; vCards / \&lt;/DIV&gt;&lt;DIV&gt;On Tue, 28 Mar 2006, Chaloupka, Karel wrote:&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;&amp;gt; have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;&amp;gt; software.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; --------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 1:17 PM&lt;/DIV&gt;&lt;DIV&gt;Post #6 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;You can use the internal watchdog in GPT0. Set it to some 10ms, then&lt;BR /&gt;just wait and see the fireworks... &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif"&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;BR /&gt;Luca Burelli&lt;/DIV&gt;&lt;DIV&gt;"I have seen things you people would not believe. Attack ships on fire off&lt;BR /&gt;the shoulder of Orion. C-beams glittering in the dark near the Tannhauser&lt;BR /&gt;Gate. But... all those moments will be lost in time, like tears in rain."&lt;BR /&gt;(Roy Batty, from Blade Runner, 1982)&lt;/DIV&gt;&lt;DIV&gt;_&lt;BR /&gt;ASCII ribbon campaign ( )&lt;BR /&gt;- against HTML email X&lt;BR /&gt;&amp;amp; vCards / \&lt;/DIV&gt;&lt;DIV&gt;On Tue, 28 Mar 2006, Chaloupka, Karel wrote:&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;&amp;gt; have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;&amp;gt; software.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; --------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 1:43 PM&lt;/DIV&gt;&lt;DIV&gt;Post #7 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;This is the routine we use that does what others have suggested - enable&lt;BR /&gt;the Watchdog timer and wait for it to expire. The isrMasked() and&lt;BR /&gt;isrMask() routines are specific to our RTOS, but it shouldn't be too&lt;BR /&gt;hard for you to get this to compile. We use it on MCF547X/8x boards.&lt;/DIV&gt;&lt;DIV&gt;/***********************************************************************/&lt;BR /&gt;/* bspReset: Reset the board and CPU */&lt;BR /&gt;/* */&lt;BR /&gt;/***********************************************************************/&lt;BR /&gt;void bspReset(void)&lt;BR /&gt;{&lt;BR /&gt;if (!isrMasked())&lt;BR /&gt;fclose(stdin);&lt;BR /&gt;isrMask();&lt;BR /&gt;MCF_GPT_GCIR0 = MCF_GPT_GCIR_PRE(1) | MCF_GPT_GCIR_CNT(2);&lt;BR /&gt;MCF_GPT_GMS0 = MCF_GPT_GMS_CE | MCF_GPT_GMS_WDEN |&lt;BR /&gt;MCF_GPT_GMS_TMS_GPIO;&lt;BR /&gt;while (MCF_GPT_GMS0) ;&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;DIV&gt;----- Original Message -----&lt;BR /&gt;From: "Chaloupka, Karel" &amp;lt;&amp;gt;&lt;BR /&gt;To: &lt;A class="jive-link-email-small" href="mailto:stout@blunkmicro.com"&gt;stout@blunkmicro.com&lt;/A&gt;&lt;BR /&gt;Sent: Tuesday, March 28, 2006 12:48 PM&lt;BR /&gt;Subject: [ColdFire] rebooting the 5485 with software?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;software.&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Mar 28, 2006, 2:27 PM&lt;/DIV&gt;&lt;DIV&gt;Post #8 of 8 (6 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] rebooting the 5485 with software? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;We used a GPIO line and (wire anded it in with our reset along with the&lt;BR /&gt;BDM reset) pretty simple we use it to reset our box after a software&lt;BR /&gt;update. All the devices are tied together to open collector. Works&lt;BR /&gt;great.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Gregg GRANVILLE&lt;BR /&gt;Hardware Engineering Manager&lt;BR /&gt;-------------------------------------&lt;BR /&gt;Tel 1 603.622.0212 / Fax 1 603.623.5623&lt;BR /&gt;&lt;A class="jive-link-email-small" href="mailto:ggranville@metronics.com"&gt;ggranville@metronics.com&lt;/A&gt;&lt;SPAN&gt;/ &lt;A href="https://community.nxp.com/www.metronics.com" target="test_blank"&gt;www.metronics.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;--------------------------------------------------------&lt;BR /&gt;METRONICS /// 30 Harvey Road // Bedford, NH 03110-6818 / US&lt;BR /&gt;-----Original Message-----&lt;BR /&gt;From: On Behalf Of Doug Leany&lt;BR /&gt;Sent: Tuesday, March 28, 2006 3:59 PM&lt;BR /&gt;To: Granville Gregg&lt;BR /&gt;Subject: RE: [ColdFire] rebooting the 5485 with software?&lt;/DIV&gt;&lt;DIV&gt;If your product has a watchdog with a reasonably short timeout period,&lt;BR /&gt;you&lt;BR /&gt;could simply disable interrupts and enter an endless loop.&lt;/DIV&gt;&lt;DIV&gt;-----Original Message-----&lt;BR /&gt;From: On Behalf Of Chaloupka, Karel&lt;BR /&gt;Sent: Tuesday, March 28, 2006 12:49 PM&lt;BR /&gt;&lt;SPAN&gt;To: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:DLEANY@Opto22.com"&gt;DLEANY@Opto22.com&lt;/A&gt;&lt;BR /&gt;Subject: [ColdFire] rebooting the 5485 with software?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Does, anybody know a simple way to reset a 5485 by using software? We&lt;BR /&gt;have a requirement here where we need to invoke a processor reset by&lt;BR /&gt;software.&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:11 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:25 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:35 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2006 07:53:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131029#M836</guid>
      <dc:creator>Dietrich</dc:creator>
      <dc:date>2006-04-01T07:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131030#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;I've tried the above solution, but it intermittently fails.&amp;nbsp; We attached a scope to the RSTO line coming out of the our 5474 processor and noticed that the reset line is only held low for about 40ns.&lt;BR /&gt;&lt;BR /&gt;This is too short for resetting the flash chips on our board.&amp;nbsp; Is there any way of lengthening how long the reset output line is held low for when the watchdog is triggered?&lt;BR /&gt;&lt;BR /&gt;Ken.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 21:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131030#M837</guid>
      <dc:creator>kwong</dc:creator>
      <dc:date>2007-06-13T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131031#M838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the same problem. Did you find a solution ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 13:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131031#M838</guid>
      <dc:creator>schiller</dc:creator>
      <dc:date>2011-05-26T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131032#M839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are running 2.6.29 kernel (CFLINUX_20100901) on a MCF5474-based design. When we execute a reboot command from Linux, this eventually calls the machine_restart() function that calls mach_reset() (=coldfire_reboot()), which disables interrupts, enables a short watchdog timeout and halts at a forever loop if the watchdog doesn't reset first. What we have found is that the reset by the watchdog intermittently fails, maybe 1 in 10.&lt;BR /&gt;&lt;BR /&gt;We have a BDM with GDB attached and a logic analyser on the flex bus. When the CPU fails to start, it has hung at address zero; the chip select registers appear to have been correctly reset (only CS0 enabled, with max wait states); if we try and display the beginning of the NOR Flash memory using GDB where the reset vector resides we read back all zeroes, yet the logic analyzer shows /CSO being asserted and the NOR flash driving the reset vector and initial stack pointer setting onto the flex bus.&lt;BR /&gt;&lt;BR /&gt;Any ideas what the problem may be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 23:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131032#M839</guid>
      <dc:creator>kevin_curtis</dc:creator>
      <dc:date>2011-12-12T23:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131033#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the Errata. There's nothing obvious in there, but make sure you don't have an old chip with SECF060.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are you generating a "very short reset" like one of the other posters had that might not be resetting your FLASH chips properly? Is it possible to switch the CPU to running on a slower clock before generating the watchdog? You might be able to get a longer reset that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is always worth deliberately shutting everything down prior to a reset if you can, like resetting all controllers, stoppng DMA and Interrupts, disable the DRAM, reset the GPIO pins, slow down the CPU and so on. If you do that and the problem goes away you can find out which change did it and zero in on the original problem. Do you have pullups/downs on any sensitive pins that tri-state durng reset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do the FlexBus and DDRAM controller share any data pins, like the Series 2 and 3 ones do (it looks like they don't)? Do you have any other peripherals on your data bus? A lot of these chips have problems when they reset during a DRAM cycle, as the DRAM can then lock up and jam the busses. Likewise some peripherals if active when their bus cycle is aborted during reset. Refer to the descriptions here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/69745#69745" title="https://community.freescale.com/message/69745#69745"&gt;https://community.freescale.com/message/69745#69745&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 08:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131033#M840</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2011-12-13T08:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131034#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;kevin_curtis wrote:&lt;BR /&gt;&lt;P&gt;When the CPU fails to start, it has hung at address zero; the chip select registers appear to have been correctly reset (only CS0 enabled, with max wait states);&lt;BR /&gt;&lt;BR /&gt;Any ideas what the problem may be?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It might be a similar one to this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/100188#100188" title="https://community.freescale.com/message/100188#100188"&gt;https://community.freescale.com/message/100188#100188&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These chips all have "force a few address or data pins to specific levels during reset" to set a bunch of startup options. With the MCF5301X it seems there is at least one pin that must be driven on reset, but none of the documentation lists it. It is unlikely the same would be happening with your chip, but it is something to check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More likely is that you're not driving all of AD[12:8] properly on reset, or that some other chip on the bus is intermittently jamming them during reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another suggestion on reset, make sure you've disabled the cache in case the chip is being reset during a cache flush operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 07:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131034#M841</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2011-12-14T07:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131035#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; thanks for your two answers to my question, it is much appreciated.&amp;nbsp; We will certainly check out all of your suggestions and post our finding back here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:56:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131035#M842</guid>
      <dc:creator>kevin_curtis</dc:creator>
      <dc:date>2011-12-14T16:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: rebooting the 5485 with software?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131036#M843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was brought to our attention that the M5474LITE development board is configured to run with a 66MHz CLKIN and 1:2 bus ratio which results in 66MHz PCI/FlexBus, 133MHz SDRAM and 266MHz Core frequencies. Our own MCF5474-based design was configured to run with 33MHz CLKIN and 1:4 bus ratio which results in 33MHz PCI/FlexBus, 133MHz SDRAM and 266MHz Core frequencies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After modifying our design to run 66MHz CLKIN with a 1:2 bus ratio, we retested with an auto reset on U-Boot (bootdelay 10, bootcmd reset) and successfully restarted more than 27000 times. Previously it hung roughly 1 in 10 restart attempts and I had never seen more than 28 restarts without it hanging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Errata SEFC077 documents a 1:4 bus ratio fault that can result in a FlexBus hang, but does not mention anything to do with a Watchdog reset hang. The workaround mentioned in SEFC077 did not affect the reliability of the Watchdog reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks TomE for your suggestions, but we didn't have any success with selectively shutting down components prior to initiating the watchdog reset with 33MHz CLKIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 00:33:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/rebooting-the-5485-with-software/m-p/131036#M843</guid>
      <dc:creator>kevin_curtis</dc:creator>
      <dc:date>2012-01-26T00:33:16Z</dc:date>
    </item>
  </channel>
</rss>

