• Breakpoint failed with MON251

    KR Hsieh
    KR Hsieh

    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…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Single Button Swtiching LED

    Sudhir M
    Sudhir M

    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…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • New at using 89c2051

    Ratanlal Yadav
    Ratanlal Yadav

    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…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • prob with lcd display

    sanchita need help
    sanchita need help

    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.…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • rebuild got warnings

    xiao dandelion
    xiao dandelion


    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

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Interfacing code for 89C51 to PCF 8574 to interface LCD in 4bit

    Nitesh Saxena
    Nitesh Saxena

    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…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Register Coloring OPTIMIZATION question

    mike dave
    mike dave

    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…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Problem passing nested struct with pointer on the stack

    M. Burr
    M. Burr

    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…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • What is the device address of AT89C51

    Kirba Shankar
    Kirba Shankar

    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.

    • over 12 years ago
    • Software Tools
    • Keil forum
  • want to discuss about programming

    james anwar
    james anwar

    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…

    • over 13 years ago
    • Software Tools
    • Keil forum
  • Good substitute for obsolete Philips 89C51RD2 ???

    Don Koehn
    Don Koehn

    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…

    • over 13 years ago
    • Software Tools
    • Keil forum
  • ascii to hex

    kamala kamala
    kamala kamala

    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

    • over 13 years ago
    • Software Tools
    • Keil forum
  • Timer 0 as counter

    T D
    T D

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

    • over 13 years ago
    • Software Tools
    • Keil forum
  • Timer runs to fast with a 12 MHz crystal

    Harry Watkins
    Harry Watkins

    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…

    • over 13 years ago
    • Software Tools
    • Keil forum
  • SVN & Keil

    Vicol Bogdan
    Vicol Bogdan

    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.

    • over 13 years ago
    • Software Tools
    • Keil forum
  • PClint Error

    Shobha thakur
    Shobha thakur

    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…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • are code banking and data banking similar??!!

    saurabh gupta
    saurabh gupta

    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…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • how to relocate program within 2k

    ARUN MOHITE
    ARUN MOHITE

    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

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Timers in 8051 ( Mode3)

    Suresh Selva
    Suresh Selva

    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...

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Pointer to function

    Puiu Chiselita
    Puiu Chiselita

    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 …

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Cypress EZUSB

    Dang Minh Khang
    Dang Minh Khang

    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…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Operating Systems

    Ramesh Kumar
    Ramesh Kumar

    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.

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Problem on uVision3

    Hua Sun
    Hua Sun

    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.

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Keil Software Problem with ID7

    James Vernon
    James Vernon

    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…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Agsi Simulator Interface

    Sunil Viswanath
    Sunil Viswanath

    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.

    • over 15 years ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel
<>