Page 1 of 1

PIC18F25k22 & RXINT Problem

Posted: Fri Nov 30, 2012 2:05 pm
by Muppetmaster
Hi Guys,
Processor Pic18f25k22
Flowcode V5.4.00 (03.08.2012)

I have a problem relating to the RS232 communications ports and the RXINT function.

The problem I have is that the RXINT function does not seem to work on this processor in flowcode on the two communications ports, I have tested with a logic analyser and although the signals are getting to the processor the processor is not responding to the interrupt.

To test this I toggled a bit on port C (bit 1) when responding to the interrupt in the interrupt routine but clearly the interrupt is not being serviced as port C bit 1 does not toggle.

I do toggle the bit on port C before waiting for the received chars to ensure that the bit was in fact being toggled.

I’m attaching a simple program which I used to fault find along with a screen capture of the logic analyser showing that the bit is not being toggled and therefore the interrupt is not being serviced.

Could you take a look please as this problem stops me moving forward on the project?

Regards
Aj

The simple test flowcode:

Re: PIC18F25k22 & RXINT Problem

Posted: Fri Nov 30, 2012 2:25 pm
by Benj
Hello,

Please can you try popping this file into your "Flowcode/v5/FCD" folder and restarting Flowcode.
18F25K22.fcd
(23.55 KiB) Downloaded 387 times
Let me know how you get on.

Re: PIC18F25k22 & RXINT Problem

Posted: Fri Nov 30, 2012 2:33 pm
by Muppetmaster
Hi Benj,

Wow that was fast...
Unfortunatly I'm now away from the development PC, will get to it later today or over the weekend and get back to you.

Many thanks for such a quick responce.

Regards
Aj

Re: PIC18F25k22 & RXINT Problem

Posted: Sun Dec 02, 2012 2:47 pm
by Muppetmaster
Hi Benj,

Ok, tested after downloading the file, the interrupt is now working and I'm receiving chars from the interrupt routine.

Once again, many thanks for such a quick responce to my problem.

Kind regards
Aj

Re: PIC18F25k22 & RXINT Problem

Posted: Thu Feb 21, 2013 1:39 am
by markus747
I was not able to open file 18F25k22 File extension FCD?
Is FCD a valid file type?
MY pic version 5.5 only has .FCF

Re: PIC18F25k22 & RXINT Problem

Posted: Thu Feb 21, 2013 9:01 am
by dazz
Hi Marcus

FCD files need to be placed in the following folder 64bit windows C:\Program Files (x86)\Flowcode\v5\FCD or 32bit windows C:\Program Files\Flowcode\v5\FCD

Regards
Dazz