HI!!
I declared 3 global var, i call it inside diferent task and every execution this var should be updates but not to do it. I have a 8051 under evaluation board. Maybe can be a problem of my small micro? What do u think about this?
Thanks
This is my serial port initialization:
P2M1 = 0; /* P2 output modo 1, LEDs */ P1M1 = 0; /* P1 output modo 1 -> COM1 activado */ BRGCON = 0x00; /* Para evitar que BRGEN este activo cuando inicializamos el baud rate */ SCON = 0x52; /* initialize UART (Modo 1: 8 bits, enable Tx) */ BRGR0 = 0xF0; /* 9600 baud, 8 bits, no paridad, 1 bit de stop */ BRGR1 = 0x02; BRGCON = 0x03; /* Activamos BRGEN */
...