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…
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…
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…
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;
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…
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…
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…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…
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…
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…
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…
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…
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_…
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 …
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…
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
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…
#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…
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…
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…
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
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…
#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…
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…
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…
Seems true, for it has BL51Linker. But I would like to confirm that?
Thanks