CHz
2006-12-03 04:50:48 UTC
I'm currently using the 68HC11 for my undergraduate project but i can't
seems to get the chip to work properly, i'm trying out a simple program
of turining the LEDs on at a 10101010 sequence but when i supply a 5V
to turn on the chip, all the LED light up. Should i be using the
bootstrap mode or other mode of the HC11?? please advice .
This is the code i programmed into the EEPROM
ORG $B600
START LDX #$1000
HERE LDAA $%10101010
STAA PORTB,X
BRA HERE
ORG $BFFE
FDB START
Thx :-)
seems to get the chip to work properly, i'm trying out a simple program
of turining the LEDs on at a 10101010 sequence but when i supply a 5V
to turn on the chip, all the LED light up. Should i be using the
bootstrap mode or other mode of the HC11?? please advice .
This is the code i programmed into the EEPROM
ORG $B600
START LDX #$1000
HERE LDAA $%10101010
STAA PORTB,X
BRA HERE
ORG $BFFE
FDB START
Thx :-)