Bug with RC5 component and 24FJ64GB002

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Bug with RC5 component and 24FJ64GB002

Post by Mathy »

Hello,

I think there are some bugs on the RC5 component.
Im able to compile in "timer receive" mode but Im not in "interrupt mode"

And I am not able to make it working in 'timer receive" mode with my RC5 remote.
The "check rx" macro never report me any valid RC5 packets.

Is it possible to have a look at this one ?

Thank you,

Mathy

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Re: Bug with RC5 component and 24FJ64GB002

Post by Mathy »

Hello,

I have a Tektronix today !
There is a problem with the timing I think.

I have a 16Mhz crystal who works great.
I think I have well configure the fuse as you can see in my program file.
If I setup a RS232 component, Im able to read the data sent by the MCU with my terminal at the right baudrate.
If a setup an interrupt based on timer, I have the right frequency. ( 122 Hz in this case )
But a 2ms pause gives me 4 in real.

I think this problem affect the RC5 component.

Is it possible to have a look ?

Thank you.
Attachments
TEST_MM.fcfx
(6.82 KiB) Downloaded 217 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Bug with RC5 component and 24FJ64GB002

Post by Benj »

Hello,

Please could you try this updated FCD and see if it solves the problem. The file needs to be placed here "C:\Program Files (x86)\Flowcode 6\FCD\PIC16" before restarting Flowcode.
24FJ64GB002.fcdx
(35.43 KiB) Downloaded 218 times

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Re: Bug with RC5 component and 24FJ64GB002

Post by Mathy »

Hello Benj :)

Thank you for your time.
I don't know if the RC5 component works well now because I loose my RC5 remote :oops:

But now, the timing are correct :)

What do you change in the FCD file ( I didn't backup the original file ... ) ?
Thank you again.

I will let you know as soon as I found my remote.

Post Reply