I am newer to c8051f120. My problem is that i wrote the 4 bit LCD code its work nicly .When i switch off and switch ON the supply to devlopment board its giving error o/p i.e undefined symbole but once again i reset the microcontroller using hardware reset pin it gives correct output.What is the problem
It may be H/W problem
Hi,
When you switch ON your Development board ,the controller may not getting reset initially.May be your reset circuit is not working initially when power is ON .
Check feasibility,
Also,check xdata initialization.if you are not initialized it,please initialize with right values for xdata variables or registers.
Shahul