so many problems .

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
User avatar
stevebeale
Posts: 12
Joined: Tue Jul 18, 2017 11:50 pm
Location: Licolnshire
Has thanked: 3 times
Been thanked: 2 times
Contact:

so many problems .

Post by stevebeale »

Hi all i am having a night mare trying to get FC8 working, i have tried all the stated things moving directories even changing the file spec to 8.3
nothing seems to sort out the problem.
follow link

<LINK REMOVED>

Ben i have no clues were to look or try.
steve

Link content text pasted:

Hi liam
Sorry again but I cant post all this on the forum its to complicated.
I have tried mod’ing the registry to enable 8.3 file handling this made no difference at  all.
I reinstalled the compilers to C:/flowcode/common/compilers
-->No difference
Im getting errors with all the pic compilers apart from 8cx which uses my pro version by default I cant change that.
But even the pro xc8 still wont work with the Microchip templates low pin count o rPickit 44pin demo.
But if I create a project using the 16f829 (chip in the low pin count) its fine as is the pickit chip 18f4k20.
 
So here is where im at.
Cannot compile anything with the Pic16 or Pic32 compilers and I uninstalled all other xc compilers from the pc.(my microchip mplabx)
Ih have tried all the mentions as far as I can see on the forum and from all the other various forums on compilers.
===========================================================================================================================================
This is pic16 any chip

Code: Select all

Target folder: C:\FLOWFI~1\pic16
Source name:   C:\flowfiles\pic16\16.fcfx
Title:         
Description:   
Device:        PIC16.24F.24F08KA101
Generated by:  Flowcode v8.0.0.6
Date:          Saturday, May 26, 2018 23:25:26
Users:         1
Registered to: stevebeale
License key: BWRNN3
   NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic16\C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat  "16" "C:\FLOWFI~1\pic16\" "24F08KA101"

ERROR: GetShortPathName(): The filename, directory name, or volume label syntax is incorrect.
 
ERROR: Can not launch process: The filename, directory name, or volume label syntax is incorrect.
 
 
C:\Flowcode\Common\Compilers\pic16\C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code -1
 
 
FINISHED

In the log above:

 

Code: Select all

C:\Flowcode\Common\Compilers\pic16\C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat  "16" "C:\FLOWFI~1\pic16\" "24F08KA101"

ERROR: GetShortPathName(): The filename, directory name, or volume label syntax is incorrect.
(THIS looks wrong the actual path is)
 
(C:\Flowcode\Common\Compilers\pic16)  is the actual path)
 


Pic32 error message
 

Code: Select all

Target folder: C:\FLOWFI~1\pic16
Source name:   C:\flowfiles\pic16\32.fcfx
Title:         
Description:   
Device:        PIC32.32MM.32MM0016GPL020
Generated by:  Flowcode v8.0.0.6
Date:          Saturday, May 26, 2018 23:30:47
Users:         1
Registered to: stevebeale
License key: BWRNN3
   NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic32\bin\xc32-gcc.exe  -mprocessor=32MM0016GPL020 -O1 -o "C:\FLOWFI~1\pic16\32.elf" "C:\FLOWFI~1\pic16\32.c"
xc32-gcc.exe: fatal error: selected multilib 'micromips' not installed
compilation terminated.
 
C:\Flowcode\Common\Compilers\pic32\bin\xc32-gcc.exe reported error code 255
 
 
 
FINISHED
 
Error from Pickit 44pin demo template only with FC8 ok on FC7
 
 

Code: Select all

 
Target folder: C:\FLOWFI~1\pic16
Source name:   C:\flowfiles\pic16\dem44template.fcfx
Title:         Microchip - DM164130-4 PICKit 44-Pin Demo Board
Description:   The default microcontroller for this template board is the PIC18F45K20, and is configured to 
               operate from the internal clock, at a frequency of 16 MHz.
               It features;
               1x Micro-switch; RB0
               8x LEDS; RD0-RD7
               1x Potentiometer; RA0
