I just upgraded to Flowcode Version 5. To check out the new program, I opened a flowchart that worked well in Version 4.5, all looked good on the screen. I tried to load the flowchart into the PIC18F4550 and got the following failure message.
FlowcodeV5 IRCB 2012-01-16.c
Starting preprocessor: C:\PROGRA~1\Flowcode\v5\Tools\boostc\pp.exe "FlowcodeV5 IRCB 2012-01-16.c" -i C:\PROGRA~1\Flowcode\v5\Tools\boostc\include -d _PIC18F4550 -la -c2 -o "FlowcodeV5 IRCB 2012-01-16.pp" -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_ADC.c(1588): Illegal symbol name: (
1 errors detected
Error: preprocessing error
failure
..Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
I checked the chip settings and the compiler options. They all looked the same as with Version 4.5. I could not find any reference to "Illegal symbol name" on the forums.
Any and all help is greatly appreciated.
Mac
Illegal symbol name
Moderator: Benj
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Illegal symbol name
Hi Mac
Can you post you flowchart so someone can have a look at it?
Can you post you flowchart so someone can have a look at it?
1 in 10 people understand binary, the other one doesn't !
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Illegal symbol name
The .c code file that has been generated will be good as well.
EDIT: Actually, just noticed where the error is: PIC_CAL_ADC.c Dont worry about the C code (unless its handy), this can be looked into without this.
Jonny
EDIT: Actually, just noticed where the error is: PIC_CAL_ADC.c Dont worry about the C code (unless its handy), this can be looked into without this.
Jonny
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Illegal symbol name
Hi. I'm sure someone will be able to add an official fix for this tomorrow, but if you need to get on with your work and this is holding things up:
I hope this helps,
Jonny
- Navigate to the folder with the Flowcode5_PIC.exe in it (C:\Program Files\Flowcode\v5, I think)
- From there, open the CAL\PIC\PIC_CAL_ADC.c file in a text editor (notepad.exe should be fine)
- On line 1588 you should see: #ifdef (MX_ADC_BITS_12)
- Remove the brackets so the line reads: #ifdef MX_ADC_BITS_12
- Save the file and rebuild your project
I hope this helps,
Jonny
-
- Flowcode V4 User
- Posts: 23
- Joined: Mon Jul 18, 2011 8:31 pm
- Has thanked: 6 times
- Been thanked: 2 times
- Contact:
Re: Illegal symbol name
Thank you Jonny,
I'm reluctant to post the flowchart for proprietory reasons.
Mac
I'm reluctant to post the flowchart for proprietory reasons.
Mac
-
- Flowcode V4 User
- Posts: 23
- Joined: Mon Jul 18, 2011 8:31 pm
- Has thanked: 6 times
- Been thanked: 2 times
- Contact:
Re: Illegal symbol name
Jonny,
That fixed the loading problem, but now some of the flowchart functions don't work. I'll have to look into it and get back to the forum a little later.
Thanks again.
Mac
That fixed the loading problem, but now some of the flowchart functions don't work. I'll have to look into it and get back to the forum a little later.
Thanks again.
Mac
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Illegal symbol name
Hi Mac. No problems. Keep us posted on any issues you find - it is expected that there are some minor issues with the initial release but nothing major that should halt work. Most v4 flowcharts should load and work in v5 no problems but there are always corner cases we have not tested or did not expect. Any issues you do get and report we will sort as quickly as possible.
Jonny
Jonny
-
- Flowcode V4 User
- Posts: 23
- Joined: Mon Jul 18, 2011 8:31 pm
- Has thanked: 6 times
- Been thanked: 2 times
- Contact:
Re: Illegal symbol name
Hi Jonny,
After you helped me fix the "Illegal symbol name" problem, I noted that some of the hardware functions didn't seem to work properly. I think this subject would best fit in the Re: V5 Upgrade thread, so I'll post it there.
Thanks again, Mac
After you helped me fix the "Illegal symbol name" problem, I noted that some of the hardware functions didn't seem to work properly. I think this subject would best fit in the Re: V5 Upgrade thread, so I'll post it there.
Thanks again, Mac