<?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: HC11 question in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134697#M3785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Sure: Thanks for the reply&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PORTC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1003&lt;/DIV&gt;&lt;DIV&gt;DDRC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$1007&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ORG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $C100&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LDAA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#$01&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;STAA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DDRC&lt;/DIV&gt;&lt;DIV&gt;here&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using the EVBU2 for the HC11, Single Chip mode with Buffalo monitor.&amp;nbsp; mm is the memory modify command...it allows for manual manipulation of a memory register.&amp;nbsp; When I try the mm command, it gives me the rom- error indicating that I cannot write to this location.&amp;nbsp;&amp;nbsp;Thanks again!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kirk&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2006 03:11:36 GMT</pubDate>
    <dc:creator>fabb</dc:creator>
    <dc:date>2006-05-05T03:11:36Z</dc:date>
    <item>
      <title>HC11 question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134695#M3783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello I own a EVBU2 for the HC11 processor...I can't get software to write a simple bit pattern to DDRC (1007).&amp;nbsp; After running the program the register is simply unaffected.&amp;nbsp; If I use the mm command to modify the data manually, I get the rom- error.&amp;nbsp; This should be a writable register, can anyone help??&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kirk&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 02:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134695#M3783</guid>
      <dc:creator>fabb</dc:creator>
      <dc:date>2006-05-05T02:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: HC11 question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134696#M3784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, Kirk:&lt;BR /&gt;&lt;BR /&gt;Can you post a code snippet?&lt;BR /&gt;&lt;BR /&gt;Is the radix correct? The reason I ask is that 1007 is a hex address ($1007), and your post has it as a decimal address. I don't know the mm command (we must be using different software), so I can't help much with the rom-error, except to say that it could be radix related as well.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 02:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134696#M3784</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2006-05-05T02:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: HC11 question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134697#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Sure: Thanks for the reply&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PORTC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1003&lt;/DIV&gt;&lt;DIV&gt;DDRC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EQU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$1007&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ORG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $C100&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LDAA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#$01&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;STAA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DDRC&lt;/DIV&gt;&lt;DIV&gt;here&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using the EVBU2 for the HC11, Single Chip mode with Buffalo monitor.&amp;nbsp; mm is the memory modify command...it allows for manual manipulation of a memory register.&amp;nbsp; When I try the mm command, it gives me the rom- error indicating that I cannot write to this location.&amp;nbsp;&amp;nbsp;Thanks again!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kirk&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 03:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134697#M3785</guid>
      <dc:creator>fabb</dc:creator>
      <dc:date>2006-05-05T03:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: HC11 question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134698#M3786</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 Kirk,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;On some of the earlier Motorola MCUs, the DDR were write-only registers, so that&amp;nbsp;after being&amp;nbsp;written, the contents could not be read back.&amp;nbsp; I wonder if this might apply in your case?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Have you&amp;nbsp;tested whether the required&amp;nbsp;output pins actually operate as outputs?&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, 05 May 2006 16:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134698#M3786</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-05-05T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: HC11 question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134699#M3787</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;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;A couple of possibilities:&lt;/P&gt;&lt;P&gt;I see you ORG at $C100.&amp;nbsp; What type of memory is there?&lt;/P&gt;&lt;P&gt;It can't be internal memory because $C100 is in (unimplemented?) ROM (unless explicitly moved by writing to INIT).&amp;nbsp; If it's external you're in expanded mode, not single-chip mode, so PORTC/DDRC can't be used.&amp;nbsp; Could $C100 be a typo from $0100, a more common value used for testing short programs with EVBUs?&lt;/P&gt;&lt;P&gt;Second possibility, if you do load and run the program in RAM&amp;nbsp;the registers may have been moved to another page by the loader.&amp;nbsp; So, DDRC could be at $0007 instead of $1007, or even some other page.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Message Edited by tonyp on &lt;SPAN class="date_text"&gt;05-05-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:35 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 17:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134699#M3787</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2006-05-05T17:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: HC11 question</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134700#M3788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Ok everyone I think I figured it out yesterday...Yes the chip is operating in Expanded mode.&amp;nbsp; There is a jumper on the board that was not in place causing the micro to reset to expanded mode thus eliminating PORTC from being general IO.&amp;nbsp; The put the jumper in place and now I can write to the registers and they operate without problem.&amp;nbsp; Aparently there is an addendum that came with my EVBU2 that states J4 was not shorted like it would be for the EVBU1.&amp;nbsp; So if I wanted to get to single chip mode I would need to place the jumper back in.&amp;nbsp; The other problem is now the amount of memory I have is significantly reduced.&amp;nbsp; Any suggestions or am I stuck with what I got???&amp;nbsp; Thanks again everyone!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kirk&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 19:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC11-question/m-p/134700#M3788</guid>
      <dc:creator>fabb</dc:creator>
      <dc:date>2006-05-05T19:16:31Z</dc:date>
    </item>
  </channel>
</rss>

