• keil v5: assign member variables when creating C++ class object go wrong, after new operator all assignments are not what I set.
    after executing constructors: m_Handle and bbb both with int type are not what I write, it seem it's memory alignment problem but all related class has 32bits int type member variables. And I...
  • Why not clear buffer
    Please help me to find the problem: In my program, I use UART to receive data by UART interrupt, please see following. #define uchar unsigned char #define DATALTH 255 volatile uchar SerBuffer;...
  • Why not clear buffer
    Please help me to find the problem: In my program, I use UART to receive data by UART interrupt, please see following. #define uchar unsigned char #define DATALTH 255 volatile uchar SerBuffer;...
  • Busy flag of AT89C51ED2 is not getting cleared!!!
    Hi Keil, I have written the follwing code for writing the byte in EEPROM in ED2. The Problem is BUSY flag is not being cleared. while(!(EECON & 0x01)) ; EA = 0; EECON |= 0x02; XBYTE[0X0055...
  • Busy flag of AT89C51ED2 is not getting cleared!!!
    Hi Keil, I have written the follwing code for writing the byte in EEPROM in ED2. The Problem is BUSY flag is not being cleared. while(!(EECON & 0x01)) ; EA = 0; EECON |= 0x02; XBYTE[0X0055...