Page 1 of 1

PIC16F689 timer2 compiling errors

Posted: Wed Oct 17, 2018 7:39 pm
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

Re: PIC16F689 timer2 compiling errors

Posted: Fri Oct 26, 2018 3:00 pm
by LeighM
Hi Jorg,
I've just had a look at the datasheet and it seems that PIC16F689 does not have a Timer2
Leigh

Re: PIC16F689 timer2 compiling errors

Posted: Mon Oct 29, 2018 9:25 am
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

Re: PIC16F689 timer2 compiling errors

Posted: Mon Oct 29, 2018 10:39 am
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.