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:
PIC18F25k22 & RXINT Problem
Moderator: Benj
-
- Posts: 7
- Joined: Sun Jan 08, 2012 4:26 pm
- Has thanked: 3 times
PIC18F25k22 & RXINT Problem
- Attachments
-
- Comms_test.fcf
- (11.99 KiB) Downloaded 381 times
-
- Comms_test.png
- (28.04 KiB) Downloaded 1613 times
- 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: PIC18F25k22 & RXINT Problem
Hello,
Please can you try popping this file into your "Flowcode/v5/FCD" folder and restarting Flowcode.
Let me know how you get on.
Please can you try popping this file into your "Flowcode/v5/FCD" folder and restarting Flowcode.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Sun Jan 08, 2012 4:26 pm
- Has thanked: 3 times
Re: PIC18F25k22 & RXINT Problem
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
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
-
- Posts: 7
- Joined: Sun Jan 08, 2012 4:26 pm
- Has thanked: 3 times
Re: PIC18F25k22 & RXINT Problem
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
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
-
- Posts: 33
- Joined: Mon Jul 23, 2012 7:17 pm
- Location: Petaluma california USA
- Has thanked: 26 times
- Been thanked: 2 times
- Contact:
Re: PIC18F25k22 & RXINT Problem
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
Is FCD a valid file type?
MY pic version 5.5 only has .FCF
Re: PIC18F25k22 & RXINT Problem
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
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
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php