Device:        PIC.18F.Microchip PICkit 44Pin Demo Board
Generated by:  Flowcode v8.0.0.6
Date:          Saturday, May 26, 2018 23:32:37
Users:         1
Registered to: stevebeale
License key: BWRNN3
   NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic\bin\xc8.exe  --chip=18F45K20 "dem44template.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
 
Employing 18F45K20 errata work-arounds:
* No stopping on H/W breakpoints after NOP2
dem44template.c: __PROG_CONFIG()
    35:      __PROG_CONFIG(0x1, 0xF8FF);
                              ^ (194) ")" expected
    36:      __PROG_CONFIG(0x2, 0xFEFF);
                              ^ (194) ")" expected
    37:      __PROG_CONFIG(0x3, 0xFDFF);
                              ^ (194) ")" expected
    38:      __PROG_CONFIG(0x4, 0xFFBB);
                              ^ (194) ")" expected
    39:      __PROG_CONFIG(0x5, 0xFFFF);
                              ^ (194) ")" expected
    40:      __PROG_CONFIG(0x6, 0xFFFF);
                              ^ (194) ")" expected
    41:      __PROG_CONFIG(0x7, 0xFFFF);
                              ^ (194) ")" expected
(908) exit status = 1
(908) exit status = 1
 
C:\Flowcode\Common\Compilers\pic\bin\xc8.exe reported error code 1
 
 
 
FINISHED
 
Microchip low pin count template FC8 error
 
 

Code: Select all

Target folder: C:\FLOWFI~1\pic16
Source name:   C:\flowfiles\pic16\lowpincount-template.fcfx
Title:         Microchip - DM164130-9 PICKit Low Pin Count
Description:   This template allows users to quickly and simply get up and running with their hardware. 
               The default microcontroller for this template board is the PIC16F1829, and is configured to 
               operate from the internal clock, at a frequency of 32 MHz.
               It features;
               1x Micro-switch; RA2
               4x LEDS; RC0-RC3
               1x Potentiometer; RA4
Device:        PIC.16F.Microchip PICkit Low Pin Count Demo
Generated by:  Flowcode v8.0.0.6
Date:          Saturday, May 26, 2018 23:35:36
Users:         1
Registered to: stevebeale
License key: BWRNN3
   NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic\bin\xc8.exe  --chip=16F1829 "lowpincount-template.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
 
lowpincount-template.c: __PROG_CONFIG()
    36:      __PROG_CONFIG(0x1, 0x3FC4);
                              ^ (194) ")" expected
    37:      __PROG_CONFIG(0x2, 0x1FFF);
                              ^ (194) ")" expected
(908) exit status = 1
(908) exit status = 1
 
C:\Flowcode\Common\Compilers\pic\bin\xc8.exe reported error code 1
 
 
 
FINISHED
 
 
=======================================================================================================================
Pickit 44pin demo template only with on FC7  all ok
 

Code: Select all

 
Target folder: C:\FLOWFI~1\pic16
Source name:   C:\flowfiles\pic16\dem44template.fcfx
Title:         Microchip - DM164130-4 PICKit 44-Pin Demo Board
Description:   The default microcontroller for this template board is the PIC18F45K20, and is configured to 
               operate from the internal clock, at a frequency of 16 MHz.
               It features;
               1x Micro-switch; RB0
               8x LEDS; RD0-RD7
               1x Potentiometer; RA0
Device:        PIC.18F.Microchip PICkit 44Pin Demo Board
Generated by:  Flowcode v7.3.0.5
Date:          Saturday, May 26, 2018 23:38:00
Users:         1
Registered to: stevebeale
Licence key:   XWK4EU
   NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
c:\Program Files (x86)\Microchip\xc8\v1.45\bin\xc8.exe  --chip=18F45K20 "dem44template.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
 
Employing 18F45K20 errata work-arounds:
* No stopping on H/W breakpoints after NOP2
E:\Program Files (x86)\Flowcode 7\CAL\internals.c: 71: (1090) variable "_FCI_TMP_STR" is not used (warning)
E:\Program Files (x86)\Flowcode 7\CAL\internals.c: 72: (1090) variable "_FCI_TMP_INT" is not used (warning)
 
