Search found 7 matches

by vinctech
Tue Nov 20, 2018 10:45 pm
Forum: Flowcode V8
Topic: Precision of delay
Replies: 5
Views: 3164

Re: Precision of delay

Hi Benj, Thank you for the install help of the XC8 pro compiler; it works! An uninstall+reinstall of the original flowcode toolchain was required, but after that, the new compiler worked as expected. The delay time error (500ms timer) decreased/improved to 7% deviation (535 ms measured). I consider ...
by vinctech
Mon Nov 19, 2018 11:42 pm
Forum: Flowcode V8
Topic: Precision of delay
Replies: 5
Views: 3164

Re: Precision of delay

Hi Benj, - Increasing clockspeed gives no improvement (from 1MHz to 16MHz) - Disable Auto clear watchdog gives a slight improvement - Using XC8 pro trial: I installed and activated the compiler, but fail to get Flowcode using it. I searched the forum for directions, but cannot find a good set. Can y...
by vinctech
Mon Nov 19, 2018 11:22 am
Forum: Flowcode V8
Topic: Precision of delay
Replies: 5
Views: 3164

Precision of delay

Hi, I have a question on the precision of the standard delay block in FC8.1 FC8.1 PIC 16F1823 Internal oscillator, 1MHz (OSCCON=0x58) Clockspeed in FC8.1 Project Configuration: 1MHz I inserted a 'delay' function block of 500ms, (with no extra code in the project except for blinking a led). At runtim...
by vinctech
Tue Dec 27, 2016 10:05 pm
Forum: Flowcode V7
Topic: FC7 keeps writing default configuration
Replies: 7
Views: 5893

Re: FC7 keeps writing default configuration

Hi Martin,

Thank you so far! Currently I am experimenting with your suggestions (especially exploring the .c files) and logging screenshots, log-text-files etc.
When I have consistent results, I will report back...
by vinctech
Tue Dec 27, 2016 12:00 pm
Forum: Flowcode V7
Topic: FC7 keeps writing default configuration
Replies: 7
Views: 5893

Re: FC7 keeps writing default configuration

Hi, Following your suggestions, restoring clock calibration is feasible and has an acceptable workaround, if it is not automatically done by FC7 or mLoader. The main and most disturbing issue remains, that configuration changes (clock source, WDT, Code protection, MR source, etc, etc) are not sent t...
by vinctech
Sat Dec 24, 2016 11:48 am
Forum: Flowcode V7
Topic: FC7 keeps writing default configuration
Replies: 7
Views: 5893

Re: FC7 keeps writing default configuration

Hi QMESAR, I am using the internal oscillator indeed. I did not write the OSCON bits specifically, for two reasons: 1. I assume that, because both FC7 and mLoader know the device number, they automatically read the OSCON bits beforehand and write them back at flashing time. 2. Because my application...
by vinctech
Sat Dec 24, 2016 3:09 am
Forum: Flowcode V7
Topic: FC7 keeps writing default configuration
Replies: 7
Views: 5893

FC7 keeps writing default configuration

Hi, My setup: FlowCode7.1.1.0 professional, mLoader version 3.4.1.0 Programmer: EB-006-00-9 Project: device series PIC 16F, device PIC 16F630 compiler: Microchip MPLAB XC8 C Compiler (Free Mode) V1.38 My problem is the writing of the configuration word to the device. No matter what configuration cha...