<?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: Hi! There is a Reference Design, the DRM039, for Single P... in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194583#M15441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;OK, let's see if I can make this understandable:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) The HC908QT/QY MCUs has got a small ROM monitor inside. It is only good for programming new code into the Flash EPROM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) To make any kind of program development possible, a special piece of code is burned into the Flash EPROM area. It sits at the interrupt vector area and is erase/write protected.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3) This code makes it very nice to do program development, but as it sits on the interrupt vectors, you can't use them. Well no, you can use them by filling in a jump vector table at the end of&amp;nbsp; your user code.&lt;/DIV&gt;&lt;DIV&gt;This applies also to the reset vector.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;4) If you buy a HC908QT/QY device, this piece of "Monitor" code has to be loaded first.&lt;/DIV&gt;&lt;DIV&gt;If you buy a dev. board which has a HC908QT/QY on it, I would assume that this is already burned into the Flash EPROM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To read more about it, get the AN2305 from&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC908QY4&amp;amp;tab=Documentation_Tab&amp;amp;pspll=1&amp;amp;nodeId=016246844976630029&amp;amp;SelectedAsset=Documentation&amp;amp;ProdMetaId=PID/DC/68HC908QY4&amp;amp;fromPSP=true&amp;amp;assetLockedForNavigation=true&amp;amp;componentId=2&amp;amp;leftNavCode=1&amp;amp;pageSize=25&amp;amp;Documentation=Documentation/00210KscRcb``Application%20Notes" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC908QY4&amp;amp;tab=Documentation_Tab&amp;amp;pspll=1&amp;amp;nodeId=016246844976630029&amp;amp;SelectedAsset=Documentation&amp;amp;ProdMetaId=PID/DC/68HC908QY4&amp;amp;fromPSP=true&amp;amp;assetLockedForNavigation=true&amp;amp;componentId=2&amp;amp;leftNavCode=1&amp;amp;pageSize=25&amp;amp;Documentation=Documentation/00210KscRcb``Application%20Notes&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;5) The nice thing with this program, is that no extra pins are wasted. You don't have to worry about +9 V to the /IRQ pin and that kind of stuff. You only have to use the PTA0 pin for communication.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2008 18:58:32 GMT</pubDate>
    <dc:creator>Ake</dc:creator>
    <dc:date>2008-10-17T18:58:32Z</dc:date>
    <item>
      <title>Hi! There is a Reference Design, the DRM039, for Single P...MC68HC908QT2CDW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194582#M15440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi!&lt;/DIV&gt;&lt;DIV&gt;There is a Reference Design, the&amp;nbsp;DRM039, for Single Phase AC Inductuction Motor Control.&lt;/DIV&gt;&lt;DIV&gt;In the schematic file there is a MC68HC908QT2CDW microcontroller that, as I have understood well, can be programmed via a Bootloader header. This header uses only four pins: Vcc, GND, TX (PTA1), and RX (PTA2).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The microcontroller is soldered on the pcb. Also, I have one PE USB Multilink MON08 programmer.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please help me to understand how to program this microcontroller.&lt;/DIV&gt;&lt;DIV&gt;I dont know what software application is needed from the Computer side.&lt;/DIV&gt;&lt;DIV&gt;I dont know how to connect my USB Multilink MON08 programmer to the microcontrollers four pins header.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;DPIR&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Added p/n to subject&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-10-17&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:03 PM&lt;/SPAN&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fmicrocontrollers%2Fdoc%2Fref_manual%2FDRM039.pdf" rel="nofollow" target="_blank"&gt;DRM039.pdf&lt;/A&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-08-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:31 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:22:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194582#M15440</guid>
      <dc:creator>DPIR</dc:creator>
      <dc:date>2008-10-17T04:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hi! There is a Reference Design, the DRM039, for Single P...</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194583#M15441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;OK, let's see if I can make this understandable:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) The HC908QT/QY MCUs has got a small ROM monitor inside. It is only good for programming new code into the Flash EPROM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) To make any kind of program development possible, a special piece of code is burned into the Flash EPROM area. It sits at the interrupt vector area and is erase/write protected.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3) This code makes it very nice to do program development, but as it sits on the interrupt vectors, you can't use them. Well no, you can use them by filling in a jump vector table at the end of&amp;nbsp; your user code.&lt;/DIV&gt;&lt;DIV&gt;This applies also to the reset vector.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;4) If you buy a HC908QT/QY device, this piece of "Monitor" code has to be loaded first.&lt;/DIV&gt;&lt;DIV&gt;If you buy a dev. board which has a HC908QT/QY on it, I would assume that this is already burned into the Flash EPROM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To read more about it, get the AN2305 from&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC908QY4&amp;amp;tab=Documentation_Tab&amp;amp;pspll=1&amp;amp;nodeId=016246844976630029&amp;amp;SelectedAsset=Documentation&amp;amp;ProdMetaId=PID/DC/68HC908QY4&amp;amp;fromPSP=true&amp;amp;assetLockedForNavigation=true&amp;amp;componentId=2&amp;amp;leftNavCode=1&amp;amp;pageSize=25&amp;amp;Documentation=Documentation/00210KscRcb``Application%20Notes" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC908QY4&amp;amp;tab=Documentation_Tab&amp;amp;pspll=1&amp;amp;nodeId=016246844976630029&amp;amp;SelectedAsset=Documentation&amp;amp;ProdMetaId=PID/DC/68HC908QY4&amp;amp;fromPSP=true&amp;amp;assetLockedForNavigation=true&amp;amp;componentId=2&amp;amp;leftNavCode=1&amp;amp;pageSize=25&amp;amp;Documentation=Documentation/00210KscRcb``Application%20Notes&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;5) The nice thing with this program, is that no extra pins are wasted. You don't have to worry about +9 V to the /IRQ pin and that kind of stuff. You only have to use the PTA0 pin for communication.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 18:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194583#M15441</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2008-10-17T18:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hi! There is a Reference Design, the DRM039, for Single P...</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194584#M15442</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;Hello DPIR, and welcome to the forum.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The circuit in question requires that&amp;nbsp;unspecified&amp;nbsp;boot loader firmware is resident on&amp;nbsp;the chip&amp;nbsp;in order to&lt;BR /&gt;erase and program the application firmware using a simple serial interface arrangement.&amp;nbsp; Without a&lt;BR /&gt;resident boot loader, you would need to use the USB Multilink.&amp;nbsp; Normally, this will require external&lt;BR /&gt;connection to all eight pins of the MCU, so that the Multilink may force the state at each port pin.&amp;nbsp; The&lt;BR /&gt;connection to some of the pins may be eliminated if they are held at the&amp;nbsp;required state by the circuitry.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However, for in-circuit programming, the present circuit does not provide sufficient isolation for some of&lt;BR /&gt;the pins.&amp;nbsp; Assuming that you will wish to erase and re-program an already programmed device, the&lt;BR /&gt;programming connections would be as shown in Fig 9.3 of the datasheet.&amp;nbsp; The Multilink is capable of&lt;BR /&gt;supplying high voltage to PTA2, a clock signal to PTA5, using PTA0 for the data signal, and forcing the&lt;BR /&gt;other pins to their required&amp;nbsp;state.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here are the potential isolation issues -&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;For the opto-coupled version of the circuit, the load on PTA0 is relatively high.&amp;nbsp; If too much for the&lt;BR /&gt;Multilink, an isolating jumper may be required for the pin.&lt;/LI&gt;&lt;LI&gt;PTA3 requires to be forced high - not possible if the switch is grounding the input.&amp;nbsp; A series&lt;BR /&gt;isolating resistor would alleviate the problem.&lt;/LI&gt;&lt;LI&gt;PTA4 requires to be forced low - problematic if the pot wiper is at Vdd.&amp;nbsp; Again, a series resistor&lt;BR /&gt;would give independence from the wiper position.&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2008-10-17&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:44 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 19:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Hi-There-is-a-Reference-Design-the-DRM039-for-Single-P/m-p/194584#M15442</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-10-17T19:37:14Z</dc:date>
    </item>
  </channel>
</rss>

