Search found 69 matches

by gtc
Wed Jul 22, 2015 6:01 pm
Forum: C and ASM Programming
Topic: How to suppress unwanted compiler/linker warning messages?
Replies: 2
Views: 10241

Re: How to suppress unwanted compiler/linker warning message

Any chance of getting Source Boost Technologies to provide a means?
by gtc
Wed Jul 22, 2015 5:16 pm
Forum: C and ASM Programming
Topic: How to suppress unwanted compiler/linker warning messages?
Replies: 2
Views: 10241

How to suppress unwanted compiler/linker warning messages?

How can I suppress the generation of these numerous 'unreferenced functions removed' warning messages from the BoostC compiler/linker. I really don't need to know any of this: Warning unreferenced functions removed: FC_CAL_Port_In__x in: C:\Program Files\Flowcode 6\CAL\PIC\PIC_CAL_IO.c FC_CAL_Port_O...
by gtc
Wed Jul 22, 2015 4:34 pm
Forum: General Programming
Topic: OSC configure options for 16F88 internal clock?
Replies: 4
Views: 4781

Re: OSC configure options for 16F88 internal clock?

Hello, This wiki page should help. http://www.matrixtsl.com/wiki/index.php?title=Internal_Oscillator Hello, Yes, I saw that page earlier, where is says: "The configuration settings will also need to be edited from the default HS type oscillator to the IntOsc setting". However (in V6 at least) there...
by gtc
Wed Jul 22, 2015 4:19 pm
Forum: General Programming
Topic: OSC configure options for 16F88 internal clock?
Replies: 4
Views: 4781

OSC configure options for 16F88 internal clock?

My requirement is to operate a PIC16F88 at 8MHz internal clock. I'm trying to make sense of Flowcode's Project Options --> Configure options for "Oscillator Selection", which are: EXTRC as Clock Out EXTRC as Port I/O INTRC as Clock Out INTRC as Port I/O EXTCLK as Port I/O LP XT HS Fairly obviously t...
by gtc
Wed Jul 22, 2015 3:07 pm
Forum: General Programming
Topic: Please explain -- Caution: Delay inaccurate: 'delay_ms'
Replies: 1
Views: 2705

Re: Please explain -- Caution: Delay inaccurate: 'delay_ms'

I have found the answer to my own question.

I needed to set the clock speed to 8000000 via the Project Options --> General Options tab.

8000000 was not in the clock speed drop down list so I had to key it in.
by gtc
Wed Jul 22, 2015 2:52 pm
Forum: Bug reports
Topic: Flowcode 6 wiki error -- "Internal Oscillator"
Replies: 2
Views: 2942

Re: Flowcode 6 wiki error -- "Internal Oscillator"

Thanks for the clarification.

Microchip and their confusing naming scheme. :evil:
by gtc
Wed Jul 22, 2015 2:20 pm
Forum: General Programming
Topic: Please explain -- Caution: Delay inaccurate: 'delay_ms'
Replies: 1
Views: 2705

Please explain -- Caution: Delay inaccurate: 'delay_ms'

Would someone please explain this compiler diagnostic, please:
Caution: Delay inaccurate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00016ms, Delay resolution:1 units
Target chip is PC16F88
osccon = 0x78; // Set INTRC to 8MHZ

Is there a configuration setting I have missed somewhere?
by gtc
Wed Jul 22, 2015 7:55 am
Forum: Bug reports
Topic: Flowcode 6 wiki error -- "Internal Oscillator"
Replies: 2
Views: 2942

Flowcode 6 wiki error -- "Internal Oscillator"

Flowcode 6 wiki says: For the PIC16 and AVR use the register name in all upper case. e.g. "OSCCON" ... yet the screenshots show it as "osccon" in lower case. I am using a PICF88 chip with Flowcode version 6.1.2.0 If I use upper case OSCCON I get the notorious Error Return 1 message from the BoostC c...
by gtc
Fri Jul 10, 2015 3:58 pm
Forum: Bug reports
Topic: Problem with Mid$
Replies: 5
Views: 5398

Re: Problem with Mid$

medelec35 wrote:Since arrays start at 0 and not 1 ...
Hi Martin,

Thanks. I had missed that point hidden in the example.

Matrix: please update that Wiki text entry to make clear the specific point that string arrays commence at position zero.
by gtc
Fri Jul 10, 2015 1:29 pm
Forum: Bug reports
Topic: Problem with Mid$
Replies: 5
Views: 5398

