Discussion in "Project Addition or Changes" started by    tahirmaqsood    Sep 26, 2010.
Wed Nov 10 2010, 12:17 pm
#31
Here I am again!

Thanks for the hints, but unfortunately its not working to the end.

romel_emperado
You were right: I had to include the othe *.c files. Now its almost ok. The question for your version was because uvision4 C51 has different versions (I think up to 9.1)

majoka
Thank you for the links to uV3. I tried it, but there are the same errors/warnings. See below


I tried to compile and posted the messages here. Now I will try to find a reason for not working.

What do you think?!
Wawa





Build target 'Target 1'
compiling nokia3310.c...
compiling delay.c...
compiling keypad.c...
compiling LCD.c...
compiling lcd_1.c...
compiling lock.c...
compiling main.c...
MAIN.C(22): warning C275: expression with possibly no effect
MAIN.C(45): warning C275: expression with possibly no effect
MAIN.C(56): warning C275: expression with possibly no effect Theese are " clearram ; "
MAIN.C(68): warning C275: expression with possibly no effect so it should be okay?!
MAIN.C(77): warning C275: expression with possibly no effect
MAIN.C(94): warning C275: expression with possibly no effect
MAIN.C(107): warning C275: expression with possibly no effect
MAIN.C(120): warning C275: expression with possibly no effect
linking...
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: NEWLOCK
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: RETRYCOUNT
MODULE: main.obj (MAIN)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
SYMBOL: MAIN
MODULE: main.obj (MAIN)
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?MAIN?MAIN
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: NEWLOCK
MODULE: lock.obj (LOCK)
ADDRESS: 07BEH
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL: MAIN
MODULE: C:\KEIL\C51\LIB\C51S.LIB (?C_INIT)
ADDRESS: 0ABBH
Program Size: data=38.5 xdata=0 code=3848
Target not created




[ Edited Wed Nov 10 2010, 12:38 pm ]
Wed Nov 10 2010, 01:10 pm
#32
hi wawa. did u modify the code? i think its your modification gets an error there..

try to create a new folder and copy all the *.c file including the .h file in one folder then create a new project.

after doing that if u see a header like this "#include "nokiaLCD/lcd.h" or somethind like that change that to #include "lcd.h"

i can not post what is exactly written there because i dont have a copy on that file now and Im using linux rar is not installed so i cannot open any attachement here ..
 Wawa like this.
Wed Nov 10 2010, 01:16 pm
#33
Thanx for the info.
For I have almost 1hr left I will try now

hold on
Wed Nov 10 2010, 01:31 pm
#34


It seems to work!! I think I found the fault :

I decompressed the last version of majoka again and recognized the 3310-uVision-Project-File. I could compile it.
When looking at the other project i saw an additional file: main.c that caused the errors.

So NOW I will begin to modify to get my results.

1. Only using LCD-Display
2. Starting up-picture
3. Confirm-picture
4. auto-release of open-signal

Will make reports

T H A N K Y O U!!
Wawa

Wed Nov 10 2010, 01:35 pm
#35
wawa add me in facebook.. hehe [email protected]

din u not use the uvision file in there? it can also be use and its workig without error.. i thought u see the file
Wed Nov 10 2010, 01:44 pm
#36
hey romel add me too
Wed Nov 10 2010, 02:41 pm
#37
okay mirza accept my friens request.. heheeh
Wed Nov 10 2010, 10:04 pm
#38
hi Wawa
i think u was mixing 2 projects u use main file of ur own project and add more files of other project
always open project from keil that will open project file with necessary files that will automatically add
Thu Nov 11 2010, 02:59 am
#39
You're right

This is learning by doing...

This evening I am trying to send an initial pic before starting the code request.
Unfortunately the download of http://tanu-sha.narod.ru/ is damaged so now i'm searching on

I You have a simple way to display a hex-coded pic (like the attached one) on the display, tell me

@romel: I will - give me some days

Thu Nov 11 2010, 03:02 am
#40
bas-created:

0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x80 , 0x80 , 0x80 , 0x80 , 0x80 , 0xC0 , 0xC0 , 0xD0 , 0xC0 , 0xC0 , 0xC0 , 0xC0 , 0xC0 , 0xC0 , 0xE0,
0xe0 , 0xE8 , 0xE8 , 0xE8 , 0xE0 , 0xE8 , 0xE8 , 0xE8 , 0xC8 , 0xC8 , 0xC8 , 0x08 , 0x08 , 0x00 , 0x80 , 0x80,
0x80 , 0x80 , 0x00 , 0x80 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x80 , 0xC0 , 0xA0,
0x10 , 0x08 , 0x04 , 0x02 , 0x03 , 0x03 , 0x03 , 0x83 , 0x03 , 0x03 , 0x03 , 0x03 , 0x03 , 0x03 , 0x03 , 0x03,
0x01 , 0x01 , 0x01 , 0x01 , 0x81 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x03 , 0x03 , 0x07 , 0x0F , 0x00,
0x00 , 0x02 , 0x07 , 0x06 , 0x00 , 0x01 , 0x02 , 0x03 , 0x00 , 0x26 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x20 , 0x00 , 0x00 , 0x60 , 0x30,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x20 , 0x38,
0x00 , 0x10 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x80 , 0xC0 , 0xA0 , 0x30 , 0x20 , 0x18 , 0x18,
0x08 , 0x08 , 0x10 , 0x20 , 0x40 , 0x80 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x80 , 0xF0 , 0x7C , 0x00 , 0x00 , 0x08 , 0x04 , 0xC0 , 0x06 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x04 , 0x06 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x06 , 0x07,
0x05 , 0x02 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x40 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x20 , 0x00 , 0x02 , 0xF8 , 0x00 , 0x04 , 0x06 , 0x16 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x01 , 0x07 , 0x00 , 0x80 , 0xE1 , 0xC3 , 0x80 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x01 , 0x03 , 0x07 , 0x07 , 0x0F , 0x0F , 0x0F , 0x0F , 0x0F,
0x0f , 0x0F , 0x0F , 0x0E , 0x0F , 0x0E , 0x0E , 0x0E , 0x0E , 0x0E , 0x0E , 0x0E , 0x0E , 0x0E , 0x06 , 0x00,
0x10 , 0x00 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x80 , 0x08 , 0x10 , 0x38,
0x20 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x0E , 0x07 , 0x01 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x10 , 0x10,
0x10 , 0x08 , 0x08 , 0x00 , 0x04 , 0x00 , 0x02 , 0x02 , 0x00 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x01 , 0x04 , 0x00 , 0x00 , 0x08 , 0x00 , 0x08 , 0x00 , 0x00,
0x00 , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x08 , 0x00 , 0x00 , 0x00 , 0x04 , 0x04 , 0x02,
0x03 , 0x03 , 0x03 , 0x02 , 0x06 , 0x02 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am