• unexpected code
    There is simple code usRDelay(17); Comm_LineOut_Port=SendData.B.Bit02; usRDelay(17); Comm_LineOut_Port=SendData.B.Bit01; usRDelay(17); Comm_LineOut_Port=SendData.B.Bit00; usRDelay(17); Comm_LineOut_Port...
  • unexpected code
    There is simple code usRDelay(17); Comm_LineOut_Port=SendData.B.Bit02; usRDelay(17); Comm_LineOut_Port=SendData.B.Bit01; usRDelay(17); Comm_LineOut_Port=SendData.B.Bit00; usRDelay(17); Comm_LineOut_Port...
  • Unexpected return code from os_mbx_send
    I am using : µVision V4.22.22.0 Toolchain: MDK-ARM Standard Version: 4.22a This code is causing my problem: U8 res = os_mbx_send (CB_XMIT_MAILBOX, packetInfo, 0xFFFF); if(OS_R_OK != res) ...
  • Unexpected return code from os_mbx_send
    I am using : µVision V4.22.22.0 Toolchain: MDK-ARM Standard Version: 4.22a This code is causing my problem: U8 res = os_mbx_send (CB_XMIT_MAILBOX, packetInfo, 0xFFFF); if(OS_R_OK != res) ...
  • I'm stuck with unexpected code behavior
    I'm using quite old version of Keil, 3.20. With following simple code, I get unexpected results. I believe there is some kind of code problem: xdata char msg1[]="abc"; xdata char msg2[]="def"; void...