Page 1 of 1
for help
Posted: Fri Oct 21, 2011 11:59 pm
by nnnnff
When V4 software choose language as "Chinese simplified", if the application in appeared "connection" figure operator program, the compiler will not pass, must fail!!!!! This is a very deadly bug in Chinese schools for the students to use.
Re: for help
Posted: Sat Oct 22, 2011 7:34 am
by medelec35
hi nnnnff,
Have you tried on a PC that't set to Chinese?
This is only a complete guess so I could be wrong and maybe a bug?
I believe what's happening is:
If trying an a PC which has not got Chinese fonts but only displaying English, then when compiling to hex the word Main (but in Chinese) is not recognised since fonts used can't create the word main in Chinese.
If you have access to a pc that's set to Chinese language then would you mind testing my theory please?
Martin
Re: for help
Posted: Sat Oct 22, 2011 11:24 am
by nnnnff
I'm a Chinese university teachers, using the PC is the Chinese system, so find the deadly bug. Please help me. Thank you!
Re: for help
Posted: Sat Oct 22, 2011 1:20 pm
by allpicproject
nnnnff wrote:I'm a Chinese university teachers, using the PC is the Chinese system, so find the deadly bug. Please help me. Thank you!
Hi,
Can you upload the file if you don't mind ? Let me try.
Tq.
Re: for help
Posted: Sat Oct 22, 2011 2:16 pm
by nnnnff
An example problem
Re: for help
Posted: Sat Oct 22, 2011 2:54 pm
by allpicproject
Hi,
I'm not sure if it's flowcode bug or something else. I'm not use chinese version window.
Base on C file , suspect there something wrong within the main() function .
Code: Select all
void main()
{
//Initialisation
ansel = 0;
cmcon = 0x07;
//Interrupt initialisation code
option_reg = 0xC0;
//???
//Connection Point: [A]: A
FCC_???_A:
;
//??
//Output: 1 -> A0
trisa = trisa & 0xfe;
if (1)
porta = (porta & 0xfe) | 0x01;
else
porta = porta & 0xfe;
//????
//Goto Connection Point: [A]: A
goto FCC_???_A;
mainendloop: goto mainendloop;
}
void MX_INTERRUPT_MACRO(void)
{
}
I tried some alternative ( make a new makro ) and it no problem ( using english window version ) and compiled perfectly.
Code: Select all
Launching the linker/assembler...
c:\program files\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Flowcode1-zuki.obj" -t PIC16F88 -d "C:\Users\zuki\Downloads" -p "Flowcode1-zuki"
BoostLink Optimizing Linker Version 7.03
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Warning: function never returns: 'FCM_Test2'
Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:36 bytes (9.8%), free:332 bytes (90.2%),
Heap size:332 bytes, Heap max single alloc:110 bytes
ROM available:4096 words, used:89 words (2.2%), free:4007 words (97.8%)
success
Return code = 0
FINISHED
Re: for help
Posted: Sun Oct 23, 2011 12:07 am
by nnnnff
Choose English, compiled without problems.
Just in the choice of Chinese have compiled.
Ask for help. thank you
Re: for help
Posted: Wed Oct 26, 2011 2:21 pm
by Steve
This is a known problem with the Chinese version of Flowcode v4. Basically, using a "connection point" in the "Main" flowchart will cause this problem.
This will be fixed in Flowcode V5. For a workaround, you can use the attached file. Unzip the attachment and copy it into your Flowcode directory. You may want to make a copy of the original FlowZHCN.dll file as a backup.
Re: for help
Posted: Wed Oct 26, 2011 11:38 pm
by nnnnff
Steve wrote:This is a known problem with the Chinese version of Flowcode v4. Basically, using a "connection point" in the "Main" flowchart will cause this problem.
This will be fixed in Flowcode V5. For a workaround, you can use the attached file. Unzip the attachment and copy it into your Flowcode directory. You may want to make a copy of the original FlowZHCN.dll file as a backup.
Steve
Thank you very much. I hope to have the opportunity to meet you. I wish you a happy happy!