• 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) ...
  • 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...
  • Unexpected debugger breaks in uVision
    I'm debugging a STM32F4 (custom board) with ST-LINK2 white dongle. Everything looks good, but after some time running, the debugger unexpectedly stops as if it hits a breakpoint. It does not look like...
  • Unexpected port direction change
    Hi, I was using LPC2378's pin SSEL1 P0.6 (SSP1 peripheral, slave select) in GPIO mode while I discovered (to me) weird behaviour. Note I had switched on the fast IO before I did any experiments....