On Thursday 30 January 2003 01:48, somebody wrote
> At 17:08 29.01.2003 -0800, you wrote:
> >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?
>
> I'm not familiar with the 68HC11, but I had a similar problem with a
> PIC microcontroller. The simple solution was to set the correct data
> direction, I simply forgot that. If the ports you're trying to use
> are bi-directional, they might be set to input by default to protect
> external hardware.

I would echo the above and add that you should print the datasheet, and 
take it to bed for a week. In many, there is a list of how things come 
up by default from a power up, reset, or brown out. You are wrongly 
configured. 

-- 
Regards,

Declan Moriarty.
-- 
Author: Declan Moriarty
  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).

Reply via email to