We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear all,Can you help me?Thank you in advance! I used uVision(Keil C51 V7.01) to connect to Monitor-51 which was made by myself.But it didn't work.When I built my project,it showed as below: Build target 'Target 1' assembling mon51asm.a51... assembling STARTUP.A51... linking... *** WARNING L5: CODE SPACE MEMORY OVERLAP FROM: 8000H TO: 8013H *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_START MODULE: STARTUP.obj (?C_STARTUP) *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?C_START MODULE: STARTUP.obj (?C_STARTUP) ADDRESS: 801EH Program Size: data=9.0 xdata=0 code=32803 creating hex file from "mon51test"... "mon51test" - 0 Error(s), 3 Warning(s). Then I started debug session in spite of the warnings,it show "ERROR 22:NO CODE MEMORY AT 0x8000".And the uVision couldn't connect to Monitor-51.How should I solve this problem.Thank you very much for your advice.
Hi, Can you post your code... Rgds Raj Shetgar
Do you have main() functions?
My code is a simple testing ASM program as below: ORG 8000H LOOP: SETB P1.0 LCALL DELAY CLR P1.0 LCALL DELAY AJMP LOOP DELAY: MOV R7,#250 D1: MOV R6,#250 D2: DJNZ R6,D2 DJNZ R7,D1 RET END
"Then I started debug session in spite of the warnings" Very silly! The warnings are there for your benefit - you need to read & understand them to know whether your code has any chance of running at all!
Hi, Can you tell me which uC are you using,are you using internal or external memory for the code...? Rgds Raj Shetgar
I use At89S52 and external memory(62256) for my code.