Page 1 of 1

RC5 Crashing

Posted: Sun Jan 15, 2012 11:49 am
by JohnCrow
Hi
I'm currently developing a flowchart using the RC5 e-block.
I have found that I can read the data and process it correctly, but if I hold the key (any one) on the remote handset down for a couple of seconds the program crashes.
The lcd display goes blank and I have to reset the programmer.
I have got round this by having the enable & disable macros either side of the RC5 collect data macro.
My suspicions are by keeping the button pressed on the handset, I'm "filling the input buffer" on the RC5 macro.
This way I can keep the same button pressed and the data is transmitted correctly.

I would just like to know if my thoughts are along the right lines.
Thanks

Re: RC5 Crashing

Posted: Mon Jan 16, 2012 12:15 pm
by Benj
Hi John,

That's interesting, there is a while loop inside the RC5_CheckRX function which waits for the data to settle before it returns a value. I wonder if it is something to do with this. Glad you've got a workaround for it. I will have a dig in and see if I can get this sorted.

Any chance you can attach your program or send to me via a PM?