Page 1 of 1

Timer 2 in PIC 18F2550

Posted: Sat Aug 06, 2011 4:55 pm
by RobinCordell
I have developed an application using a PIC18F4455 on an EB006 that makes use of the Timer 2 module within the 4455. To convert this into a deliverable unit, I have built the circuit onto an Olimex PIC-P28 module and intended to use the PIC18F2550 (because I did not need the number of output pins on the 4455). However, when I modified my program to use the 2550, there was no Timer 2 available as an interrupt source. Is there an updated 2550 configuration file available?

Re: Timer 2 in PIC 18F2550

Posted: Sat Aug 06, 2011 10:21 pm
by medelec35
Hi Robin,

There is a small bug in 18F2550.fcd file which is located in C:\Program Files\Matrix Multimedia\Flowcode V4\FCD if 32 bit windows
or
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD if 64 Bit widows.

Just repaced the old 18F2550.fcd with attached corrected the file.

Would you mind letting me know if it works please.

You will need to close flowcode for updated file to take effect.


Martin

Re: Timer 2 in PIC 18F2550

Posted: Sun Aug 07, 2011 7:10 am
by jgu1
Hi Martin!

Is this for those who use C or for FC and is it a good idea for all to replace the FCD file, please.

Best regard

jgu1 :D

Re: Timer 2 in PIC 18F2550

Posted: Sun Aug 07, 2011 9:33 am
by medelec35
jgu1 wrote:Hi Martin!

Is this for those who use C or for FC and is it a good idea for all to replace the FCD file, please.

Best regard

jgu1 :D
Timer2 will still work,if you don't replace the current 18F2550.fcd
All the file does that I have posted, is allow TMR2 to appear as an interrupt source on the drop down list within interrupt component.
So Yes, if not using C it's a good idea for anyone who uses flowcode V4 to replace their existing 18F2550.fcd with the new modified one.

Martin

Re: Timer 2 in PIC 18F2550

Posted: Mon Aug 08, 2011 9:17 pm
by RobinCordell
Thanks Martin, that has sorted it out.

Re: Timer 2 in PIC 18F2550

Posted: Mon Aug 08, 2011 9:28 pm
by medelec35
Glad it works.
Thanks for letting us know.

Martin