• Adress space overflow

    micke S
    micke S

    hi,

    during compilation of my program i have been getting too many address overflow errors. Mostly the errors were due to function arguments placed in the data space instead of xdata...i solved it using the 'large' keyword..however now i get this error…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • do yOU need LCD (2 by 16) sample program in keil in C

    tsk cable
    tsk cable

    Hi i'm kinda new here but this is my code for 16x2 Lcd
    It was made with Keil uVision, Enjoy

    #include <REGX52.H>
    
    #define LCD_data P2
    #define LCD_rs P1_0
    #define LCD_rw P1_1
    #define LCD_en P1_2
    
    
    void LCD_busy(void);
    void LCD_poweron(void);
    void…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • Error of header file

    Phillip Tran
    Phillip Tran

    This is in my 89C51RE2

    /*------------------ T W I (I2C) registers ------------------------------*/
    Sfr ( SSCON , 0x93);

    Sbit (SSCR2 , 0x93, 7);
    Sbit (SSIEN , 0x93, 6);
    Sbit (SSSTA , 0x93, 5);
    Sbit (SSST0 , 0x93, 4);
    Sbit (SSSI , 0x93, 3);
    Sbit (SSAA…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • problem in getting data

    saha le
    saha le

    Hello
    I,m saha working with at89c51.I'm new in the field and dont know much about that.I want to get digitized data from sensor but instesd getting data in the form of digit i get in following formate ðÿüÎþüÿüüüþÿüüøÿüÿðþüÅ

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Simulate Multiple I2C devices in Keil known code

    Chris B
    Chris B

    I have been using code supplied by Keil to simulate I2C slaves and it works great......only problem.....its one device only. Using the VTREG's it does, I tried to modify the code by +1's on the call names, but that didn't work. I have at least 14 I2C…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • philips AN10155

    Albert Gomez
    Albert Gomez

    I faithfully typed in all the I2C code from philips application notes, AN10155. I get the following when I compile in Keil:

    Build target 'Target 1'
    assembling START900.A51...
    compiling demo.c...
    I2CEXPRT.H(65): error C141: syntax error near 'using…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • array with pdata

    Nir boh
    Nir boh

    hello,
    i'm using AT80C31X2 uC. Keil V3.33
    i've declared an array as follows:

    unsigned char pdata array_1[8][16];
    


    i got an error code "error C241: 'main': auto segment too large"
    I've tried to work in compact rom code size…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • error C253 INTERNAL ERROR (UNDEFINED LABEL)

    Jerry Jerry
    Jerry Jerry

    When I compile my project. Errors as below show up.

    app.C(1025): error C253: '?L0033': INTERNAL ERROR (UNDEFINED LABEL)
    app.C(1025): error C253: '?L0032': INTERNAL ERROR (UNDEFINED LABEL)
    app.C(1025): error C253: '?L0031': INTERNAL…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • How to know parameter list of an assembly function

    Shyam Singh
    Shyam Singh

    I have a .a51 file in my project which has one public function. I dont know about the parameters of this function. How to know the parameter list of an assembly function.

    Thanks,

    • over 12 years ago
    • Software Tools
    • Keil forum
  • Errors and warnings when compiling

    Sihan Goi
    Sihan Goi

    Hi,
    I'm programming for a Cypress EZ-USB FX2 platform, and I'm adding onto the default firmware. I'm having some problems compiling some code, and I'm wondering if I'm running into space limitations already.

    First of all, I get…

    • over 13 years ago
    • Software Tools
    • Keil forum
  • Simulate 8052 microcontroller with keiluVision3

    wei wang
    wei wang

    Hi,

    I would like to debug a piece of source code based on 8052 microcontroller, the code is following:

    MAIN:      MOV T2CON, #02h
               MOV tl2,   #0FBh
              MOV th2,   #0FFh
              MOV RLDL,  #0FBh
              MOV RLDH,  #0FFh
          …

    • over 13 years ago
    • Software Tools
    • Keil forum
  • Error C193 : '==' : illegal type conversion ??

    Alli Bas
    Alli Bas

    Hi,

    I have tried to remove this error but no way.

    Error C193 : '==' : illegal type conversion from/to 'void'

    I have tried to include severals headers file but nothing, how can I resolve this error?

    This error is in the function…

    • over 13 years ago
    • Software Tools
    • Keil forum
  • Need timer.h and lcd.h which suits the program given below

    vinoth sathya
    vinoth sathya

    hello everyone,
    im doin my engineering project on AUTOMATIC SPEED CONTROL OF AUTOMOBILES.i am using AT89C52 and 16x2 lcd display.
    i have the C program for it,but i need Timer.h & Lcd.h for it to work....
    plz help me find it or create one header fle…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • C51:( LINk Error) fatal error: application calls too many recursions.

    Tian Hongwu
    Tian Hongwu

    while using Keil8.04 compiling and link, there is a fatal error:
    *** WARNING L13: RECURSIVE CALL TO SEGMENT SEGMENT: ?CO?MAIN CALLER: ?PR?DISP_MOTORSETUP?MAIN
    *** WARNING L13: RECURSIVE CALL TO SEGMENT SEGMENT: ?CO?MAIN CALLER: ?PR?_LCD_SHOWCHAR?MAI…

    • over 12 years ago
    • Software Tools
    • Keil forum
  • LIB CODE size problem

    Syed Moulana
    Syed Moulana

    I have problem with code size. When I check the map file it shows LIB CODE size 631h as follows

    CODE 0076H 0631H UNIT ?C?LIB_CODE

    why LIB CODE size such big? what could be the reason?.
    FYI: Below are MAP file information for library routine inclusion…

    • over 13 years ago
    • Software Tools
    • Keil forum
  • linking with rtx51tiny

    NABEEN AMATYA
    NABEEN AMATYA

    hi there,
    i just started learning rtos tiny. This is my first program and it goes like this

    #include "rtx51tny.h"
    #include "reg51f.h"
    #define LED P1
    #define OFF 0XFF
    #define ON 0X00
    
    void job0 (void) _task_ 0
    {	unsigned int counter = 0;
    	LED = OFF;…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • EZ-USB FX2LP CY7C68013A: target not created!

    emme emme
    emme emme

    Hi,

    I'm developing a project with micro

    EZ-USB FX2LP CY7C68013A

    When I try to build project, I get that message

    Build target 'Target 1'
    compiling fw.c...
    assembling dscr.a51...
    compiling firmware.c...
    compiling clocksys.c...
    compiling SPI…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • C8051f120 Code Banking Problem

    Angel Shtilianov
    Angel Shtilianov

    When I compile:
    Build target 'Target 1'
    compiling main.c...
    compiling Config.c...
    assembling L51_BANK.A51...
    assembling STARTUP.A51...
    compiling Misc.c...
    compiling MenuSettings.c...
    compiling MenuHandler.c...
    compiling relay.c...
    compiling DSP_Data…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Cant get to UART1 interrupt on F067

    Jeff Salisbury
    Jeff Salisbury

    I used the SI Labs config 2 wizard to generate the following code and then added the interrupt at the bottom. The only thing I do in my main is try to set TI1 to 1 which should signal hardware to jump to the UART1 ISR. If I set a break point in main and…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • I meet the problem : 5623.H(4): error C129: missing ';' before 'data'

    alan wang
    alan wang

    //5623.h
    extern DEVICE_REQUEST data ep0_cmd;

    //usb.h
    typedef struct
    {
    /*
    */
    }DEVICE_REQUEST;

    //define.c
    DEVICE_REQUEST data ep0_cmd _at_ 0x18 = {0};

    Build target 'Target 1'
    compiling main.c...
    5623.H(4): error C129: missing ';' before 'data…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Warning L15 and L16

    Aquib Fateh
    Aquib Fateh

    I am trying to compile a frequency hopping code . But when ever i try to compile it, i get an error when the project is linking. Errors i get are


    linking...
    *** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS
    NAME: _SETCALLBACKFUNCTION…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • How to know lib function code size

    Rajesh P
    Rajesh P

    Hi,
    After compiling my project, following library functions are listed in the m51 file.
    C:\KEIL\C51\LIB\C51L.LIB (?C_INIT)
    C:\KEIL\C51\LIB\C51L.LIB (?C?COPY)
    C:\KEIL\C51\LIB\C51L.LIB (?C?CLDPTR)
    C:\KEIL\C51\LIB\C51L.LIB (?C?CLDOPTR)
    C:\KEIL\C51…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • PWM with menu control - hangs up

    Kobus van Rooyen
    Kobus van Rooyen

    Hi,

    Using: Keil uvision3 with Infineon XC866 Easy kit development board.

    I am trying to write a little menu function to controller the PWM generation via key stoke selections. The first few keystrokes are implemented and I can see the PWM signal changing…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Improper fixup problem in library when using compact model

    Amit Alon
    Amit Alon

    Hello,

    my code passes compilation fine when using small or large models. however when changing the project to use compact model, I get the following errors, (which seem like library bugs) (???):

    linking...
    *** ERROR L121: IMPROPER FIXUP
        MODULE…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Debug

    Ingvar Kreft
    Ingvar Kreft

    Hi
    I want to simulate the I2C, and find this example

    // Simulation of I2C Memory (Slave)
    
    MAP V:0,V:0xFFFF READ WRITE                  // Map User 64kB Memory region
    
    DEFINE int SADR                              // Slave Address
    
    signal void I2CMEMORY…

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