Good luck reading the manual. Have a nice day.
On Thu, Oct 13, 2011 at 10:02 AM, Sujata Biradar
wrote:
> Hi,
> If you know any answers tell me , don’t tell any thing else..
>
> -Original Message-
> From: roelof 't Hooft
> Sent: Thursday, October 13, 2011 1:01 PM
> To: sdcc-user@lists.sou
What you do here is very dangerous.
You read some bytes from a rs485 and based on these bytes try to
overwrite memory in your device without any checks.
Any glitch in your serial line will corrupt your device in a most horrible way.
Also the logic is strange, the check
if (RS485_RX_BUFFER[4]==0)
d