• 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 ULINK2 reset voltages
    I have a ULINK2 connected to a LPC1758. The reset line has a 10k pullup and 100nF to ground. When I attempt to debug uVision4 sometimes starts at the reset vector and sometimes not. I have measured...