• CPU hangs using xdata buffer
    Hello, I'm using uVision2 2.40a tool with a Cypress FX2LP cpu. Inside my project I've a global declaration of a 256 byte buffer but when I try to using it something happen and the cpu often hangs like...
  • DATA to XDATA issue
    Hi people, I've some troubles with some variables declaration. I'm using the old Keil compîler C51 V5.50. When writing : U8 u8CommandIndex=0; with U8 = unsigned char, it's ok. Now I want to...
  • array type changed from xdata to code for optimisation
    Hello, I have const array of size 72 elements.I declared this array as xdata UINT8 CONST XDATA A[30]={...}; but during optimisation i changed XDATA to CODE and because of this change i could save...
  • accessing bitwise data in a data buffer
    hi all, iam a new to embedded programming and keil software. i am struck with a problem how to access a bit in a data buffer. the algo i need to implement is data_buf of 32 bits is stored in the...
  • receive data in buffer uart1
    hi.. I am using LPC2387 board. By using sample code of UART1 i am trying to store data in buffer. I am sending Data using .exe Data sent by .exe is in byte. but I cant store this data in buffer...