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

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

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

Post by medelec35 »

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.26 KiB) Downloaded 293 times
12F617.fcd
(9.6 KiB) Downloaded 289 times
12F675.fcd
(6.82 KiB) Downloaded 328 times
Martin

User avatar
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: Timer interrupts missing on V5.0 - V5.2 12F series

Post by Benj »

Thanks Martin,

I have added these missing interrupts to the FCD generator so the fixes should be there next time.

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

Post by Chet »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post by Benj »

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.32 KiB) Downloaded 283 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

Post by Chet »

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

Post by Chet »

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.

Post Reply