I am using Keil version 7.07 and Microcontroller C8051F340. My whole code is in C-language and only the serial receiving function is in assembly language. I was using only UART1 and till then it was working fine, but now I changed the code for UART1 and UART0 both and want to receive different data from both. Now the error coming is "IMPROPER FIXUP" in both serialISR0 and serialISR1 functions. Even the compiler is not giving error, the linker is generating this error. All the variables are properly defined.
Please Help!
Regards M. Maaz Qazi
Have you looked at: http://www.keil.com/support/docs/2157.htm
Jon
I ALSO DO HAVE SAME PROBLME BUT CODE MAIN SAYING FIXUP ERROR
I CHANGE CODE AND FIXUOP ERROR CHANGE TO DATA ERROR
MALLOC RETURN NUL?
PLZ TELL ME HELP IS WHAT CODE
SINSERLY RS
#include <stdlib.h> #include <stdio.h> #include <conio.h> #include <string.h> #include <graph.h> #include <pgchart.h> #include <8051.h> /* Structures for system configuration and chart environment. */ struct videoconfig vc; chartenv ce; /* Category variables. */ short cCat; char _far *aCat[MAXVALUES]; /* Series variables. */ short cSeries; short _far acSeries[MAXSERIES]; char _far *aSeriesName[MAXSERIES]; /* Temporary holding array for all data. Data values for multi-series * bar, column, and line charts remain here. Data for other kinds of * charts are transferred to the arrays below. */ float _far aValue[MAXSERIES][MAXVALUES]; /* Data values for single-series charts. First array is used for * bar, column, line, and pie. First and second are both used for * single-series scatter. */ float _far axValue[MAXVALUES]; float _far ayValue[MAXVALUES]; /* Data values for multi-series scatter charts. */ float _far axValueMS[MAXVALUES][MAXVALUES]; float _far ayValueMS[MAXVALUES][MAXVALUES]; /* Exploded flags for pie chart. */ short _far aExplode[MAXVALUES]; /* Variable used to track control and screen position. */ struct SCREENINFO si; /* Colors of menus and prompts. */ struct tagColor co; /* Sample data. */ #define O_JUICE 0 #define I_TEA 1 #define H_CHOC 2 #define TEMPERATURE 3 char _far *aQuarters[] = { "First", "Second", "Third", "Fourth" }; char _far *aMonths[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; char _far *aSalesTitles[] = { "Orange Juice Sales", "Iced Tea Sales", "Hot Chocolate Sales" }; char *TempTitle = "Average Temperature"; int main() { Initialize(); MainMenu(); /* Reset the video mode and screen colors prior to leaving. */ _setvideomode( _DEFAULTMODE ); _settextcolor( co.InfoColor ); _clearscreen( _GCLEARSCREEN ); return 0; }
SORRY PLEASE FOR WRONG CODE
CODE IS
#include <stdio.h> /*printf*/ #include <8051.h> /* TI*/ int main() { loop_again: printf( "code is here' ); /*printf*/ goto loop_again; }
why shout?
plz do not use big letters bcoz you look very big rude
do your code compile?
you not put good in string
printf( "code is here' );
change
printf( "code is here" );
code compile then?
Using goto for an infinite loop???
instead of:
void main(void) { for (;;) { printf("code is here\n"); } }
or
void main(void) { while (1) { printf("code is here\n"); } }
By the way 1: Why hijack someone elses thread? The problems aren't even related.
Why the way 2: Why add a comment informing that the printf() call is a printf() call?
By the way 3: You shout that malloc() returns NULL - which malloc()?
plz do not use big letters bcoz you look very big rude that is the pot calling the kettle black do you think that such gobbelygook is not considered rude?
Erik
i not know who is gobbelygook
i google and it say he is son of a pig farmer
www.sonofapigfarmer.com/
you be rude to me?
why you think my father farms pigs??
you say i rude? i not shout at you!
have me offended you by me?
Good. Not a single SMS abbreviation in your text.
Next few steps: - Start all sentences with a capital letter. - End all sentences with a period, exclamation or question mark. In special cases, end the sentence with three terminating characters ("...", "???", "??!" or similar). Never two. Never four or more. - Remember to spell I with a capital letter.
The above makes no difference in typing speed, but directly affects how people look at your posts.
i not know who is gobbelygook i google and it say he is son of a pig farmer
no, it does not it says that the word gobbelygook appear in "son of a pig farmer"
Gobbelygook is not a who, it is a what.
Gobbelygook is words that do not make sense and you used two.
you think i am a what??
no
i am a who
i ammm a person
i am not a gobbelygook!!!!!!
you think my words do not make sense???
i learn englis from book i have grade pass!!
plz no be rude to me
you do not get it do you?
there is, in what I have posted NOTHING about YOU personally.
The gobbelygook is your screwy 'abbreviations'
i learn englis from book i have grade pass!! if that book has "plz" and "bcoz" in it please give me the name of the book and a link to the institution that uses it.
now i understand
i find you word in my book
you had bad spelling!!!!!!
it is not gobbelygook
it is gobbledygook (or gobbledegook)
maybe i lend you my book please for you to learn????
you had bad spelling OK I had an unintentional spelling error. You had intentional lazy spelling.
Return thread back to OP fixup problems now.