Search found 39 matches

by psf
Tue Apr 19, 2022 5:43 pm
Forum: Flowcode V7
Topic: C icon with asm code
Replies: 8
Views: 13100

Re: C icon with asm code

Perfect, now asm block works and compilation in XC compiler is 1 seconds long instead of >1 min od boostC
by psf
Mon Apr 18, 2022 8:17 pm
Forum: Flowcode V7
Topic: C icon with asm code
Replies: 8
Views: 13100

Re: C icon with asm code

_asm movlw 0x88 movwf _intcon movlw 0x06 movwf _ioc sleep nop _endasm 809: _asm ^ (195) expression syntax EXAMPLE.c: 921: mainendloop: goto mainendloop; ^ (374) missing basic type; int assumed (warning) ^ (314) ";" expected 922: } ^ (285) no identifier in declaration ^ (374) missing basic type; int ...
by psf
Mon Apr 18, 2022 7:45 pm
Forum: Flowcode V7
Topic: C icon with asm code
Replies: 8
Views: 13100

Re: C icon with asm code

Yes, I know, but why should I use c if the description give also asm code?
by psf
Mon Apr 18, 2022 6:46 pm
Forum: Flowcode V7
Topic: C icon with asm code
Replies: 8
Views: 13100

C icon with asm code

Using Flowcode 7 with a simple c icon:
ASM sleep
is not compiled.
If I use flowcode 6 OK. The complier is different and slower but works. what about?
by psf
Mon Dec 28, 2015 7:15 pm
Forum: Flowcode V6
Topic: Constant array
Replies: 2
Views: 3275

Re: Constant array

You will need a C icon to get the value as well when using C code to declare the constants. C icons do not work in simulation, so you will not be able to use simulation. You can use lookup table to create an ROM array that will simulate using the component macros. It translates to a ROM array when ...
by psf
Sun Dec 27, 2015 10:48 pm
Forum: Flowcode V6
Topic: Constant array
Replies: 2
Views: 3275

Constant array

Hi, I discover how to declare an array as constant:

rom char* ARRAYCONST = {0x01,0x02,0x03,0x04,0x05,0x06};

into a "c icon", but how to recall the value into flowcode diagram?
by psf
Sat Aug 29, 2015 10:45 pm
Forum: Flowcode V6
Topic: Big licence upgrade problem
Replies: 4
Views: 3912

Re: Big licence upgrade problem

Same for me. Sent a PM.
by psf
Sun May 31, 2015 1:13 pm
Forum: Flowcode V5
Topic: New compiler for Flowcode
Replies: 3
Views: 5546

Re: New compiler for Flowcode

C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_SPI.c: FC_CAL_SPI_Master_Init_1() 234: SSPCON = prescale_1 & 0x03; ^ (192) undefined identifier "SSPCON" 235: SSPCON.CKP = (5 ^ 0x07) & 0x01; ^ (196) struct/union required 236: SSPSTAT.CKE = ((5 ^ 0x07) & 0x02) >> 1; ^ (196) struct/union required 237: SSP...
by psf
Sat May 30, 2015 9:20 pm
Forum: Flowcode V5
Topic: New compiler for Flowcode
Replies: 3
Views: 5546

Re: New compiler for Flowcode

Now I'm trying to use Mplab XC8 from microchip, the evolution of Hitech C. Any suggestion are welcome.Thanks :wink:
by psf
Wed May 13, 2015 9:38 pm
Forum: Flowcode V5
Topic: New compiler for Flowcode
Replies: 3
Views: 5546

New compiler for Flowcode

Hi everyone, I'm still using Flowcode 5 and every time my project become a bit complex, compile is too long, recompile on a 18F25K22 takes > 1 minute...
I know that Hitec C request a fraction but it's not so compatible. (too much error). Anyone found a better compiler/linker? Thanks in advance.
by psf
Sun Apr 19, 2015 8:57 pm
Forum: Flowcode V5
Topic: " character in strings
Replies: 2
Views: 3947

Re: " character in strings

Ok thanks
by psf
Sun Apr 19, 2015 10:02 am
Forum: Flowcode V5
Topic: " character in strings
Replies: 2
Views: 3947

" character in strings

Hi everyone, if I have to use in a string assignement the " character?

es. String1= "The man said "HELLO""
How could I do?
Thanks
by psf
Sat Oct 12, 2013 9:28 pm
Forum: Flowcode V6
Topic: Change language (where is the language pack)
Replies: 8
Views: 8214

Re: Change language (where is the language pack)

Need help for Italian translation?
by psf
Fri Aug 16, 2013 5:28 pm
Forum: Flowcode v6 Beta
Topic: Activation cannot be completed ! - Resolved
Replies: 15
Views: 16523

Re: Activation cannot be completed !

Same problem, I download the beta from new account but both online and manual activation doesn't work.
by psf
Mon Jul 30, 2012 10:39 pm
Forum: Flowcode V5 Issues
Topic: ADC module, about FVR option
Replies: 7
Views: 4785

