<?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: '908JL3  0,PORTB always reads as low</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199475#M16228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monitor ROM I think uses PB0 for comms.&amp;nbsp; You're not testing under Mon ROM, are you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2009 20:50:47 GMT</pubDate>
    <dc:creator>tonyp</dc:creator>
    <dc:date>2009-07-15T20:50:47Z</dc:date>
    <item>
      <title>'908JL3  0,PORTB always reads as low</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199474#M16227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got a =very= basic problem that is just driving me nuts.&lt;/P&gt;&lt;P&gt;Using a '908JL3 and going around in a loop polling the port B inputs and when one&lt;/P&gt;&lt;P&gt;of them is low it jumps off to flash a LED then comes back and starts polling again.&lt;/P&gt;&lt;P&gt;This program doesn't really do anything; it just runs the piece of code that is causing the&lt;/P&gt;&lt;P&gt;trouble. Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MOV &amp;nbsp;&amp;nbsp; #%00000000,DDRB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TOP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; BRCLR &amp;nbsp;&amp;nbsp; 3,PORTB,LED&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; BRCLR &amp;nbsp;&amp;nbsp; 2,PORTB,LED&lt;/P&gt;&lt;P&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; BRCLR &amp;nbsp;&amp;nbsp; 1,PORTB,LED&lt;/P&gt;&lt;P&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; BRCLR &amp;nbsp;&amp;nbsp; 0,PORTB,LED&lt;/P&gt;&lt;P&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; JMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FLASH LED ONCE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; JMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TOP&lt;/P&gt;&lt;P&gt;&amp;nbsp;------------------------------------&lt;/P&gt;&lt;P&gt;B3, B2, B1work just fine but B0 no way can I get it to work properly. It is always read as&lt;/P&gt;&lt;P&gt;if it were clear&amp;nbsp; and branches accordingly.&amp;nbsp; I tried a second MCU and then a third with a datecode 2 years earlier and still the same. Have these things got a bug or something?&lt;/P&gt;&lt;P&gt;It was getting to the stage I was looking around for hidden cameras, thinking someone&lt;/P&gt;&lt;P&gt;was playing some kind of practical joke on me. Puta scope on the pins and they go down&lt;/P&gt;&lt;P&gt;at the right time so it is not a board fault. This is SO stupid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199474#M16227</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-07-15T20:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: '908JL3  0,PORTB always reads as low</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199475#M16228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monitor ROM I think uses PB0 for comms.&amp;nbsp; You're not testing under Mon ROM, are you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199475#M16228</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2009-07-15T20:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: '908JL3  0,PORTB always reads as low</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199476#M16229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Got it.&lt;/P&gt;&lt;P&gt;Was loading ADSCR with VALUE instead of #VALUE.&lt;/P&gt;&lt;P&gt;VALUE = 5 which is DDRD(?) address and DDRD held 11000000 so A/D multiplexor&lt;/P&gt;&lt;P&gt;was parked on B0 causing it to not see the HI input. Something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sheesh. you may have gathered I'm not a programmer...&amp;nbsp;&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 16:57:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908JL3-0-PORTB-always-reads-as-low/m-p/199476#M16229</guid>
      <dc:creator>JimDandy</dc:creator>
      <dc:date>2009-07-16T16:57:03Z</dc:date>
    </item>
  </channel>
</rss>

