• Toolbox Usage
    I was just going through the CAN code for MCB2300 provided by Keil and there i saw that the toolbox can enable/disable loopback. This was done using the CAN_Simulate.ini. Im trying to do the same for...
  • usage of sbit
    < struct{ bit open; bit close; }door[2]; sbit door[0].open = P1^0; sbit door[0].close = P1^1; sbit door[1].open = P1^2; sbit door[1].close = P1^3; > Here when I compile/build...
  • pdata usage
    Hi, I have used the Large data model. On compiling, Keil shows me the data and xdata usage - but not the pdata usage. My hardware has 512 bytes of pdata. Even if I move some data using the...
  • Usage of UART0
    I'm having trouble using UART0 correctly. I'm writing a value in SBUF0 and after that I'm putting the new value in SBUF0 into a var. When I look at the value in that var, it's empty. How can I put something...
  • Usage of memcpy()
    I've got this situation (uVision3 V3.02): Memory config: - RAM at 0x10000-0x20000 - Reserved area: 0x10000-0x10010 When using memcpy in this way: unsigned char an_array[10] = "12345"; memcpy...