PIC16F689 timer2 compiling errors

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
Jörg Güldner
Posts: 75
Joined: Wed Jun 22, 2011 3:32 pm
Contact:

PIC16F689 timer2 compiling errors

Post by Jörg Güldner »

Hello Matrix team,
compiling with the PIC16F689 is not correct working. I erased block to block and found out, that timer2 was the problem.
An empty program only with timer2 and the PIC16F690 compiles without errors. The same with PIC16F689 brings the errors back.
Can you have a look to this situation?


Thanks in advanced
Jorg

User avatar
LeighM
Matrix Staff
Posts: 2093
Joined: Tue Jan 17, 2012 10:07 am
Contact:

Re: PIC16F689 timer2 compiling errors

Post by LeighM »

Hi Jorg,
I've just had a look at the datasheet and it seems that PIC16F689 does not have a Timer2
Leigh

Jörg Güldner
Posts: 75
Joined: Wed Jun 22, 2011 3:32 pm
Contact:

Re: PIC16F689 timer2 compiling errors

Post by Jörg Güldner »

Hi Leigh,
you are right. I expected, that the fcdx-files contains the information for the choosed cpu.
So for future I can`t believe what flowcode presents in timers and interrupts. Is it right?


Best regards

Jorg

User avatar
Benj
Matrix Staff
Posts: 14929
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: PIC16F689 timer2 compiling errors

Post by Benj »

Hi Jorg,

The definition had a bug and the timer 2 options shouldn't have been there. I've removed the timer interrupt from the definition file now.
So for future I can`t believe what flowcode presents in timers and interrupts. Is it right?
In most cases what is shown to you should be valid for your chip, we spend a lot of time going through device definitions, getting them correct and adding features but there are a lot of devices. If you find anything else that looks incorrect then let us know and we can solve the problem for you.

Post Reply