Why didn't my program work?( SOS!!!)

I wirte program and compiled in Keil C51
Device:AT89S52
I debugged the program ,I worked well
But when I download it to the device
It didn't work on the board
while the board is fine,other program can work well
WHY?

More questions in this forum