You may have forgotten to initialize the port using the corresponding data direction register (DDRA for port a, DDRD for port d etc). Setting the pin(s) you want as output would require setting the pin(s) to a logic 'high' on the correct DDR and likewise, a logic 'low' for input. eg. bset DDRD,#$08 ;set port D, bit 3 as an output
cheers, mikael ---------------------------------------------------------------------------- --- Mikael Stewart mob: +64211887798 icq: 34818797 ---------------------------------------------------------------------------- --- ----- Original Message ----- To: "Multiple recipients of list CHIPDIR-L" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 2:08 PM > > Can anyone please help me regarding MC68HC11 microcontroller... > > I loaded a program into the internal EEPROM using JBUG11 but I just couldn't > execute the program properly. I tried tracing it and I found out that the > flow of the program is running properly except for the output ports are not > updated! Why is that so? > > > > > > > > > > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > -- > Author: kumar giggs > INET: [EMAIL PROTECTED] > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB CHIPDIR-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- Author: Mikael INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB CHIPDIR-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
