Hi all,
I'm using 89C52 controller in my application. I'm using a 90 byte buffer to store received message from UART. Based on this received message I'm controlling I/O ports. The same buffer I'm using for transmitting the application dependent internal status message.
To identify the message I'm using absolute address position for example, if(arr[59] == '*'){do something;}
every first message after reset this is working fine. After that the control hangs somewhere thus its giving undetermined behavior.
I set the memory model as Large: all variables in XDATA.
I hope some address overflow is happening here.
Can anyone help me to resolve this issue.
Thanks in Advance.
Regards, Ramesh
Exactly why would screaming help?
Anyway - do not use variable names arr and arr1. They are meaningless. What are the buffers? rx_buf[] and tx_buf[] or do you have two two receive buffers?
Please see my code in the previous thread.
Thanks
SEE
(i=0;i<=35;i++)
BUFFER IS
xxx[35]
YOU ARE GOUNNG TOOO FAR!
Anyway - do not use variable names arr and arr1. They are meaningless.
... unless you're a pirate.
YOURE POSTED CODE IS STILL WRON GSEE MY LAST ANSWRE!
Please post a link to your previous thread then. There is no button to move to the next/previous thread written by you.