Re: Problem with Mid$

Hi,

Seems I was a tad dyslexic when I typed the above. In fact I am using version 6.1.2.0 (11.5.2015).

If you run my sample program under debug and step through the loop while watching the variables in the simulation window, you'll see what I mean.
by gtc
Thu Jul 09, 2015 3:17 pm
Forum: Bug reports
Topic: Problem with Mid$
Replies: 5
Views: 5398

Problem with Mid$

According to the documentation: Mid$(string,start,size) Retrieves a substring from the string, starting at position start of size characters. However, when I use Mid$ in Flowcode 6.0.2.1, as follows, where string A[20] has the value "123456789" : Result = Mid$ (A,X,1) Result[20] string receives the ...
by gtc
Wed Jul 08, 2015 10:32 am
Forum: C and ASM Programming
Topic: boostc_16F.exe reported error code 1 -- one cause
Replies: 0
Views: 8426

boostc_16F.exe reported error code 1 -- one cause

I have found a few postings on this forum about this particularly unhelpful message from the BoostC compiler: C:\Program Files\Flowcode 6\compilers\pic\boostc\boostc_16F.exe reported error code 1 It appears that there are numerous causes for "error code 1" and, after a lot of wasted time, I have fou...
by gtc
Fri May 08, 2015 5:56 am
Forum: Bug reports
Topic: Flowcode v6.1.1.0 -- won't generate hex code
Replies: 6
Views: 6220

Re: Flowcode v6.1.1.0 -- won't generate hex code

Okay, problem solved. While looking over his shoulder, I got my friend to uninstall Flowcode and then use Regedit to find and delete any remaining references to 'Flowcode' in the Windows Registry -- and there were lots of remaining references. Then we reinstalled Flowcode and it worked perfectly. So...
by gtc
Fri May 08, 2015 1:26 am
Forum: Bug reports
Topic: Flowcode v6.1.1.0 -- won't generate hex code
Replies: 6
Views: 6220

Re: Flowcode v6.1.1.0 -- won't generate hex code

Just to reiterate: it's not my PC, nor is it my actual problem. (I am playing the translator role for a friend whose written English is not strong.) I have observed that the hex file generate step is not occurring regardless of where the source folder/directory resides on his PC. The Windows file se...
by gtc
Thu May 07, 2015 2:03 am
Forum: Bug reports
Topic: Flowcode v6.1.1.0 -- won't generate hex code
Replies: 6
Views: 6220

Re: Flowcode v6.1.1.0 -- won't generate hex code

Thanks for the reply. I checked the compiler and linker parameters before posting on here, and they were DEFAULT. My friend has re-installed Flowcode, too. Here is the msg.txt file contents: === Target folder: C:\Users\ADMINI~1\Desktop Source name: C:\Users\Administrator\Desktop\QuickTest.fcfx Title...
by gtc
Wed May 06, 2015 9:07 am
Forum: Bug reports
Topic: Flowcode v6.1.1.0 -- won't generate hex code
Replies: 6
Views: 6220

Flowcode v6.1.1.0 -- won't generate hex code

Am trying to help a friend solve this problem. Chip is 16F88 OS is Windows 8.1 Pro Flowcode version 6.1.1.0 (fully licensed) When he uses the Compile to Hex command, the log file reports " success " but only these 3 files are created: X.c X.obj X.msg.txt I can find no error report. He has tried both...
by gtc
Mon Mar 23, 2015 11:53 pm
Forum: Flowcode V6
Topic: Custom Objects
Replies: 2
Views: 2624

Re: Custom Objects

Any progress with this? I would also like to use a rotary switch component.
by gtc
Mon Mar 23, 2015 11:49 pm
Forum: General Programming
Topic: Activation Problem
Replies: 3
Views: 4891

Re: Activation Problem

UPDATE: Resolved problem via email with David A. Thanks.

Suggest that Matrix puts a Registration Help button on the registration key screen.
by gtc
Mon Mar 23, 2015 5:40 am
Forum: General Programming
Topic: Activation Problem
Replies: 3
Views: 4891

Re: Activation Problem

I am having the same problem as the OP. Downloaded the trial version of V6 from Matrix website, installed it and am now stuck at the licence activation screen. My experience with trial versions of software is that they either automatically activate, time out at the end of the trial period and THEN r...