Debugging Errors in Keil µVision IDE

Keil µVision is an IDE (Integrated Development Environment) that includes software tools for Project Development, Compilation and Debugging.
The C51 product is specifically used as the Development Tools Suite for 8051 microcontrollers. It is used to compile the code i.e converting embedded C program to machine language and creating the ‘.hex’ file that can be written onto the microcontroller.

Common Pitfalls while using Keil µVision for Skyfi Labs Projects

  1. Selection of correct Microcontroller – Ensure you choose the following specs for your microcontroller while setting up a new project
    • Vendor: Atmel
    • Device: AT89S52
    lm324
  2. Creation of HEX File – Before creating HEX file, set the clock frequency to 11.0592 MHz and make sure the “Use On-chip ROM” is checked in the ‘Target’ Window of the ‘Options’ Menu.
    lm324
    Also, check the ‘Create HEX File’ box in the ‘Output’ Window.
    lm324
  3. Connect ADXL X axis pin with OpAmp 3,4 and Y axis to OpAmp 1 and 2. Hold the sensor in straight position and calibrate for that condition as 0101 using POT and LED’s. Once this calibration is done, you can get the values for other movements also.

    lm324