Timer interrupts missing on V5.0 - V5.2 12F series

Moderator: Benj

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8542
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2456 times
Been thanked: 3528 times
Contact:

Timer interrupts missing on V5.0 - V5.2 12F series

Postby medelec35 » Mon May 07, 2012 8:22 pm

Attached are some FCD files that will enable timer interrupts on some 12F series targets
E.g with 12F675 Timer 1 is not selectable

With 12F615 & 12F617 timers 1 & 2 are not selectable.

If 64bit windows go to C:\Program Files (x86)\Flowcode\v5\FCD
or
If 32bit windows go to C:\Program Files\Flowcode\v5\FCD

Repace existing files with ones attacted.

Martin
Attachments
12F615.fcd
(9.53 KiB) Downloaded 153 times
12F617.fcd
(9.88 KiB) Downloaded 137 times
12F675.fcd
(7.03 KiB) Downloaded 176 times
These users thanked the author medelec35 for the post (total 3):
BChappy (Tue May 08, 2012 8:38 am) • DavidA (Tue May 08, 2012 8:54 am) • Benj (Tue May 08, 2012 10:29 am)
Rating: 15.79%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

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

Re: Timer interrupts missing on V5.0 - V5.2 12F series

Postby Benj » Tue May 08, 2012 4:08 pm

Thanks Martin,

I have added these missing interrupts to the FCD generator so the fixes should be there next time.
These users thanked the author Benj for the post:
medelec35 (Tue May 08, 2012 4:38 pm)
Rating: 5.26%
 

Chet
Posts: 61
Joined: Thu Oct 13, 2005 5:05 am
Location: USA
Has thanked: 2 times
Contact:

Re: Timer interrupts missing on V5.0 - V5.2 12F series

Postby Chet » Fri Jun 08, 2012 4:25 am

Could you help me with a fix for the 12F683 I need Timer1 to work in the worst way, thanks!

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

Re: Timer interrupts missing on V5.0 - V5.2 12F series

Postby Benj » Fri Jun 08, 2012 12:04 pm

Hello Chet,

Please can you give the attached v5 FCD file a go and let me know how you get on.
Attachments
12F683.fcd
(9.6 KiB) Downloaded 138 times

Chet
Posts: 61
Joined: Thu Oct 13, 2005 5:05 am
Location: USA
Has thanked: 2 times
Contact:

Re: Timer interrupts missing on V5.0 - V5.2 12F series

Postby Chet » Fri Jun 08, 2012 3:25 pm

Thank you! I got it loaded will test with some code later. Off topic but can I copy and paste code from one FC macro into another without issues?

Chet
Posts: 61
Joined: Thu Oct 13, 2005 5:05 am
Location: USA
Has thanked: 2 times
Contact:

Re: Timer interrupts missing on V5.0 - V5.2 12F series

Postby Chet » Sat Jun 09, 2012 6:31 am

It works! I actually ended up using TMR2 as TMR1 has no resemblance to TMR0. On a side note, It seems that in View Chip mode, pin simulation does not match LED activity on a given pin. Thank you.