• cmx 850 lcd interface

    i ve seen ur LCD simulation for cmx850 interface with HD 44780. its quite helpful. but the only problem is that its in deutch. is there any translated version available.
    n secondly, can any body plz tell me how to address the pins on CMX 850 like ALE…

  • Read P1 or Pins?

    look at following code, i have no idea about what does "KEY_RESET" in the "if" statement read from, "P1" or "Pin of P1" ?("Parallel Port 1" window display in the simulator)

    sbit KEY_RESET = P1^5;
    
    if…

  • Problem with Code Banking using C8051F124

    Hi,
    I am using Silicon labs C8051F124 controller. I am trying the code banking using Keil ver 8.01, as my code has exceeded 64K. I have made 4 banks of 32K each and assigned my files to these banks. I have also made changes to the L51_Bank.a51 and Startup…

  • logic program

    hi sir
    iam using 89c51 with C51 compiler
    i want display voltage on & four 7segment leds.I converted anlog voltage to digital
    using ADC.now i want display voltage on & 7-segment leds like
    0.001v
    0.002v
    .
    .
    .
    5.000v

    iam using only one port P1…

  • error

    hi sir
    iam excuting this program in keil 51;

    #include <math.h>
    #include <stdio.h> /* for printf */
    #include<reg51.h>

    void tst_sqrt (void) {
    float x;
    float y;

    x = 25.0;
    y = sqrt (x); /* y = 5 */

    printf ("SQRT(%f) = %f\n…

  • 8052 data memory 128bytes or 256 byte?

    Hello,
    i am using 8052 in my project and according to datasheet the data memory is 256 bytes but in my code if i exceed 128 bytes the code is not compiled

    do i need to use it as x data memory?

    please help

  • IAP checksum read

    Hi,

    I'm using the P89LPC932A1 and attempting to read the global checksum using IAP during normal program execution. I have used this knowledgebase article as my guide:

    http://www.keil.com/support/docs/2554.htm

    So basically, I added this function…

  • variables with type unsigned long problem

    Dear All:

    When I compile the the code with
    the statement:

    The type of short_idx is unsigned short.
    Row1= (short_idx * 64) >> 8 >>8;

    If the value of short_idx is 2048, the
    Row1 should be 2,but Row1 will be 0.

  • C51C.LIB using Extended Linker (LX51)

    I have a project linked correctly with the BL51 linker. If I change this linker by the Extended Linker (LX51)it returns the following error:

    - ERROR L121: IMPROPER FIXUP
    MODULE: C:\KEIL6.23\C51\LIB\C51C.LIB (PRINTF)
    SEGMENT: ?PR?PRINTF?PRINTF
    OFFSET…

  • about define control variable of AT89S8252

    How can I define variable about serial port communication
    I try to define as
       TH1 = 251; 
    or  TMOD = 0x20; 
    ,it error (isn't correct).
    
    
    Is AT89S8252 know SCON variable?.
    
    .

  • storage for a function in memory ???

    hi,
    is there any way to specify or influence storage memory area for functions ?

    ie., where function start ?

    If that can't be done on function level, can it be done on C-source file level?

    I loked in Cx51-directives, nothing usefull found.

    thanks…

  • EEPROM Read/Write AT89C51AC3

    Hello,

    I have the following code for writing/reading EEPROM of this device.

    unsigned char eepromWrite (const unsigned int Address, unsigned char Data) {
        bit oldEA;
        unsigned char DataReadBack;
    
        if (Address <= 0x07ff)
        {
            oldEA…

  • Old Archimedes V4 linker

    Does anyone remember on the old Archimedes Version 4 linker (before Keil bought them out) how to link into a HEX file? Or how to convert from the old .A03 file to a HEX file.

    Version 5 software linked into a .ABS file and then the OH51 utility converted…

  • RTC

    Anyone got an RTC program in C that I can run on an 8051 or derivative (I'm using an LPC922 from Philips)

  • Data storage format

    Hello,
    I'm developing a DeviceNet application with Silicon Labs C8051F040, Keil compiler and a DeviceNet stack. The problem is the way that Keil stores var (16bit, 32 bit...). When I send data on the DeviceNet, the other devices get the inversion…

  • CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED

    i encountered this problem, does anyone know how to get around it?

    FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
    MODULE: C:\CYGNAL\IDEFILES\C51\LIB\C51S.LIB (-----)
    LIMIT: 1000H BYTE

  • dual serial port usingds89c420

    hello,
    iam using ds89c420 in my application.
    in this i want to recive the data from serial port1 and transmit data from the serial port0.
    then how to write code in keil for this application

  • Missing C51FPS.LIB file!

    Does anyone have the c51fps.lib file available for download?

  • function for LUT search

    Hi,

    I am interested in implementing a lookup table in code segment as below.

    LUT[] = {
    {0x01020304, "String1"},
    {0x05060708, "String2"},
    {0x0b0c0d0e, "String3"},
    {0x22334455, "String4"}
    };

    How can I write…

  • AT89C51 average sampling rate

    Dear all,
    I'd like to use AT89C51 for sampling.
    The samples are going to store in a external RAM.
    Is the sampling rate equals the oscillator attached?
    I heard that the max rate is less than 500ksps, isn't it?
    Thanks.

    Bill

  • how to make it so that it can send and received through air...

    #include<reg9e5.h>
    #define HFREQ 0 // 0=433MHz, 1=868/915MHz
    #define CHANNEL 106 // Channel number: f(MHz) = (422.4+CHANNEL/10)*(1+HFREQ)
    #define POWER 3 // 0=min power...3 = max power
    #define uchar…

  • #Define in Keil

    Hi Collegues,
    I am new in uVision and I am trying to configure an LCD in 4-bit mode by this tool.
    I got an error when I wrote this:
    #define LCD_Data P0
    .
    .
    .
    Then I wrote
    LCD_Data=0x28;

    the system says LCD_Data isnot defined

    How can I rename P0 to LCD_Data…

  • Downloading code thro' UVision2

    Hi,
    Is it possible to download hex file thro' UVision2 eval version.I'm using cy3684.

    Thanks &Regards,
    Reny

  • Need Help

    Hi,
    I want to debug my c code .Am running my c code on c51 compiler with 8051 microcontroller.

    thanx in advance.

    regards,
    Srinivas

  • Writing to eeprom

    Hi all,
    Hope someone can explain what I am doing wrong. I have the following problem.
    I am using a AT89C51ED2 micro and running PK51 8.01.
    I want to write a variable to and read a variable from eeprom.
    I have done a search on the Keil web site and have…