<?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>8-bit MicrocontrollersのトピックRe: SCI won't run without Multilink?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211177#M18124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;When CW is ported to Eclipse, it may work on Linux.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 09:20:34 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2008-07-04T09:20:34Z</dc:date>
    <item>
      <title>SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211166#M18113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey gang, I &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fforums.freescale.com%2Ffreescale%2Fboard%2Fmessage%3Fboard.id%3D8BITCOMM%26thread.id%3D5543%26page%3D3" rel="nofollow noopener noreferrer" target="_blank"&gt;continue&lt;/A&gt;&lt;SPAN&gt; to &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fforums.freescale.com%2Ffreescale%2Fboard%2Fmessage%3Fboard.id%3D8BITCOMM%26thread.id%3D336" rel="nofollow noopener noreferrer" target="_blank"&gt;have fun&lt;/A&gt;&lt;SPAN&gt; with the SCI UART.&amp;nbsp; My RS232 code is actually coming along nicely.&amp;nbsp; But the latest realization is that I seem to need my USB Multilink programmer attached to my target in order for the UART to work.&amp;nbsp; Nothing seems to spit out of the TX pin unless the programmer is attached via the BDM 6-pin header.&amp;nbsp; Darnedest thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following code in my source for setting the trim:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;volatile Byte NV_FTRIM_INIT @0x0000FFAE;volatile Byte NV_ICSTRM_INIT @0x0000FFAF; // instantiate the nonvolatile ICS Trim Registerif (NV_ICSTRM_INIT != 0xFF){&amp;nbsp; ICSTRM = NV_ICSTRM_INIT;&amp;nbsp; // load trim value if location not blank}&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;And of course I am using the PT command in the P&amp;amp;E programming software to program the trim values in FFAE:FFAF.&lt;BR /&gt;&lt;BR /&gt;Any ideas why the programmer must be present?&amp;nbsp; My guess is that it must be doing something special to the BKGD or Reset lines that my target is not.&amp;nbsp; My target pulls both of these up to 3.3V through a 3.3K resistor.&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 03:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211166#M18113</guid>
      <dc:creator>irob</dc:creator>
      <dc:date>2008-04-10T03:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211167#M18114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi rob,&lt;BR /&gt;&lt;BR /&gt;Do you just need the USBBDM connected or connected and debugger running?&lt;BR /&gt;Perhaps the debugger is reading registers that your code should be (making it work).&lt;BR /&gt;An connected but not running BDM should not affect the operation of the device.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:07:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211167#M18114</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-04-10T05:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211168#M18115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;No, the debugger does &lt;I&gt;not&lt;/I&gt; have to be running.&amp;nbsp; The trim registers &lt;I&gt;do&lt;/I&gt; need to be written by the P&amp;amp;E programmer, or the baud will be off.&lt;BR /&gt;&lt;BR /&gt;It's the oddest thing.&amp;nbsp; The USB BDM programmer just simply needs to be &lt;I&gt;connected&lt;/I&gt; to my BDM header.&amp;nbsp; It also has to be plugged into the USB port.&amp;nbsp; Weird, huh?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211168#M18115</guid>
      <dc:creator>irob</dc:creator>
      <dc:date>2008-04-10T05:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211169#M18116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Are you still using the DEMO9S08QG8 ?&lt;BR /&gt;&lt;BR /&gt;When the BDM/USB port is not plugged in what powers the board?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 07:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211169#M18116</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-10T07:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211170#M18117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;JimDon, no I am now using my target board.&amp;nbsp; To program and test my targets (which have very small pitch connectors), I use a programming fixture board which has the BDM connector, power input, test buttons, etc.&lt;BR /&gt;&lt;BR /&gt;I've attached a schematic page of this fixture board to show how it's set up.&lt;BR /&gt;&lt;BR /&gt;The upper left corner is a 3.3V regulator.&amp;nbsp; I have found that my Rev B Cyclone requires the VCC pin in order to work properly.&amp;nbsp; Hence, in the lower left corner, the switch must be turned to the Cyclone Program option.&lt;BR /&gt;&lt;BR /&gt;The upper right corner is power in to the fixture which powers my target as well.&amp;nbsp; The lower left corner is a reset circuit which I devised to help condition the BKGD pin when using a USB Multilink and attempting to program blank MC9S08QGx parts. It's a known situation, talked about at length here on the forums.&amp;nbsp; The switch in my ciruit is a failsafe, allowing me to manually hold BKGD low during power up just in case.&amp;nbsp; For what it's worth, I have found that I need this reset BKGD circuit only 5% of the time.&amp;nbsp; For production programming, I have jumper JP1 set to inactive state.&lt;BR /&gt;&lt;BR /&gt;As I said before, my target has pullups on the RST and BKGD pins.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 22:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211170#M18117</guid>
      <dc:creator>irob</dc:creator>
      <dc:date>2008-04-10T22:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211171#M18118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;A href="http://forums.freescale.com/../view_profile?user.id=662" rel="nofollow" target="top"&gt;http://forums.freescale.com/../view_profile?user.id=662" rel="nofollow" target="top&lt;/A&gt;Hi,&lt;BR /&gt;I presume you have checked the obvious things, like the RS232 connection has a ground? Plugging in the multilink will probably provide a ground reference between the PC and target.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.freescale.com/../view_profile?user.id=662" rel="nofollow" target="top"&gt;http://forums.freescale.com/../view_profile?user.id=662" rel="nofollow" target="top&lt;/A&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 06:15:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211171#M18118</guid>
      <dc:creator>lineage</dc:creator>
      <dc:date>2008-04-11T06:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211172#M18119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&amp;nbsp;lineage, I think you win the grand prize!&amp;nbsp; What I didn't include above was my RS-232 sections.&amp;nbsp; Check it out.&lt;BR /&gt;&lt;BR /&gt;Sure enough, I made a very big mistake and forgot the ground pin on the DB-9 connector.&amp;nbsp; Just a plain oversight.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 21:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211172#M18119</guid>
      <dc:creator>irob</dc:creator>
      <dc:date>2008-04-11T21:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211173#M18120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Peg,&lt;BR /&gt;&lt;BR /&gt;I bought a 13213-DSK Kit Development without the multilink cable. Just I want to know if I can program the 13213-SRB target with the USB cable which come with the Kit or I have to buy the BDR multilink cable neccesarly.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 01:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211173#M18120</guid>
      <dc:creator>JMB</dc:creator>
      <dc:date>2008-07-04T01:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211174#M18121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello and welcome,&lt;BR /&gt;Don't know this hardware.&lt;BR /&gt;Presumably if it comes with a USB cable thrn it has a built in BDM adapter.&lt;BR /&gt;Surely the glossy brochure for it tells you it has a built in BDM or you need one?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 03:48:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211174#M18121</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-07-04T03:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211175#M18122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;says right on the page:&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Note:&lt;/STRONG&gt;&amp;nbsp; Requires an HCS08 BDM Multilink Programmer for debug and program capability&lt;BR /&gt;&lt;BR /&gt;I belive the usb is a usb serial port.&lt;BR /&gt;&lt;BR /&gt;They offer two versions - one with the BDM and one without. The good news is the 100.00 price difference is what&amp;nbsp; USB MultiLink costs, so now you can just buy one.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 04:05:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211175#M18122</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-07-04T04:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211176#M18123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi JMB,&lt;BR /&gt;&lt;BR /&gt;The answer is maybe and maybe.&lt;BR /&gt;&lt;BR /&gt;It depends what software is loaded on your board. If it has a serial bootloader, or the OTAP (over the air programming) capability, then that may let you program it. However, I didn't manage to find the docs for how to do that so I went a different route.&lt;BR /&gt;&lt;BR /&gt;My problem was I do all my development under Linux and the guys that make the Multilink charge a bucket (more than the dev kits cost) for a library of bits that you could maybe make a tool from if you had the time.&lt;BR /&gt;&lt;BR /&gt;What I did was loaded the AN2295 bootloader which will allow programming over serial/USB. But I had a multilink and borrowed a MS-win machine just to program it the first time. Your problem is to work out whether there is a loader already there or if not get someone to load one. Once thats done, you don't need Multilink.&lt;BR /&gt;&lt;BR /&gt;AN2295 comes with instructions and code. Excellent piece or work. Seems really robust too.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 07:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211176#M18123</guid>
      <dc:creator>lineage</dc:creator>
      <dc:date>2008-07-04T07:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: SCI won't run without Multilink?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211177#M18124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;When CW is ported to Eclipse, it may work on Linux.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-won-t-run-without-Multilink/m-p/211177#M18124</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-07-04T09:20:34Z</dc:date>
    </item>
  </channel>
</rss>

