Timer 2 in PIC 18F2550
Moderator: Benj
-
- Flowcode V4 User
- Posts: 15
- Joined: Fri Mar 12, 2010 9:37 pm
- Has thanked: 4 times
- Contact:
Timer 2 in PIC 18F2550
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?
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Timer 2 in PIC 18F2550
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
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
- Attachments
-
- 18F2550.fcd
- (13.67 KiB) Downloaded 261 times
Martin
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Timer 2 in PIC 18F2550
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
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
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Timer 2 in PIC 18F2550
Timer2 will still work,if you don't replace the current 18F2550.fcdjgu1 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
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
- Attachments
-
- Selection choices after replacing 18F2550.fcd with attached file
- TMR2 selection bug.jpg (141.1 KiB) Viewed 3932 times
Last edited by medelec35 on Mon Aug 08, 2011 9:27 pm, edited 1 time in total.
Martin
-
- Flowcode V4 User
- Posts: 15
- Joined: Fri Mar 12, 2010 9:37 pm
- Has thanked: 4 times
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact: