• * OVERLAP * in XDATA space

    Angelo Dureghello
    Angelo Dureghello

    hi all,

    i'm developing a projet using an external 512K code memory and a 512K external sram. For now i'm just using the first 64k page on both chip.

    since i was compiling with DW(6) linker directive, i didn't seen till now that i was full of…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • writing to serial eeprom problem

    Mahmood Elnasser
    Mahmood Elnasser

    I'm writting to AT24C128 serial eeprom as shown by the datasheet and the read command shown below works, while the write command doesn't. I wrote to the chip using external programmer and it was ok, reading from it works fine, but writting doesn't. Can…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Change from char array to int array R/W nvram over spi

    Mark Yukob
    Mark Yukob

    I am having a problem with get and set nvram over a spi bus. The set function shown below has always worked with "Char array" and "int" types, but will not work with "int array'.

    Thanks in advance for any help.



    Call;

    …
    • over 17 years ago
    • Software Tools
    • Keil forum
  • watchdog not working in 87c520

    Baruch A
    Baruch A

    A strange situation where an internal watchdog reset implementation seems not to work on the 87c520 target while it does work ok when using the Ceibo ICE.

    Seems like the reset occurs but unclear where the PC jumps to because the SW does not restart properly…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • User defined memory space (mspace)

    Esa Honkanen
    Esa Honkanen

    Hello all.

    I'm using 0x80000(, 0x90000..) as a mspace for external eeprom(s). Is there a way to avoid to check the (valid) mspace of constants?
    Or even better, to add a 'new' memory space?

    #define T_SIZE    16
    #define P_SIZE    4*T_SIZE…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • disable overlay warning for specific functions

    steve connet
    steve connet

    I have four functions that the linker gives me the warning:

    *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
        SEGMENT: ?PR?UART_RX_ISR_STUB?ISR
    
    *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
        SEGMENT: ?PR?TIMER0_ISR_STUB…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • Fast 32-Bit LFSR

    Graham Cole
    Graham Cole

    rand32() is a pseudo random number generator based on a galois LFSR generator. It is a fuction that others may find useful. For details on how it works and alternative tap lists see: http://www.newwaveinstruments.com/resources/articles/m_sequence_linear_feedback_shift_register_lfsr…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Displaying forign characters on LCD

    Sewd Sewd
    Sewd Sewd

    I am trying to sysplay a forign numeric system in LCD. I am using Keil development kit and I have not decide what kind of LCD to use. I found this code but could not work here is the code. Thanks


    // BitPattern DataByte
    // Character…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Problem when linking for RTX51

    Adi Sapner
    Adi Sapner

    Hi,







    When I link my program I get:







    Build target 'Target 1'



    linking...



    *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL



    SYMBOL: ?RTX_MBX_PAGE



    MODULE: C:\KEIL\C51\LIB\RTX51.LIB (RTXCREA)



    *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL



    SYMBOL…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • What does this warning mean?

    Mohammad  Adel
    Mohammad Adel

    When I 74compile my project I get these errors:
    ****************************************
    *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL: ?C_STARTUP
    MODULE: gf.obj (GF)
    *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL: ?C?COPY
    MODULE…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • C51: IN-SYSTEM FLASH PROGRAMMING (PART 2) and 80c400

    john boguse
    john boguse

    I have been trying to run the demo program in the C51: IN-SYSTEM FLASH PROGRAMMING (PART 2) artical on the dallas 80c400 in contiguout mode.

    the only changes I have made are:
    change device to 80c400
    change memory model: Large
    code rom size: contiguous…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • L4: Data Space Memory Overlap with register set 1 interrupt routine

    Eric Ryherd
    Eric Ryherd

    I have an interrupt service routine written in assembly that I am using register set 1 to pass data back and forth to the main program.

    In my main program I have:
    BYTE AudioTemp0 _at_ 0x08; // R0
    BYTE AudioTemp1 _at_ 0x09; // R1
    BYTE AudioRXLo _at_…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • SYMBOL TABLE LISTING shows address 0000H for multiple variables in the program

    Vuppuladhadium Venkataramana
    Vuppuladhadium Venkataramana

    The T_T_HELLOMSG string starts with address 0000H. How can the other variables in the progam ?_MYPUTCHAR?BYTE, ?TST_PRINTF?BYTE,
    P_A?141, MM_IX?251 have the same address ??

    Same story with the following two variables:
    T_NUM_DATA. . . . . X ADDR …

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Error undefined symbol SC_0

    Edward Llewellyn
    Edward Llewellyn

    When I compile the following function as
    a .c file, it compiles fine.

    But when I compile it to a .SRC file,
    and then have it assembled, the symbol
    ?SC_0 is undefined. This symbol is
    apparently a compiler generated symbol,
    so why should it be undefined…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • C Macro Expansion Question

    Tom Marks
    Tom Marks

    Is there a way to create a C #define macro such that a call to it:

    nop_delay(5)

    would yield the following expanded code?:

    _nop()_;
    _nop()_;
    _nop()_;
    _nop()_;
    _nop()_;


    Thanks,

    Tom

    • over 18 years ago
    • Software Tools
    • Keil forum
  • C compiler error: absrel out of range

    Prasanth Kumar
    Prasanth Kumar

    Anyone familiar with the C51 compiler error as follows:

    --- error: absrel out of range (l308, $=0X25 Targ=0X485)
    --- error: absrel out of range (l355, $=0XC Targ=0XA0)
    --- error: absrel out of range (l443, $=0X1C Targ=0XB1)
    --- error: absrel out of range…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • Can you Explain Me this ?

    changuel khemaies
    changuel khemaies

    #define  MAIN_CARD				0x00
    #define  AUXILIARY_CARD			0xFF
    #define  AUXILIARY_CARD_1		0x01
    #define  AUXILIARY_CARD_2		0x02
    #define  AUXILIARY_CARD_3		0x03
    #define  AUXILIARY_CARD_4		0x04
    #define  AUXILIARY_CARD_5		0x05
    #define  AUXILIARY_CARD_6		0x06…

    • over 19 years ago
    • Software Tools
    • Keil forum
  • Understanding Output Listings

    David Herr
    David Herr

    I am working on a project with an 8k code space limit (Only using the internal flash of the analog devices ADuC824).

    I have had some success decreasing the code size by eliminating library routines such as memmove(). And I was wondering if there is…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • Error undefined symbol SC_0

    Edward Llewellyn
    Edward Llewellyn

    When I compile the following function as
    a .c file, it compiles fine.

    But when I compile it to a .SRC file,
    and then have it assembled, the symbol
    ?SC_0 is undefined. This symbol is
    apparently a compiler generated symbol,
    so why should it be undefined…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • C Macro Expansion Question

    Tom Marks
    Tom Marks

    Is there a way to create a C #define macro such that a call to it:

    nop_delay(5)

    would yield the following expanded code?:

    _nop()_;
    _nop()_;
    _nop()_;
    _nop()_;
    _nop()_;


    Thanks,

    Tom

    • over 18 years ago
    • Software Tools
    • Keil forum
  • C compiler error: absrel out of range

    Prasanth Kumar
    Prasanth Kumar

    Anyone familiar with the C51 compiler error as follows:

    --- error: absrel out of range (l308, $=0X25 Targ=0X485)
    --- error: absrel out of range (l355, $=0XC Targ=0XA0)
    --- error: absrel out of range (l443, $=0X1C Targ=0XB1)
    --- error: absrel out of range…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • Can you Explain Me this ?

    changuel khemaies
    changuel khemaies

    #define  MAIN_CARD				0x00
    #define  AUXILIARY_CARD			0xFF
    #define  AUXILIARY_CARD_1		0x01
    #define  AUXILIARY_CARD_2		0x02
    #define  AUXILIARY_CARD_3		0x03
    #define  AUXILIARY_CARD_4		0x04
    #define  AUXILIARY_CARD_5		0x05
    #define  AUXILIARY_CARD_6		0x06…

    • over 19 years ago
    • Software Tools
    • Keil forum
  • Understanding Output Listings

    David Herr
    David Herr

    I am working on a project with an 8k code space limit (Only using the internal flash of the analog devices ADuC824).

    I have had some success decreasing the code size by eliminating library routines such as memmove(). And I was wondering if there is…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • Warning while using inline assembly

    senthil arumugam
    senthil arumugam

    I am using inline assembly in C but i am getting a warning as "UNRESOLVED EXTERNAL SYMBOL".The code is executing but i am getting only the warning. I set all these options:
    Generate assembler SRC file
    Assemble SRC file
    Include in Target Bu…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Does CA51 support code banking like in PK51?

    henry ye
    henry ye

    Seems true, for it has BL51Linker. But I would like to confirm that?

    Thanks

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