error to Hex

Forum for problems or queries regarding the Flowcode application and compiler usage.

Moderators: Benj, Mods

Post Reply
tibor
Posts: 10
Joined: Sun Apr 29, 2007 9:36 pm
Location: slovakia
Contact:

error to Hex

Post by tibor »

hello
I donΒ΄t know ,what I doing bad ,but when I want compile to chip /tutorial and own flow/ ,the program write me :

Launching the compiler...

C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "kompas1.c"

BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited


kompas1.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" D:\rapid-soft\kompas1.c -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F88 -la -c2 -o kompas1.pp -v -d _BOOSTC -d _PIC16

D:\rapid-soft\kompas1.c(468): error: failure

failure

....................
Return code = 1

or example :


C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "TUT_06.c"

BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited


TUT_06.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\Flowcode V3\Examples\TUT_06.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F88 -la -c2 -o TUT_06.pp -v -d _BOOSTC -d _PIC16

C:\Program Files\Matrix Multimedia\Flowcode V3\Examples\TUT_06.c(105): error: failure

failure

....................
Return code = 1

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: error to Hex

Post by Steve »

Please post your FCF and C files and we'll have a look.

tibor
Posts: 10
Joined: Sun Apr 29, 2007 9:36 pm
Location: slovakia
Contact:

Re: error to Hex

Post by tibor »

Hello Steve

Thank you for your interest
kompas.fcf
(13.5 KiB) Downloaded 367 times
kompas.c
(8.78 KiB) Downloaded 364 times
Thank you for your help
Best regards
Tibor

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: error to Hex

Post by Steve »

Hi Tibor,

I've had a look and I can compile your program (with Flowcode set to English or Slovak) without problem.

However, I can see where your program is failing. Here's an extract from the C file generated by you:

Code: Select all

	//Oneskorenie
	//Delay: 50 ms
	delay_ms(50);


	//Vola
	//Retazce - Svetove strany 
	//String Manipulation:
And here's how it is generated on my system:

Code: Select all

	//Oneskorenie
	//Delay: 50 ms
	delay_ms(50);


	//Volat Komponentu Makra
	//Call Component Macro: LCDDisplay(0)::Start
	FCD_LCDDisplay0_Start();


	//Retazce - Svetove strany 
	//String Manipulation:
The problem seems to be the comment "//VolaΕ¥ Komponentu Makra" which on my system gets converted to "//Volat Komponentu Makra" (specifically, the Ε¥ character).

This may happen on your system because the operating system is set to use a Slovak charset. This is difficult to test here.

For now, you may be able to manually alter these comments (i.e. the Display Name of the icon) manually within Flowcode.

I will look into this to see if there is a better solution.

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: error to Hex

Post by Steve »

Tibor,

Can you please check to see if you have the latest Flowcode files:

Flowcode.exe = v3.4.7.48, 24th April 2008, 14:50:40
FlowENGB.dll = v3.4.7.48, 7th April 2008, 09:42:14
FlowSK.dll = v3.4.7.48, 7th April 2008, 09:42:27

Post Reply