" SAME CODE BUT NO OUTPUT " I have the same code taken from another PC for C8051F060 with Keil uV 4 compiler version 9.01 , i am compiling the same code with version 9.03, the lcd is not working accordingly. Getting correct functionality with first case, checked on another PC too but problem still exists. checked after reinstalling the Keil too. checked with Keil uV 5 v9.59 too. What could be the possible solution to this??
Thanks!
1. Debug your code;
2. Fix the problems(s) that you find.
www.avrfreaks.net/.../2418156
it is so easy to blame the compiler when something does not work after an upgrade, but in 99% of the cases it is your fault. A compiler upgrade may e.g. reveal a timing error that just manages to squeeze by till the updated compiler makes your code run a tad faster.
Indeed - it is usually down to a "latent" fault which just happened not to manifest any symptoms - or, at least, none that you noticed.
As Erik says, timing would be the prime suspect.
Different memory layout would be another.
Also, Options & settings may change - make sure you have them all correct!