for help
Moderator: Benj
for help
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.
- Attachments
-
- Problem figure
- Problem figure.JPG (40.01 KiB) Viewed 5415 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: for help
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
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
Martin
-
- Flowcode V4 User
- Posts: 36
- Joined: Thu Sep 01, 2011 11:10 am
- Has thanked: 17 times
- Been thanked: 1 time
Re: for help
Hi,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!
Can you upload the file if you don't mind ? Let me try.
Tq.
Re: for help
An example problem
- Attachments
-
- Flowcode1.fcf
- An example problem
- (3.5 KiB) Downloaded 238 times
-
- Flowcode V4 User
- Posts: 36
- Joined: Thu Sep 01, 2011 11:10 am
- Has thanked: 17 times
- Been thanked: 1 time
Re: for help
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 .
I tried some alternative ( make a new makro ) and it no problem ( using english window version ) and compiled perfectly.
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)
{
}
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
- Attachments
-
- Flowcode1-zuki.fcf
- (4 KiB) Downloaded 239 times
- Steve
- Matrix Staff
- Posts: 3431
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: for help
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.
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.
- Attachments
-
- FlowZHCN.zip
- (966.22 KiB) Downloaded 1500 times
Re: for help
SteveSteve 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.
Thank you very much. I hope to have the opportunity to meet you. I wish you a happy happy!