EmbeddedRelated.com

Cygnal 8051F310 problem with onchip XRAM

Started by John F in comp.arch.embedded17 years ago 7 replies

#include #include #include Everytime I'm trying to use e.g. unsigned char myarray[8][25]; in a (quite trivial) application...

#include #include #include Everytime I'm trying to use e.g. unsigned char myarray[8][25]; in a (quite trivial) application I get linkage error with adress space. That's OK and working correctly. *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: ?DT?VALVE LENGTH: 007DH so far so good. As usual


consecutive bytes in internal RAM for DSEG

Started by Anonymous in comp.arch.embedded18 years ago 3 replies

Hi All, I am Ravikumar.N, using SDCC compiler with Cygnal C8051F130 microcontroller for one of my application. Used large memory...

Hi All, I am Ravikumar.N, using SDCC compiler with Cygnal C8051F130 microcontroller for one of my application. Used large memory model here. The folowing is my issue. I have declared an array of 600 of type float with the keyword xdata. i.e. xdata float array[600]. This array is used to store some float values. while compiling the application, the application gets compiled ...


Problem with simple constant code

Started by Klaus Vestergaard Kragelund in comp.arch.embedded20 years ago 2 replies

Hi Well, this is driving me nuts. I'm using Keil uVision C51 compiler for a Cygnal 80C51F302 device This is the code: """""""" #define...

Hi Well, this is driving me nuts. I'm using Keil uVision C51 compiler for a Cygnal 80C51F302 device This is the code: """""""" #define SYSCLK 10000000 // SYSCLK frequency in Hz #define SYSCLK_MINUTE 600000000 // (600E6) unsigned long TimerCount; unsigned int SampleRate; TimerCount = SYSCLK_MINUTE / SampleRate; """""""""" If SampleRate is 6 for example, the result of Timer...