<?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: MON08 on 908JB16: Soft reset problem in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194318#M15411</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;The interface hardware between PTA0 and an RS232 port is custom build.&lt;/DIV&gt;&lt;DIV&gt;It has no reset pin control.&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;The MON08 works 100% error free apart from the above problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The soft reset is the "reset target (Ctrl-R)" in hiwave.exe, i presume that it is command driven thru PTA0.&lt;/DIV&gt;&lt;DIV&gt;It looks like an illegal adddress reset as RSR always contains bit3=1 (ILAD) after that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Vdd is 5.00V, Vtst is 7.80V&amp;nbsp; ( Vtst&amp;gt;Vdd+2.50V and Vtst&amp;lt;8V (Abs MAX) as per technical datasheet)&lt;/DIV&gt;&lt;DIV&gt;PTA0,PTA1,PTA3 and PTE3&amp;nbsp;have 10k pullup, PTA2 has 10k pulldown, as they should.&lt;/DIV&gt;&lt;DIV&gt;Of course the first thing i checked is that these are correct on all boards.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;The problem is not spontaneous as some (&lt;EM&gt;of the indentical&lt;/EM&gt;) boards constistantly wont reset and some consitantly will (on request).&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by MrBean on &lt;SPAN class="date_text"&gt;2008-10-16&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:30 PM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by MrBean on &lt;SPAN class="date_text"&gt;2008-10-16&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:32 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2008 22:28:05 GMT</pubDate>
    <dc:creator>MrBean</dc:creator>
    <dc:date>2008-10-16T22:28:05Z</dc:date>
    <item>
      <title>MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194316#M15409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using a MON08 interface on 908JB16's.&lt;/DIV&gt;&lt;DIV&gt;Everything works fine, i can program, step, run, read flash&amp;amp;RAM etc.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But.. some of my boards exhibit a annoying problem:&lt;/DIV&gt;&lt;DIV&gt;Soft reset doesnt work:&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Attempting soft reset of HC08 device ... Unsuccessful.&lt;BR /&gt;Starting powerdown reset sequence ...&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Only on some of my boards... Others give:&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Attempting soft reset of HC08 device ...&amp;nbsp;&amp;nbsp;Success.(RSR=$xx)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;There is no difference between boards with a working soft reset and ones that wont.&lt;/DIV&gt;&lt;DIV&gt;Same hardware, same cpu (datecode), same flash contents, same cable...&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any idea's as to what might cause this ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by MrBean on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-10-16&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;03:33 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 20:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194316#M15409</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-10-16T20:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194317#M15410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I'm not sure what a "soft reset" is. I suppose I'd call writing the wrong value to the COP a soft reset, and everything involving the pin a "hard" reset.&lt;BR /&gt;&lt;BR /&gt;Unless my memory fails, the MON08 interface is using the reset pin and nothing else.&lt;BR /&gt;&lt;BR /&gt;Spontaneously, it sounds like a hardware issue, especially since MON08 is the worst programming interface I have ever encountered, it is extremely error-prone.&lt;BR /&gt;&lt;BR /&gt;What you should check is that you have correct pull resistors on all pins required by your HC08 derivate. If one of them lacks a pull resistor, or has the wrong one, weird things will happen.&lt;BR /&gt;&lt;BR /&gt;You also need the programming voltage "Vtst" on the IRQ pin. This voltage needs to be at least 4V higher than your supply voltage, so at least 9V on a common 5V system. Check this voltage on the IRQ pin on all boards you are having problems with.&lt;BR /&gt;&lt;BR /&gt;The best solution is of course to port to S08 and I promise you that the problem will disappear &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 21:48:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194317#M15410</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2008-10-16T21:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194318#M15411</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;The interface hardware between PTA0 and an RS232 port is custom build.&lt;/DIV&gt;&lt;DIV&gt;It has no reset pin control.&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;The MON08 works 100% error free apart from the above problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The soft reset is the "reset target (Ctrl-R)" in hiwave.exe, i presume that it is command driven thru PTA0.&lt;/DIV&gt;&lt;DIV&gt;It looks like an illegal adddress reset as RSR always contains bit3=1 (ILAD) after that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Vdd is 5.00V, Vtst is 7.80V&amp;nbsp; ( Vtst&amp;gt;Vdd+2.50V and Vtst&amp;lt;8V (Abs MAX) as per technical datasheet)&lt;/DIV&gt;&lt;DIV&gt;PTA0,PTA1,PTA3 and PTE3&amp;nbsp;have 10k pullup, PTA2 has 10k pulldown, as they should.&lt;/DIV&gt;&lt;DIV&gt;Of course the first thing i checked is that these are correct on all boards.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;The problem is not spontaneous as some (&lt;EM&gt;of the indentical&lt;/EM&gt;) boards constistantly wont reset and some consitantly will (on request).&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by MrBean on &lt;SPAN class="date_text"&gt;2008-10-16&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:30 PM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by MrBean on &lt;SPAN class="date_text"&gt;2008-10-16&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:32 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 22:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194318#M15411</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-10-16T22:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194319#M15412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I suspect it to be a timing problem.&lt;/DIV&gt;&lt;DIV&gt;(nRST pin capacitor differences, osc startup time, ...)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there a way to change the timeout for such a reset ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'll try spying on the PTA0 communication to see what happens.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 17:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194319#M15412</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-10-17T17:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194320#M15413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Ok.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The following happens on PTA0:&lt;/DIV&gt;&lt;DIV&gt;(&amp;gt; indicates from PC to JB16)&lt;/DIV&gt;&lt;DIV&gt;(&amp;lt; indicates from JB16 to PC)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;gt;4a &amp;lt;4a &amp;gt;fe &amp;lt;fe &amp;gt;fb &amp;lt;fb &amp;lt;10&lt;BR /&gt;&amp;gt;4a &amp;lt;4a &amp;gt;ff &amp;lt;ff &amp;gt;f6 &amp;lt;f6 &amp;lt;f3&lt;BR /&gt;&amp;gt;4a &amp;lt;4a &amp;gt;ff &amp;lt;ff &amp;gt;f7 &amp;lt;f7 &amp;lt;f2&lt;BR /&gt;&amp;gt;4a &amp;lt;4a &amp;gt;fe &amp;lt;fe &amp;gt;01 &amp;lt;01 &amp;lt;00&lt;BR /&gt;&amp;gt;4a &amp;lt;4a &amp;gt;fe &amp;lt;fe &amp;gt;fb &amp;lt;fb &amp;lt;10&lt;BR /&gt;&amp;gt;4a &amp;lt;4a &amp;gt;10 &amp;lt;10 &amp;gt;00 &amp;lt;00 &amp;lt;ad&lt;BR /&gt;&amp;gt;4a &amp;lt;4a &amp;gt;10 &amp;lt;10 &amp;gt;01 &amp;lt;01 &amp;lt;ad&lt;BR /&gt;&amp;gt;0c &amp;lt;0c &amp;lt;00 &amp;lt;fa&lt;BR /&gt;&amp;gt;49 &amp;lt;49 &amp;gt;00 &amp;lt;00 &amp;gt;fe &amp;lt;fe &amp;gt;10 &amp;lt;10 &amp;gt;19 &amp;lt;19 &amp;gt;00 &amp;lt;00 &amp;gt;28 &amp;lt;28 &amp;gt;f3 &amp;lt;f3 (rest of security bytes)&amp;nbsp;&amp;lt;00&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The difference between&amp;nbsp;resetting and not-resetting boards is that the ones that won't reset do not echo anything after &amp;gt;f3 (first security byte) sent by the PC.&lt;/DIV&gt;&lt;DIV&gt;This security byte is correct. Power-on-reset and subsequently entering monitor mode does work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;An ideas ? Anyone ?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 16:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194320#M15413</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-10-23T16:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194321#M15414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Found something strange again:&lt;/DIV&gt;&lt;DIV&gt;if i do not enter a valid secuity code (hiwave.exe nags about device secured, cannot read flash)&lt;/DIV&gt;&lt;DIV&gt;Then&amp;nbsp;I am able to reset a board that wouldnt reset &lt;EM&gt;with&lt;/EM&gt; security code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Veeery strange.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 01:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194321#M15414</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-10-24T01:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: MON08 on 908JB16: Soft reset problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194322#M15415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;No ideas why ?&lt;/DIV&gt;&lt;DIV&gt;Should i ask it elsewhere eg. a service request ?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 00:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MON08-on-908JB16-Soft-reset-problem/m-p/194322#M15415</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-10-28T00:37:02Z</dc:date>
    </item>
  </channel>
</rss>

