Sorry, but there are no more tags available to filter with.
  • Breakpoint failed with MON251

    We are using Dolphin 251 MCU and MON251 for debugging.
    There are two issues:
    1) Step is OK, but sometimes it failed at LCALL instructions (PC jumps to a wrong address)
    2) If we set a breakpoint and free run, PC jumps to a wrong address (it is OK if there…

  • Single Button Swtiching LED

    Hi,

    I need help in writing this C Program

    Circuit : LED are connected to P1.0 to P1.4 , a push button (push to on) Switch is connected to P1.7
    When button is pressed first time, LED on P1.0 switches on, when switch is pressed again, LED on P1.0 switches…

  • New at using 89c2051

    Dear all, I am a fresh graduate of Electronics .I have worked on AVR microcontrollers and Microchip bt I have not worked on AT89c2051 and I am new in using KEIL software also so I would like to know how can I start . Any suggestion is highly obliged…

  • prob with lcd display

    i've written following code for 44780 standard lcd display using AT89s52........but its not working.....
    noting is displayed on the lcd...could anyone suggest what could be the mistake

    $mod51

    org 0000h

    DB0 EQU P0.0
    DB1 EQU P0.1
    DB2 EQU P0.…

  • rebuild got warnings


    I use Keil uVision to bulid a target there is no errors and warings.But Rebulid got 4 warinings,like:
    Warning C280: "ad_ ptr" unreferenced local variable

  • Interfacing code for 89C51 to PCF 8574 to interface LCD in 4bit

    hey,
    can some1 help me to interface PCF 8574 with 89c51 using I2C bus for interfacing LCD in four but mode please..
    its for my final year project it will help me alot if
    any1 can help me out for the code..
    coz im not able 2 get it done.. i dont unde…

  • Register Coloring OPTIMIZATION question

    Hi, everyone: I am using Keil C251 verison4.53d, and the Register Coloring OPTIMIZATION compiler option does take effect indeed, code size decreased when it is used. In my Application, there exist timer interrupt when program runs. So I am not sure if…

  • Problem passing nested struct with pointer on the stack

    The following code (part of a simple GUI running on a 251 platform with an LCD) attempts to pass a struct which is a member of another struct on the stack. A pointer to the container struct is dereferenced using the '->' operator. The call to DrawRect…

  • What is the device address of AT89C51

    Hello Friends,

    I am trying to connect a micro-controller(AT89C51) as a slave device with another micro-controller(AT89C51) through I2C .Can any one suggest what will be the slave address of AT89C51.

  • want to discuss about programming

    hi there,

    i wanna ask u guys about how to program a system that can detects time when someone key in the password on lcd. And also using the timer to detects when that person go out. This is for my project. Please send me the program not the C programming…

  • Good substitute for obsolete Philips 89C51RD2 ???

    Hello, in an ironic twist, the Philips 89C51RD2 we use for the control panels on Philips CT scanners has been discontinued due to Philips selling it's semi-conductor operations last year. So I was wondering if anyone had a good substitute they had tried…

  • ascii to hex

    I am trying to display what ever I press on key board in reg A.
    Its working unto 0to9 and ‘A’to ‘F’.
    But ia m unable to get the logic beyond that
    Can any one help me

  • Timer 0 as counter

    Can anyone please send me the code for counting pulses using timer 0 as counter in 'C'language.

  • Timer runs to fast with a 12 MHz crystal

    The crystal is a 12 Mhz
    //#include "F100GlobalDataTypeDefs.h"
    //#include "F100GlobalDef.h"
    //#include "F100GlobalVars.h"
    //#include "F100Functions.h"
    //#include "F100HW.h"

    void msecWait(uint milliSeconds…

  • SVN & Keil

    Hello everyone!
    Is there anyone who has a template for SVN which can be used in the SVCS menu from Keil?
    I want to make SVN and Keil work together as CVS and Keil did.
    Thank you.

  • PClint Error

    Is any one has solution for this PCLint Errors.

    error 1762: error 1911: error 1506: error 774: error 1037: error 613: error 1037 error 931: error 1762 error 1764: error 578: error 1036 error 775: error 737: error 429: error 747: error 560: error 1705…

  • are code banking and data banking similar??!!

    hi friends,

    i m experimenting with code banking using a very small code. I m just trying to glow an LED by switching the banks.But, the amount of code generated is very less in size.

    Now i want to test my program by filling both the banked files…

  • how to relocate program within 2k

    dear friends
    i am a student from india, i am not able to relocate my program within 2k(0x07ff) of 89c2051 will you help me regarding any setting in compiler that could relocate my code within 0 to 0x7ff

  • Timers in 8051 ( Mode3)

    What is the purpose of Mode 3 operation of timer in 8051

    I want clear idea on mode3 of timer.. How the Timer is splitted into 2 counters in mode 3. Please with any Eg. program.
    Thanks for u r help which will i get...

  • Pointer to function

    Hello all,
    can anyone give an example or link how to use a pointer to a function?
    I have a function with an (unsigned char) argument and which returns also an (unsigned char) value and I want to access the function via a pointer to function..
    thank …

  • Cypress EZUSB

    when i try writing a simply code for EZUSB,i use inlude :"EZRegs.h", a error missing ";".
    But i don't Why, i try clear a ";" as comment but the Debug has this error.
    Help me, please!

    #ifdef ALLOCATE_EXTERN
    #define E…

  • Operating Systems

    Hello,

    I seen the C251 Development Tools, as in large programs RTOS is required;

    in C251, which RTOS we have to use;

    Same as RTX51 (Full) or not available.

  • Problem on uVision3

    The program had been compiled via uVision2 of DK251. However, it appears error : can't optimise function when using uVison3 of DK251.

    What's wrong? Please give any advise.

  • Keil Software Problem with ID7

    Hi.
    I am Programmer and develop programs for Mettler-Toledo ID7 weighing tool. I use Keil uVision V2.14 as my IDE. I have registered version with serial number and dongle. It was working fine but now I am getting error message like you are using evaluation…

  • Agsi Simulator Interface

    Is there any way to run the Keil simulator debugger without opening the Keil IDE.

    I mean is there any option to run the program from command line and capture the output of the program in a file.