Memory Summary:
    Program space        used   178h (   376) of  7A00h bytes   (  1.2%)
    Data space           used     Eh (    14) of   5FFh bytes   (  0.9%)
    Configuration bits   used     7h (     7) of     7h words   (100.0%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    ID Location space    used     0h (     0) of     8h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   5A0h bytes   (  0.0%)
 
 
Launching the linker/assembler...
E:\Program Files (x86)\Flowcode 7\tools\DoNothing\DoNothing.exe  
 
 
FINISHED

Microchip low pin count template FC7 OK
 

Code: Select all

Target folder: C:\FLOWFI~1\pic16
Source name:   C:\flowfiles\pic16\lowpincount-template.fcfx
Title:         Microchip - DM164130-9 PICKit Low Pin Count
Description:   This template allows users to quickly and simply get up and running with their hardware. 
               The default microcontroller for this template board is the PIC16F1829, and is configured to 
               operate from the internal clock, at a frequency of 32 MHz.
               It features;
               1x Micro-switch; RA2
               4x LEDS; RC0-RC3
               1x Potentiometer; RA4
Device:        PIC.16F.Microchip PICkit Low Pin Count Demo
Generated by:  Flowcode v7.3.0.5
Date:          Saturday, May 26, 2018 23:44:45
Users:         1
Registered to: stevebeale
Licence key:   XWK4EU
   NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
c:\Program Files (x86)\Microchip\xc8\v1.45\bin\xc8.exe  --chip=16F1829 "lowpincount-template.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
 
E:\Program Files (x86)\Flowcode 7\CAL\internals.c: 72: (1090) variable "_FCI_TMP_INT" is not used (warning)
E:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_ADC.c: 53: (1090) variable "_tris_mask" is not used (warning)
E:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_ADC.c: 53: (1090) variable "_old_tris" is not used (warning)
E:\Program Files (x86)\Flowcode 7\CAL\internals.c: 71: (1090) variable "_FCI_TMP_STR" is not used (warning)
 
Memory Summary:
    Program space        used    A7h (   167) of  2000h words   (  2.0%)
    Data space           used    12h (    18) of   3F0h bytes   (  1.8%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   3EEh bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)
 
 
Launching the linker/assembler...
E:\Program Files (x86)\Flowcode 7\tools\DoNothing\DoNothing.exe  
 
 
FINISHED
 
I have done as much as my mega knowledge for a old 67 year old you younger guys must be able to work your magic
Please advise of any else I could try, still love the softwear  its just these BUGs  LOL  happy May break
Im gone
 
Steve  
Last edited by EtsDriver on Tue May 29, 2018 7:10 pm, edited 2 times in total.
Reason: It is not recommend to post your personal dropbox links for whole world. Tried to format message in way you had it in there!
Steve Beale

DanielM
Posts: 62
Joined: Mon Oct 23, 2017 9:54 am
Has thanked: 11 times
Been thanked: 22 times
Contact:

Re: so many problems .

Post by DanielM »

Hi Steve,

Sorry that you are experiencing issues. To start with, we'll try and resolve your issue with compiling to PIC16 devices:

There are two things we must check initially. Could you confirm the following for me? (assuming that your compiler is installed in "C:\Flowcode\Common\Compilers\pic16").

1) Open regedit.exe (open your Start Menu and type "regedit") and then navigate to the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\MatrixTSL\Flowcode\Common". Please confirm that the entry Compiler_pic16 is set to "C:\Flowcode\Common\Compilers\pic16" (without the quotes).

2) In Flowcode, select BUILD from the menu, and go to Compiler Options. Under PIC16 on the left hand pane, please select Default. On the Compiler tab in the middle section of the window, please check that the Location field is set to "$(compilerpic16)batchfiles\pic16_C30_comp.bat".

Confirming those two settings should rule out that something may have been configured incorrectly.

Thanks,

Daniel

