This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Global Var

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

Parents
  • HI Eric!!
    First thanks for your reply.

    My code startup is:
    START900.A51 because i use Philips P89LPC936.
    It has 512 bytes of xdata.

    I have modificated only this:

    ;  <o> XDATASTART: XDATA memory start address <0x0-0xFFFF>
    ;      the absolute start-address of XDATA memory
    XDATASTART      EQU     0x000
    ;
    ;  <o> XDATALEN: XDATA memory length <0x0-0xFFFF>
    ;      the length of XDATA memory in bytes.
    XDATALEN        EQU     0x200
    ;
    

Reply
  • HI Eric!!
    First thanks for your reply.

    My code startup is:
    START900.A51 because i use Philips P89LPC936.
    It has 512 bytes of xdata.

    I have modificated only this:

    ;  <o> XDATASTART: XDATA memory start address <0x0-0xFFFF>
    ;      the absolute start-address of XDATA memory
    XDATASTART      EQU     0x000
    ;
    ;  <o> XDATALEN: XDATA memory length <0x0-0xFFFF>
    ;      the length of XDATA memory in bytes.
    XDATALEN        EQU     0x200
    ;
    

Children
No data