Digital Code Lock With 3310 LCD
Wed Nov 10 2010, 12:23 am
Hi guys!
I found this site searching for starting-informations in my AVR-Programming-life. This is the perfect matching source-code for me.
Majoka, I downloaded your code tried to understand it in order to modify for my propper project.... I think i understand almost every... well most... ok: particular
I recognized that you use Klein and so I searched the C51-Program (V 9.01) and learned the basics in order to understand the important things.
BUT:
My first BIG Problem is the compiling.....
My generated hex-Files dont work simulating in Prometeus. Even when I re-compile your main.c File it doesent work (btw: the new hex-file is only 3kn. The original 9!!)
Do you (or anyone else) have an idea where my initial fault could be?!
Best Regards
Marcus
I found this site searching for starting-informations in my AVR-Programming-life. This is the perfect matching source-code for me.
Majoka, I downloaded your code tried to understand it in order to modify for my propper project.... I think i understand almost every... well most... ok: particular
I recognized that you use Klein and so I searched the C51-Program (V 9.01) and learned the basics in order to understand the important things.
BUT:
My first BIG Problem is the compiling.....
My generated hex-Files dont work simulating in Prometeus. Even when I re-compile your main.c File it doesent work (btw: the new hex-file is only 3kn. The original 9!!)
Do you (or anyone else) have an idea where my initial fault could be?!
Best Regards
Marcus
[ Edited Wed Nov 10 2010, 12:24 am ]
Wed Nov 10 2010, 12:59 am
I Forgot: Here are are some (!) lines of the output-window
Build target 'Target 1'
assembling STARTUP.A51...
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
MAIN.C(68): warning C275: expression with possibly no effect
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...
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _CHECK
MODULE: main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: ?_CHECK?BYTE
MODULE: main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: DEFAULTULOCK
MODULE: main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: GETKEY
MODULE: main.obj (MAIN)
[…]
SYMBOL: _DELAYMS
MODULE: main.obj (MAIN)
ADDRESS: 027AH
Program Size: data=12.2 xdata=0 code=1000
creating hex file from "3110"...
"3110" - 0 Error(s), 138 Warning(s)
Greetz
Wawa
Build target 'Target 1'
assembling STARTUP.A51...
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
MAIN.C(68): warning C275: expression with possibly no effect
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...
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _CHECK
MODULE: main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: ?_CHECK?BYTE
MODULE: main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: DEFAULTULOCK
MODULE: main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: GETKEY
MODULE: main.obj (MAIN)
[…]
SYMBOL: _DELAYMS
MODULE: main.obj (MAIN)
ADDRESS: 027AH
Program Size: data=12.2 xdata=0 code=1000
creating hex file from "3110"...
"3110" - 0 Error(s), 138 Warning(s)
Greetz
Wawa
Wed Nov 10 2010, 02:45 am
hi wawa, i also downloaded that code from majoka and it has no error. try to
remove STARTUP.A51... from the group and compile it. i also got many errors when that startup file is included.. hehe i dont know about that file but i just remove that...
remove STARTUP.A51... from the group and compile it. i also got many errors when that startup file is included.. hehe i dont know about that file but i just remove that...
Wed Nov 10 2010, 03:16 am
I retried!
When starting up, the system asks me if I want to include this file. This time I said "no", but the result is the same
Build target 'Target 1'
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
blablabla....
Welll maybe its because of V 9.01 instead of 9,1 ??!!
Greetz
Wawa
When starting up, the system asks me if I want to include this file. This time I said "no", but the result is the same
Build target 'Target 1'
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
blablabla....
Welll maybe its because of V 9.01 instead of 9,1 ??!!
Greetz
Wawa
Wed Nov 10 2010, 03:55 am
yes IM using keil uvision4 c51.. di u tried crating a new project?
i compiled it again just now it works no error no warning
download this this is the last files attached by majoka:
http://www.8051projects.net/e107_files/public/1286250944_22104_FT38136_updated.rar
i compiled it again just now it works no error no warning
download this this is the last files attached by majoka:
http://www.8051projects.net/e107_files/public/1286250944_22104_FT38136_updated.rar
Wed Nov 10 2010, 04:21 am
Hey romel_emperado,
thx, but its the same
I create a new project using the steps discribed in the tutorial added below.
1. New uVision Project
2. chosing Atmel AT89C52
3. copy standard = no
4. File open: main.c
5. Project Window: Target1+ =Source Group1 opens
6. Source Group1 marked, add files = main.c
7. Save
8. Mark Target1: Rebuild all target files
--> Warnings as discribed
Need help
thx, but its the same
I create a new project using the steps discribed in the tutorial added below.
1. New uVision Project
2. chosing Atmel AT89C52
3. copy standard = no
4. File open: main.c
5. Project Window: Target1+ =Source Group1 opens
6. Source Group1 marked, add files = main.c
7. Save
8. Mark Target1: Rebuild all target files
--> Warnings as discribed
Need help
Wed Nov 10 2010, 04:26 am
I forgot the file... sry
Whitch VERSION of uVision4 do u use?
Whitch VERSION of uVision4 do u use?
[ Edited Wed Nov 10 2010, 04:27 am ]
Powered by e107 Forum System