User avatar
stevebeale
Posts: 12
Joined: Tue Jul 18, 2017 11:50 pm
Location: Licolnshire
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: so many problems .

Post by stevebeale »

Thanks for helping me

compiler =C:\Flowcode\Common\Compilers

yep the reg path is as you discribe
C:\Flowcode\Common\Compilers\pic16

$(compilerpic16)batchfiles\pic16_C30_comp.bat


this is what i have
Steve Beale

DanielM
Posts: 62
Joined: Mon Oct 23, 2017 9:54 am
Has thanked: 11 times
Been thanked: 22 times
Contact:

Re: so many problems .

Post by DanielM »

Hi Steve,

I am still investigating. What is the full path/location of the project file that you are trying to compile? (assuming that the path name does not contain any sensitive information and you don't mind sharing it)

Thanks,

Daniel

User avatar
stevebeale
Posts: 12
Joined: Tue Jul 18, 2017 11:50 pm
Location: Licolnshire
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: so many problems .

Post by stevebeale »

Hi Daniel
i have tried it from various paths didnt seem to make any diference but these above

C:\flowfiles\pic16\32.fcfx
also tried
C:\Users\Steve\Documents\flowcode

when i used the EB006 /9 8bit all ok the path i used for this test was
E:\Downloads\Matrix Develop\flowcode 8\EB006v9 Factory test routine
if you wan to have a chat my number is on my account i think
also have you got the test files for the EB091 dsp unit, out of interest
Thanks for help

tried again using the EB091 still having problems below the path was

C:\Flowcode\Motor Training Solution _ EB091 Examples\Speed Control Examples
================================================================================
Target folder: C:\Flowcode\MOTORT~1\SPEEDC~1
Source name: C:\Flowcode\Motor Training Solution _ EB091 Examples\Speed Control Examples\1. SpeedControl-Basic.fcfx
Title:
Description:
Device: PIC16.33E.EB091
Generated by: Flowcode v8.0.0.6
Date: Thursday, May 31, 2018 12:50:12
Users: 1
Registered to: stevebeale
License key: BWRNN3
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat "1. SpeedControl-Basic" "C:\Flowcode\MOTORT~1\SPEEDC~1\" "33EP256MU806"

C:\Flowcode\MOTORT~1\SPEEDC~1>xc16-gcc -c -mcpu="33EP256MU806" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "1. SpeedControl-Basic".c -o "1. SpeedControl-Basic".o
'xc16-gcc' is not recognized as an internal or external command,
operable program or batch file.

Error returned from [xc16-gcc.exe]

C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1



FINISHED
=====================================================================================================================
then i tried

C:\Flowcode
==========================================================================

Target folder: C:\Flowcode
Source name: C:\Flowcode\1. SpeedControl-Basic.fcfx
Title:
Description:
Device: PIC16.33E.EB091
Generated by: Flowcode v8.0.0.6
Date: Thursday, May 31, 2018 12:54:57
Users: 1
Registered to: stevebeale
License key: BWRNN3
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat "1. SpeedControl-Basic" "C:\Flowcode\" "33EP256MU806"

C:\Flowcode>xc16-gcc -c -mcpu="33EP256MU806" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "1. SpeedControl-Basic".c -o "1. SpeedControl-Basic".o
'xc16-gcc' is not recognized as an internal or external command,
operable program or batch file.

Error returned from [xc16-gcc.exe]

C:\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1



FINISHED
Steve Beale

DanielM
Posts: 62
Joined: Mon Oct 23, 2017 9:54 am
Has thanked: 11 times
Been thanked: 22 times
Contact:

Re: so many problems .

Post by DanielM »

Based on the compiler output you have pasted, the compiler batch file is being invoked correctly. The issue is that for some reason the batch file cannot find the actual compiler executable. Could you please check that "C:\Flowcode\Common\Compilers\pic16\bin\xc16-gcc.exe" is present on your system?

Also this does not seem to be the same type of error that you were experiencing in your opening post, where the batch file was not being invoked correctly (and it was displaying an incorrect path). Have you changed anything about your system or Flowcode configuration other than the location of the project file?

Thanks,

Daniel

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: so many problems .

Post by EtsDriver »

Do you happen to have antivirus like BitDefender, F-Secure or ZoneAlarm? Can you try disabling it for a short time to test out ?
Ill just keep the good work up!

DanielM
Posts: 62
Joined: Mon Oct 23, 2017 9:54 am
Has thanked: 11 times
Been thanked: 22 times
Contact:

Re: so many problems .

Post by DanielM »

EtsDriver wrote:Do you happen to have antivirus like BitDefender, F-Secure or ZoneAlarm? Can you try disabling it for a short time to test out ?
This is a very good idea. I tend to forget that antivirus software can still cause problems even in 2018.

I would also suggest, in addition to turning off any antivirus software you might be running, that you try running Windows in safe mode. Assuming you are running Windows 10, you can access safe mode by following these instructions

https://support.microsoft.com/en-gb/hel ... -safe-mode

If, while in safe mode, you do not experience this problem with the PIC16 compiler, then it suggests that there is interference from some other software on your PC.

Please let us know how you get on and thanks for your patience.

Daniel

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: so many problems .

Post by EtsDriver »

Can you go to the cmd and run following commands on there, to check that folder ownerships are ok? Should be something like NT-System on all of them, but it might change in different os versions.

Code: Select all

cd C:\outputfolder\
cd to folder you want to save the file first, im using outputfolder here.

Then output dir command to file:

Code: Select all

dir "C:\Flowcode\Common\Compilers\pic16\" /s /q >> mypic16folder.txt
The /s parameter tells dir command to check all subfolders too, and /q tells dir to show who owns the files.

You can now check out the file contents using following command, just like cat command does on linux:

Code: Select all

type mypic16folder.txt 
and it should now print onto your computer screen.
Can you attach the generated file for us to see?
Ill just keep the good work up!

User avatar
stevebeale
Posts: 12
Joined: Tue Jul 18, 2017 11:50 pm
Location: Licolnshire
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: so many problems .

Post by stevebeale »

Hi all
ok the compiler exe is in the BIN folder .
the to errors are different as i tryed mover the project folder. mad little difference.
i dont have any anti virus, never have
im going to uninstrall the compilers put back qne at a time and see what that does,
i was goining to move flowcode 8 but im not certain how many times i can validate the key
thanks to all that are helping im sorry to take up your time
Steve Beale

User avatar
stevebeale
Posts: 12
Joined: Tue Jul 18, 2017 11:50 pm
Location: Licolnshire
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: so many problems .

Post by stevebeale »

ok
i uninstalled all the compilers,
i scan reg to find any reminants but all clean.
reinstalled one at a time.
pic ok on new files but still a no go on the pickiot template see accomp note.
pic 16 dsp whoopee
pic 16 whoope
pic 32 ok on some chips others still reports errors ill look closer
Amr Avr RPI and starm all ok.

so i have no clues as to why it worked this time as i only re installed to same location ..
still would like to get the microchip templates working.
this is the error from the pickit demo 44 pin.. and the low pin count board
but big thanks to all, im am a bit baffeled as i had already moved the compilers to C: drive , but uninstalling
and reinstalling must have been about 5 time it seems to be getting there.. i did wonder weather it didnt like
my M2 drives as i dont have any mechanical drives

only one small thing ma flowcode 7 has given up on the 16 pic and 32 bit.. :shock:

flowcode 8 pickit demo 44 error

Target folder: C:\FLOWFI~1
Source name: C:\flowfiles\demo44.fcfx
Title: Microchip - DM164130-4 PICKit 44-Pin Demo Board
Description: The default microcontroller for this template board is the PIC18F45K20, and is configured to
operate from the internal clock, at a frequency of 16 MHz.
It features;
1x Micro-switch; RB0
8x LEDS; RD0-RD7
1x Potentiometer; RA0
Device: PIC.18F.Microchip PICkit 44Pin Demo Board
Generated by: Flowcode v8.0.0.6
Date: Thursday, May 31, 2018 21:09:36
Users: 1
Registered to: stevebeale
License key: BWRNN3
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic\bin\xc8.exe --chip=18F45K20 "demo44.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

Employing 18F45K20 errata work-arounds:
* No stopping on H/W breakpoints after NOP2
demo44.c: __PROG_CONFIG()
35: __PROG_CONFIG(0x1, 0xF8FF);
^ (194) ")" expected
36: __PROG_CONFIG(0x2, 0xFEFF);
^ (194) ")" expected
37: __PROG_CONFIG(0x3, 0xFDFF);
^ (194) ")" expected
38: __PROG_CONFIG(0x4, 0xFFBB);
^ (194) ")" expected
39: __PROG_CONFIG(0x5, 0xFFFF);
^ (194) ")" expected
40: __PROG_CONFIG(0x6, 0xFFFF);
^ (194) ")" expected
41: __PROG_CONFIG(0x7, 0xFFFF);
^ (194) ")" expected
(908) exit status = 1
(908) exit status = 1

C:\Flowcode\Common\Compilers\pic\bin\xc8.exe reported error code 1

FINISHED

and this is from the pickit low pin count#

flowcode 8 pickit low pin count error


Target folder: C:\FLOWFI~1
Source name: C:\flowfiles\pickit low pin count.fcfx
Title: Microchip - DM164130-9 PICKit Low Pin Count
Description: This template allows users to quickly and simply get up and running with their hardware.
The default microcontroller for this template board is the PIC16F1829, and is configured to
operate from the internal clock, at a frequency of 32 MHz.
It features;
1x Micro-switch; RA2
4x LEDS; RC0-RC3
1x Potentiometer; RA4
Device: PIC.16F.Microchip PICkit Low Pin Count Demo
Generated by: Flowcode v8.0.0.6
Date: Thursday, May 31, 2018 21:12:19
Users: 1
Registered to: stevebeale
License key: BWRNN3
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Flowcode\Common\Compilers\pic\bin\xc8.exe --chip=16F1829 "pickit low pin count.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

pickit low pin count.c: __PROG_CONFIG()
36: __PROG_CONFIG(0x1, 0x3FC4);
^ (194) ")" expected
37: __PROG_CONFIG(0x2, 0x1FFF);
^ (194) ")" expected
(908) exit status = 1
(908) exit status = 1

C:\Flowcode\Common\Compilers\pic\bin\xc8.exe reported error code 1



FINISHED




Big thanks to all
Steve Beale

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: so many problems .

Post by QMESAR »

Hi DanielM.

Just in support of Steve,
I think there is an issue with the template board configuration and FCD file ,see below
just compiling a while loop in FC8 for the PIC low pin cont board results in an error reported for the Configuration word(this config is preset in FC).
3.jpg
3.jpg (11.1 KiB) Viewed 9180 times
2.jpg
2.jpg (84.64 KiB) Viewed 9180 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: so many problems .

Post by QMESAR »

Hi,
The same apply for the PicKit 44 Pin count Board it seams there is an issue with all the Template board configurations
1.jpg
1.jpg (133.54 KiB) Viewed 9176 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: so many problems .

Post by Benj »

Thanks for letting us know, it was the order of code in the definition file.

I've now fixed the "44Pin Demo Board" and "Low Pin Count Demo" devices and pushed the fix to the updates system.

Are there any others you've spotted with this problem?

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: so many problems .

Post by QMESAR »

Ben,
As for the pic boards the others seam to be ok I tried them all :D

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: so many problems .

Post by Benj »

QMESAR wrote:Ben,
As for the pic boards the others seam to be ok I tried them all :D
Wow good job, many thanks, much appreciated as always :P

User avatar
stevebeale
Posts: 12
Joined: Tue Jul 18, 2017 11:50 pm
Location: Licolnshire
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: so many problems .

Post by stevebeale »

Big thanks to all now itrs time to rock n roll im loving flowcode 8.
although still cant understand why flowcode 7 decided to play up.. still i can remove it
thanks
Steve Beale

User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

Re: so many problems .

Post by celebriums »

Hi All
Did you find a solution to the problem?
I think windows 10 is the access problem.

I corrected the first error when I granted full access to the C: \ Program Files (x86) \ Flowcode \ Common folder.
ALL APPLICATION PACKAGES and ALL RESTRICTED APPLICATION PACKAGES users have been granted full authority to resolve the issue of access rights.

However, the following error persists

Code: Select all

Target folder: D:\28.05.2018 yedek\E120EB-00034 (Motor Driver)\software\hist\Denemeler
Source name:   D:\28.05.2018 yedek\E120EB-00034 (Motor Driver)\software\hist\Denemeler\SütrakMotorDriver6lı_20180628-2210.fcfx
Title:         
Description:   
Device:        PIC16.33E.33EP128MC506
Generated by:  Flowcode v8.0.0.5
Date:          Friday, June 29, 2018 11:29:34
Users:         1
Registered to: celebriums
License key: U00Q0U
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat  "SütrakMotorDriver6lı_20180628-2210" "D:\28.05.2018 yedek\E120EB-00034 (Motor Driver)\software\hist\Denemeler\" "33EP128MC506"

D:\28.05.2018 yedek\E120EB-00034 (Motor Driver)\software\hist\Denemeler>xc16-gcc -c -mcpu="33EP128MC506" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "S�trakMotorDriver6l�_20180628-2210".c -o "S�trakMotorDriver6l�_20180628-2210".o 
S�trakMotorDriver6l�_20180628-2210.c: In function 'FCD_05481_cal_uart__ControlPin':
S�trakMotorDriver6l�_20180628-2210.c:1115:40: error: macro "GET_PORT_MASK" requires 2 arguments, but only 1 given
S�trakMotorDriver6l�_20180628-2210.c:1115:18: error: 'GET_PORT_MASK' undeclared (first use in this function)
S�trakMotorDriver6l�_20180628-2210.c:1115:18: note: each undeclared identifier is reported only once for each function it appears in
S�trakMotorDriver6l�_20180628-2210.c: In function 'FCD_05481_cal_uart__Prv_SimShowWaveform':
S�trakMotorDriver6l�_20180628-2210.c:1279:28: error: macro "SET_PORT_MASK" requires 3 arguments, but only 2 given
S�trakMotorDriver6l�_20180628-2210.c:1279:3: error: 'SET_PORT_MASK' undeclared (first use in this function)
S�trakMotorDriver6l�_20180628-2210.c:1289:30: error: macro "SET_PORT_MASK" requires 3 arguments, but only 2 given
S�trakMotorDriver6l�_20180628-2210.c:1293:30: error: macro "SET_PORT_MASK" requires 3 arguments, but only 2 given
S�trakMotorDriver6l�_20180628-2210.c:1304:28: error: macro "SET_PORT_MASK" requires 3 arguments, but only 2 given
S�trakMotorDriver6l�_20180628-2210.c: In function 'FCM_initial':
S�trakMotorDriver6l�_20180628-2210.c:1937:2: warning: passing argument 1 of 'FCD_09b81_AutoVersionID1__GetDate' discards qualifiers from pointer target type
S�trakMotorDriver6l�_20180628-2210.c:1005:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
S�trakMotorDriver6l�_20180628-2210.c:1940:2: warning: passing argument 1 of 'FCD_09b81_AutoVersionID1__GetTime' discards qualifiers from pointer target type
S�trakMotorDriver6l�_20180628-2210.c:992:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
S�trakMotorDriver6l�_20180628-2210.c: In function 'FCM_SEND_Bluetooth':
S�trakMotorDriver6l�_20180628-2210.c:2745:2: warning: passing argument 1 of 'FCD_047b1_Bluetooth__SendString' discards qualifiers from pointer target type
S�trakMotorDriver6l�_20180628-2210.c:1354:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'

Error returned from [xc16-gcc.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1



FINISHED
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

Post Reply