sathiya.ks@tekbridge.in
Newbie level 6
hello all,
As a part of my project I am using 16X2 LCD interfaced with pic18f2220. I wrote the code asusual and simulated in MPLAB simulator. It works fine. But, when I load the HEX file in the OSHONsoft pic18f simulator, it says STACK UNDERFLOW and stops.
When I dig the code and what I found was, the parameters are not passing properly to functions. I didnot check the code in the hardware, but confused with this error. Even I loaded the existing code for LCD in C18 compiler.. same error.
can anyone help..?
any suggestion will be appreciated... :-|
As a part of my project I am using 16X2 LCD interfaced with pic18f2220. I wrote the code asusual and simulated in MPLAB simulator. It works fine. But, when I load the HEX file in the OSHONsoft pic18f simulator, it says STACK UNDERFLOW and stops.
When I dig the code and what I found was, the parameters are not passing properly to functions. I didnot check the code in the hardware, but confused with this error. Even I loaded the existing code for LCD in C18 compiler.. same error.
can anyone help..?
any suggestion will be appreciated... :-|