??? 05/12/04 20:29 Read: times |
#70266 - RE: Back to basics Responding to: ???'s previous message |
THANKS! ERICK FOR YOUR TIME
I did this: ;******************************************** PROGRAM SEGMENT CODE DATOS SEGMENT DATA STACK SEGMENT IDATA BITES SEGMENT BIT ;********************************************* RSEG STACK DS 10H ;******************************************** RSEG DATOS COUNT: DS 1 ;********************************************* RSEG BITES CONTROL: DBIT 1 ;********************************************** CSEG AT 00H ;***** ATEN. RESET JMP INI ;********************************************** RSEG PROGRAM INI: MOV SP,#STACK-1 MAIN: SETB P1.1 SETB P1.2 CLR P1.1 SETB P1.2 SETB P1.1 CLR P1.2 CLR P1.1 CLR P1.2 JMP MAIN this is a small software I have a bicolor led connected to P1.1 and P1.2 with my scope on P1.1 or P1.2 I don't see any activity only on ALE pin I see activity, rigth now I have a PCB with only the uc and a DS1232 for the reset I see the reset when I push the reset but when is along the reset pin is "0" so the DS1232 is not reseting because there is activity at ALE pin. I also ran the sofware on keil debugger and it runs good I don't have even a warning from the compiler this is the hex code file that I get from Keil compiler: :03000000020003F8 :10000300758108D291D292C291D292D291C292C2F8 :0500130091C29280EE95 :00000001FF |