This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

program exec well in simulator but not when loaded in target

Hi All
i have written routines for 8051RD2,after compiling and building target i tried this program with simulator,it was working fine and was giving me the desired o/p,but when hex file for this routine was loaded in target,Execution control was coming out of routines sequence when routines where executed in target.
i tried to reduce the program size,just to conform is it due to large program size,but the response remained same !
i observed routines where coming out of sequence when "printf "statement was getting executing.
Now what step should i follow for debugging this problem ,Help!!
Thanks in advance !