Re: ADC module, about FVR option

Hi, Looking at the PIC_CAL_ADC.c file in component folder seems that it has to be changed quite a lot as FC is saying 16LF1903 as TYPE23 if you generate C code in FC you will see that in the beginning of pg. But in type 23 the chip is not included..in Type 23 two chips are 16F1826-27 which has FVR ...
by psf
Mon Jul 30, 2012 10:13 pm
Forum: Flowcode V5 Issues
Topic: 16F1826 16F1827 with I2C not compiling
Replies: 1
Views: 2786

Re: 16F1826 16F1827 with I2C not compiling

And if I want to use the PIC16LF1906 which hasn't SSPIF flag on PIR1, what should I do (without changing PIC). The software routine shouldn't work anyway in any PIC?
by psf
Mon Jul 30, 2012 6:12 pm
Forum: Flowcode V5 Issues
Topic: ADC module, about FVR option
Replies: 7
Views: 4785

Re: ADC module, about FVR option

It's the same of 16LF1903, I just modified FCD with the double amount of program memory... But I think the problem is on ADC module, I try to modify the "C" custom code, but as I don't know NOTHING about "C" ....
by psf
Mon Jul 30, 2012 5:12 pm
Forum: Flowcode V5 Issues
Topic: ADC module, about FVR option
Replies: 7
Views: 4785

Re: ADC module, about FVR option

Enamul wrote:Hi,
Please mention in which PIC you want to have this facility..I can modify the C file for you..
Enamul
16LF1906 (note that also datasheet are wrong for this new chip, in adcon1 register they report this combination as "reserved" but in other section of file FVR is present)
by psf
Mon Jul 30, 2012 4:42 pm
Forum: Flowcode V5 Issues
Topic: ADC module, about FVR option
Replies: 7
Views: 4785

ADC module, about FVR option

Hi, I need to select the FVR option on a PIC; in ADC conversion I want to enable the Fixed internal Voltage Reference but in ADC component settings I can select only VDD or Vref (external input). Reading datasheet I discovered that setting bit 0 of ADCON1 register, FVR will be enabled. How can I res...
by psf
Sat May 12, 2012 11:13 am
Forum: Flowcode V5 Issues
Topic: Pic 16LF1906
Replies: 9
Views: 7624

Re: Pic 16LF1906

Hi guys, after hours I found out a solution, SOURCEBOOST released V7.05.1 that support 16LF1906, I installed the lite version just to make some experiment and it work perfectly without any mistake. I hope it could be integrated in Flowcode because I read minor upgrades are free. Just a more suggesti...
by psf
Wed May 09, 2012 5:23 pm
Forum: Flowcode V5 Issues
Topic: Pic 16LF1906
Replies: 9
Views: 7624

Re: Pic 16LF1906

Hello, I think for HiTech you have to do assembler code like this. ASM("NOP"); Great! BUT Now HITECH discovered other 2 errors: Lcd3.c: main() 1720: INT0IE = 1; ^ (192) undefined identifier "INT0IE" Lcd3.c: myisr() 1848: if (ts_bit(INTCON, INT0IF) && ts_bit(INTCON, INT0IE)) ^ (192) undefined identi...
by psf
Wed May 09, 2012 2:47 pm
Forum: Flowcode V5 Issues
Topic: Pic 16LF1906
Replies: 9
Views: 7624

Re: Pic 16LF1906

So, installed HI tech c, but there is a problem with C icon: e.g. asm clrf _lcddata0 asm clrf _lcddata1 .... compiling with BOOSTC everything is ok but HItech tell me: 106: asm clrf _lcddata0 ^ (317) "(" expected ^ (318) string expected ^ (194) ")" expected ^ (312) ";" expected ..... and so on, many...
by psf
Tue May 08, 2012 10:07 am
Forum: Flowcode V5 Issues
Topic: Pic 16LF1906
Replies: 9
Views: 7624

Re: Pic 16LF1906

I use 1906 just for program memory, and I already bought it. I can use the other C compiler if it's ok. But another way: can we just manage 1903 in order to create a program for 1906. I don't need the EUSART, just LCD driver and the double program memory.
by psf
Sat May 05, 2012 2:34 pm
Forum: Flowcode V5 Issues
Topic: Pic 16LF1906
Replies: 9
Views: 7624

Pic 16LF1906

Hi everybody. As usually I'm going to "complicate" my life with a new Pic I discovered: 16LF1906. Flowcode actually support 16LF1903 that is quite similar (1906 have double program memory and EUSART which I don't use). So I try to update the .fcd file (flowcode discovered the new component) but prob...
by psf
Tue Nov 24, 2009 8:34 pm
Forum: Electronics products
Topic: Overheat Lm7805
Replies: 2
Views: 4517

Re: Overheat Lm7805

Unbelivable true, note that even a LM317 power regulator (and a rectifier with 4700microF capacitor) "create" a ripple. The voltage of power input should be 14,5 as described or 14 + 1.2 (0.6 X 2) of bridge rectifier? Thanks for help.