I am using c51v957 my setup for generating hex file is correct and i am getting hex file after i rebuild but that file is blank i mean that file has no effect on my hardware please help me out.
"that file is blank i mean that file has no effect on my hardware"
Err ... wait a minute! I think you jumping to an unwarranted conclusion there!
It would be very easy to tell whether the file was actually empty or not:
1. look at its size
2. open it in a text editor.
It seems very unlikely that a successful build would actually generate an empty hex file - unless your project contains no code!
Hell Mahendra ,
Check the "Build Output" window, to see if you are getting any errors:
http://www.keil.com/support/man/docs/uv4/uv4_ca_buildproject.htm
If you are using an evaluation version of the tools, you may have hit a code size limit. See:
http://www.keil.com/demo/limits.asp
I try to read though the language barrier: are you saying thet you have a good .hex file, but nothing in the chip?