<?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: M9S08QG8 Serial Monitor Problem in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137054#M4595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Thank you, that cleared up a lot of my questions.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;It was not&amp;nbsp;obvious to me that the demo board was preprogrammed.&amp;nbsp; I was wondering how the part was able to communicate over the serial port without prior programming, but assumed that there was some sort of built-in monitor.&amp;nbsp; It appears that I will need to purchase a BDM to load the monitor program.&amp;nbsp; Then, the parts will be able to communicate using CodeWarrior.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Does anyone know if updated versions of the monitor program are available?&amp;nbsp; The one listed in AN2140 is for the &lt;FONT face="Arial"&gt;MC9S08GB60.&amp;nbsp;&lt;/FONT&gt; AN2140 states "&lt;FONT face="Arial"&gt;This monitor will be modified for use with other members of the HCS08 Family as they are introduced."&amp;nbsp; I am specifically looking for a monitor for the MC9S08QG8.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;One final question; can the HCS08 parts use a packaged oscillator (rather than a crystal) in serial mode?&amp;nbsp; I noticed that the external oscillations on the demo board only start after the part has established communications with CodeWarrior.&amp;nbsp; A packaged oscillator will run as soon as power is applied.&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dakota on &lt;SPAN class="date_text"&gt;05-26-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:06 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2006 19:00:55 GMT</pubDate>
    <dc:creator>Dakota</dc:creator>
    <dc:date>2006-05-26T19:00:55Z</dc:date>
    <item>
      <title>M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137050#M4591</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&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;&lt;SPAN&gt;I am trying to design an MC9S08QG8 circuit board that uses the HCS08 serial monitor for programming and debugging.&amp;nbsp; My circuit looks like the one pictured on page 25 of the MC9S08QG8 Data Sheet. When I try to download a program to the board, however, CodeWarrior (Development Studio version 5.7.0) cannot establish a connection.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;I also have the M68DEMO908GB60 demonstration board.&amp;nbsp; With this board, I am able to successfully download and run programs using CodeWarrior in serial mode.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; With the M68DEMO908GB60 demonstration board, the crystal circuit begins to oscillate as soon as CodeWarrior tries to establish communications.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; My crystal circuit does not oscillate, although it is identical to the one on the M68DEMO908GB60 demonstration board (the component values are identical – I do not know the exact part numbers for the demonstration board – but the oscillator is designed as recommended in the specification).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;Out of desperation, I have redesigned the board with nothing but the HCS08, the crystal oscillator circuitry, and the serial communications interface.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; When CodeWarrior tries to establish communications, I can see activity on the serial port (pin 12), but no oscillation.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; The frequency is varying in an attempt to find a suitable baud rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;Any suggestions or observations would be greatly appreciated.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; I am an experienced HC08 designer, but this is my first HCS08 project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 00:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137050#M4591</guid>
      <dc:creator>Dakota</dc:creator>
      <dc:date>2006-05-26T00:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137051#M4592</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 size="2"&gt;Hello Dakota,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Have you previously programmed the serial monitor program to the board using BDM?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;My understanding of the data sheet for the QG8 is that, after a POR, the internal oscillator would be active, rather than the external crystal.&amp;nbsp; Firmware would need to switch operation to the external crystal.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;The data activity&amp;nbsp;that you observe on pin 12 would originate from the PC, rather than the MCU.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 09:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137051#M4592</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-05-26T09:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137052#M4593</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 size="3"&gt;Good Morning Mac,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Thank you for the rapid reply.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Yes, the activity on pin 12 (RxD) is from the PC.&amp;nbsp; It appears that CodeWarrior is attempting to find a suitable baud rate by varying the transmit frequency.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I do not own a BDM programmer, and assumed that the HCS08 devices could be programmed serially (similar to the original HC08 devices).&amp;nbsp; I tried to use a modified version of the program listed in AN2140.&amp;nbsp; AN2140 states that "&lt;/FONT&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="3"&gt;A user on a tight budget can evaluate the MCU by writing programs, programming them into the MCU, and debugging their applications for the HCS08 using only a serial I/O cable and free software for their personal computer."&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;It is also my understanding that, after reset (or powerup) the internal oscillator&amp;nbsp;is active.&amp;nbsp; Then, after communications&amp;nbsp;are established, the monitor software is programmed into the HCS08 serially.&amp;nbsp; This enables CodeWarrior to communicate with the device.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Is my understanding incorrect?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;If the devices can be programmed as described in AN2140, I would also like to use a packaged oscillator, rather than a discrete crystal circuit.&amp;nbsp; I assume that thgis is OK, but the data sheet does not discuss external oscillators and serial programming.&amp;nbsp; I do not know&amp;nbsp;what range of frequencies will work; or if it will work with 32.768 kHz only.&amp;nbsp; AN2140 breifly mentions 4 MHz.&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 16:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137052#M4593</guid>
      <dc:creator>Dakota</dc:creator>
      <dc:date>2006-05-26T16:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137053#M4594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Dakota,&lt;/P&gt;&lt;P&gt;The AN should say:&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;"&lt;FONT face="Arial"&gt;A user on a tight budget &lt;EM&gt;and a friend with a BDM tool&lt;/EM&gt; can evaluate the MCU by writing programs, programming them into the MCU, and debugging their applications for the HCS08 using only a serial I/O cable and free software for their personal computer."&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Your demo board may have come with the serial monitor in it, programmed by the board manufacturer (Axiom). The chips you get from Freescale come un-programmed. You must use a BDM based programmer to get the serial monitor in in the first place. This is the Catch-22.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Also the QG can work of low freq xtals (32k) or high freq xtals (1 to16MHz)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Regards David&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 17:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137053#M4594</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-05-26T17:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137054#M4595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Thank you, that cleared up a lot of my questions.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;It was not&amp;nbsp;obvious to me that the demo board was preprogrammed.&amp;nbsp; I was wondering how the part was able to communicate over the serial port without prior programming, but assumed that there was some sort of built-in monitor.&amp;nbsp; It appears that I will need to purchase a BDM to load the monitor program.&amp;nbsp; Then, the parts will be able to communicate using CodeWarrior.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Does anyone know if updated versions of the monitor program are available?&amp;nbsp; The one listed in AN2140 is for the &lt;FONT face="Arial"&gt;MC9S08GB60.&amp;nbsp;&lt;/FONT&gt; AN2140 states "&lt;FONT face="Arial"&gt;This monitor will be modified for use with other members of the HCS08 Family as they are introduced."&amp;nbsp; I am specifically looking for a monitor for the MC9S08QG8.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;One final question; can the HCS08 parts use a packaged oscillator (rather than a crystal) in serial mode?&amp;nbsp; I noticed that the external oscillations on the demo board only start after the part has established communications with CodeWarrior.&amp;nbsp; A packaged oscillator will run as soon as power is applied.&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dakota on &lt;SPAN class="date_text"&gt;05-26-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:06 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 19:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137054#M4595</guid>
      <dc:creator>Dakota</dc:creator>
      <dc:date>2006-05-26T19:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137055#M4596</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;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you buy a BDM there is no need to use the serial monitor!&lt;/P&gt;&lt;P&gt;Updated version for QG exists, There is a post here somewhere (I gave up looking just now)&lt;/P&gt;&lt;P&gt;Found it now, it is not the same thing though...&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=921#M921" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=921#M921&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;from the original author and he has posted an as yet officially unreleased version at &lt;A href="http://www.freegeeks.biz/" rel="nofollow" target="_blank"&gt;www.freegeeks.biz&lt;/A&gt; which seems to be down right now.&lt;/P&gt;&lt;P&gt;At least some can use a "canned" oscillator.&lt;/P&gt;&lt;P&gt;This "oscillator only start when comms established" is not what should be happening!!! What if you want standalone with no comms?&lt;/P&gt;&lt;P&gt;Regards David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;05-26-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;10:43 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 19:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137055#M4596</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-05-26T19:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137056#M4597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thak you again.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I found the alpha version of the QG8 monitor at the freegeeks site (sorry, I am new to this forum and did not know about the freegeeks site).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Actually, the serial monitor will be useful even after I purchase the BDM.&amp;nbsp; Besides consulting, I teach a control systems course, and use the HC08 (currently the KX8) in class.&amp;nbsp; It appears that I will be able to simply program the monitor onto all of the new QG8 circuit boards, and the students will be able to use the CodeWarrior software in serial mode.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 19:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137056#M4597</guid>
      <dc:creator>Dakota</dc:creator>
      <dc:date>2006-05-26T19:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: M9S08QG8 Serial Monitor Problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137057#M4598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Note that this is a bootloader, not a monitor!&lt;/P&gt;&lt;P&gt;See my previous post which I updated with the link I couldn't find earlier.&lt;/P&gt;&lt;P&gt;Regards David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 19:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/M9S08QG8-Serial-Monitor-Problem/m-p/137057#M4598</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-05-26T19:51:01Z</dc:date>
    </item>
  </channel>
</rss>

