Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Moved] problem in Keil Software

Status
Not open for further replies.

SliferTheSkyDragon

Newbie level 5
Joined
Dec 5, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Earth
Activity points
1,336
I am a rookie in micro controllers and downloaded Keil C51, when i used it i find that although on compilation the last line says 0 errors and 0 warnings, the previous line says *** ERROR: CAN'T OPEN FILE 'Videogame' and everything appears normal but the program does nothing. What do i do?
 
Last edited:

Does it create hex file? You probably didnt add source file to the project.

I don't understand "CAN'T OPEN FILE 'Videogame' and everything appears normal but the program does nothing" this. What do you means program does nothing? Have you setup your hardware?
 

Thanks for replying, no i havent set the hardware, i meant that the code does perform anything in the simulation.
This is what i get


Build target 'Target 1'
compiling videogame.c...
videogame.c(50): warning C290: missing return value
videogame.c(67): warning C290: missing return value
videogame.c(76): warning C290: missing return value
videogame.c(92): warning C290: missing return value
linking...
Program Size: data=15.3 xdata=0 code=361
creating hex file from "Videogame"...
OBJECT TO HEX FILE CONVERTER OH51 V2.6
COPYRIGHT KEIL ELEKTRONIK GmbH 1991 - 2001
*** ERROR: CAN'T OPEN FILE 'Videogame'
"Videogame" - 0 Error(s), 4 Warning(s).
 

i did everything similar just .c instead of .asm everywhere, the problem i m encountering is that on "building" there comes that "error:cant open" line. some [problem with my computer, i guess.
thanks anyway
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top