Thx for the reply.

But I think I'm going to use another method.
By connecting RTS to B0/INT I can easy toggle RTS HIGH and then LOW, after that sending the rs232 data. This will alert the pic to listen for any incomming data on RX port...



Now to next problem.

Code:


High led1
Pause 100
Low led1
SerOut2 PORTB.2,396,["Start"]

loop:
i = i + 1
IF i = 1000 Then High led2
IF i = 2000 Then
Low led2
i = 0
EndIF
goto loop

* There are some other code but I dont think its relevant in this matter..

I resently detected that the led2 in main loop does not always start flashing in the beginning (happens about ~ once of ten) . It can take up to 5-6 sec before it starts flashing. Is there some problem with the SerOut2 command? or pic damage?
Some other thing I was wondering, how often those a pic fail? I mean, can I run a loop like that (room temperature ~20C) in a month/year without a fail that cause a brake?