<?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: 908QB8 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133127#M3268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;QB8 is a member of the HC08 family and not of the HCS08 or S08.&lt;BR /&gt;It does not feature a &lt;B&gt;BDM = Background Debug Module&lt;/B&gt;. &lt;BR /&gt;&lt;BR /&gt;MC68HC908QB8 uses &lt;B&gt;MON08 = Monitor Mode&lt;/B&gt; to communicate with an host, a simple level translation is enough to plug it to RS232.&lt;BR /&gt;&lt;BR /&gt;The MON08 software is in ROm and therefore cannot be deleted by anyone.&lt;BR /&gt;&lt;BR /&gt;What probably happens is that when the part is new, you enter the &lt;B&gt;FORCED Monitor Mode&lt;/B&gt; because the Reset vector is empty/erased = 0xFF.&lt;BR /&gt;Once you programmed your software the reset vector is expected to be different to 0xFF and should include the lower part of the startup address. You need to enter &lt;B&gt;NORMAL Monitor Mode&lt;/B&gt;.&lt;BR /&gt;The second is not 'forced' because not automatic, you need to apply certain level to certain pins to tell the MCU which mode you want. The &lt;B&gt;Developpment Support&lt;/B&gt; of the datasheet explains the Monitor Mode Entry.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2006 21:00:31 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2006-04-20T21:00:31Z</dc:date>
    <item>
      <title>908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133125#M3266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 3;"&gt;Hi,&lt;BR /&gt;I download the program to the 908QB8 using Codewarrior 5.0 in monitor mode.&lt;BR /&gt;When I try to reprogram it using monitor mode again it can not connect anymore.&lt;BR /&gt;Am I erasing the monitor code and how to setup the code in Codewarrior&lt;BR /&gt;to avoid erasing the monitor?&lt;BR /&gt;Thank you,&lt;BR /&gt;Milan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2006 19:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133125#M3266</guid>
      <dc:creator>milan_madzarac</dc:creator>
      <dc:date>2006-04-20T19:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133126#M3267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi:&lt;BR /&gt;&lt;BR /&gt;Are you using a BDM programmer?&lt;BR /&gt;If so, the BDM will erase the Monitor program.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Alex&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2006 20:45:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133126#M3267</guid>
      <dc:creator>alex_spotw</dc:creator>
      <dc:date>2006-04-20T20:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133127#M3268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;QB8 is a member of the HC08 family and not of the HCS08 or S08.&lt;BR /&gt;It does not feature a &lt;B&gt;BDM = Background Debug Module&lt;/B&gt;. &lt;BR /&gt;&lt;BR /&gt;MC68HC908QB8 uses &lt;B&gt;MON08 = Monitor Mode&lt;/B&gt; to communicate with an host, a simple level translation is enough to plug it to RS232.&lt;BR /&gt;&lt;BR /&gt;The MON08 software is in ROm and therefore cannot be deleted by anyone.&lt;BR /&gt;&lt;BR /&gt;What probably happens is that when the part is new, you enter the &lt;B&gt;FORCED Monitor Mode&lt;/B&gt; because the Reset vector is empty/erased = 0xFF.&lt;BR /&gt;Once you programmed your software the reset vector is expected to be different to 0xFF and should include the lower part of the startup address. You need to enter &lt;B&gt;NORMAL Monitor Mode&lt;/B&gt;.&lt;BR /&gt;The second is not 'forced' because not automatic, you need to apply certain level to certain pins to tell the MCU which mode you want. The &lt;B&gt;Developpment Support&lt;/B&gt; of the datasheet explains the Monitor Mode Entry.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2006 21:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133127#M3268</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-04-20T21:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133128#M3269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Guys,&lt;BR /&gt;That was fast response.&lt;/P&gt;&lt;P&gt;alex_spotw I am using the monitor mode not BDM.&lt;/P&gt;&lt;P&gt;Alban I understand now completely what is happening and&lt;BR /&gt;where I have to do the fix.&lt;/P&gt;&lt;P&gt;This forum looks like works very good.&lt;/P&gt;&lt;P&gt;Thank you, both for the fast response.&lt;BR /&gt;Thank you, Alban for solving my problem.&lt;/P&gt;&lt;P&gt;Best regards, to all.&lt;/P&gt;&lt;P&gt;Milan&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2006 21:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133128#M3269</guid>
      <dc:creator>milan_madzarac</dc:creator>
      <dc:date>2006-04-20T21:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133129#M3270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I think the 'forced' monitor entry that Alban is speaking of is intended to be used in the factory for programming a brand new blank device that is fixed to a PC board with all of the pins already connected&amp;nbsp;for the intended&amp;nbsp;application.&amp;nbsp; It usually uses only one pin to communicate serially to the programmer and one pin to set the mode.&amp;nbsp; I think the idea is that there will be jumpers on the PC board or pullup/down resistors to set the mode when the device is being programmed and after that it will go into user mode since the startup vector will no longer be blank.&amp;nbsp; There is another way to go into the monitor mode when the device has already been programmed, but you have to use a specific clock, and there are more pins that get used to tell the monitor software what type of clock is being supplied, whether to disable the COP, etc.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I program the HC08 devices, I usually comment out the startup vector in the .prm file so that I can use more of the pins for debugging.&amp;nbsp; Then when I think I have everything just right, I'll&amp;nbsp;uncomment the startup vector and do a final test in user mode.&amp;nbsp; If I need to change something after that, I'll put the microcontroller into a separate board with the extra pins already set to go into monitor mode and then I'll erase the flash back to all 0xFF - which then makes it work again in the original setup, just&amp;nbsp;as if&amp;nbsp;the microcontroller is brand new.&amp;nbsp; The BDM setup on the HC(S)12 and the HCS08 devices is far superior, but the HC08 DIP devices are handy if you want to build things on a breadboard&amp;nbsp;and you don't want to buy/build a development board.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 00:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133129#M3270</guid>
      <dc:creator>rhinoceroshead</dc:creator>
      <dc:date>2006-04-21T00:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133130#M3271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Rather than move the processor to another pcb, why not write a software&amp;nbsp;routine to erase the flash and&amp;nbsp;set the reset vector back to 0xFF based on a&amp;nbsp;serial command or I/O&amp;nbsp;condition.&amp;nbsp; Then repeat entry using&amp;nbsp;forced monitor mode.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 01:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133130#M3271</guid>
      <dc:creator>kevin</dc:creator>
      <dc:date>2006-04-21T01:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133131#M3272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I suppose you could&amp;nbsp;configure an interrupt that would erase the startup vector.&amp;nbsp; But, you'd have to give up a pin (IRQ, SCI, or KWI) in order to do that.&amp;nbsp; The only reason I like the 'forced' monitor mode&amp;nbsp;is because&amp;nbsp;it leaves all but two pins open for the application being tested.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 02:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133131#M3272</guid>
      <dc:creator>rhinoceroshead</dc:creator>
      <dc:date>2006-04-21T02:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133132#M3273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Refer to AN-HK-32 for implementing the scheme proposed by Kevin which I have used a variation of successfully for many years. With some planning you don't need to burn any pins.&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 04:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133132#M3273</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-21T04:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133133#M3274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Iám having troble programming the QB8 too. I can Programm them, but I cant get into monitor mode twice. When I try to programm an debug them I get Error 48. If I power the MCU off and wait a long time ( lnger than 10 minutes)&amp;nbsp; I can programm it again, but next entry into monitor mode fails. So far I put them aside and use JK8 chips for now, they work fine with the same programmer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eckhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 18:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133133#M3274</guid>
      <dc:creator>eckhard</dc:creator>
      <dc:date>2006-04-21T18:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133134#M3275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;AN-HK-32...&amp;nbsp; This is pretty slick!&amp;nbsp; This way you don't lose&amp;nbsp;any pins, and you get a gauranteed blank microcontroller after testing in user mode.&amp;nbsp; The only cost is that it uses a small amount of Flash (which isn't a big deal on the GP32).&amp;nbsp; Of course, if you want to step through the program and look at registers, you still need to sacrifice PTA0 and PTA7, but I was doing that anyway.&amp;nbsp; Why is this application note not listed&amp;nbsp;on the GP32 page?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the tip!&amp;nbsp; This will save lots of time.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Apr 2006 01:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133134#M3275</guid>
      <dc:creator>rhinoceroshead</dc:creator>
      <dc:date>2006-04-22T01:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: 908QB8 - AN-HK-32 not attached to GP32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133135#M3276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="Comic Sans MS"&gt;Hi Rhino,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Comic Sans MS"&gt;I submitted your utmost pertinent remark to FSL Technical Publications.&lt;BR /&gt;AN-HK-32&lt;/FONT&gt; &lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN-HK-32.pdf?srch=1" rel="nofollow" target="_blank"&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT face="Comic Sans MS"&gt;In-Circuit Programming of FLASH Memory in the MC68HC908GP32&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;will very shortly be appearing in the MC68HC908GP32 page.&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;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Comic Sans MS"&gt;Cheers,&lt;BR /&gt;Alban.&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Apr 2006 22:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908QB8/m-p/133135#M3276</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-04-22T22:30:14Z</dc:date>
    </item>
  </channel>
</rss>

