After updating to v9.0.0.23, the compiler does not work

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jirikadlcak
Posts: 4
http://meble-kuchenne.info.pl
Joined: Thu Apr 22, 2021 5:36 am
Been thanked: 1 time

After updating to v9.0.0.23, the compiler does not work

Post by jirikadlcak »

I have been a FlowCode user since version 4, license professional. The latest installed version is v9. As recommended, I updated to Flowcode v9.0.0.23. (The previous version of Flowcode 9 was fully functional). Unfortunately, since this installation, I cannot compile to the specified processor type dsPIC33EP256MU806. Compilation on BL0032, with the same processor, proceeds normally. The compilation ends with the attached message.
Where did I make a mistake in the settings, or how to proceed to achieve the functionality of the program?
Thank you for the advice.
-j-

Compiler report:
Target folder: C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021
Source name: C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021\I2C_v4_1_pracovni_08042020.fcfx
Title:
Description:
Device: PIC16.33E.33EP256MU806
Generated by: Flowcode v9.0.0.23
Date: Monday, April 12, 2021 10:16:02
Users: 1
Registered to: kadlcak (34536401)
Licence key: MXYUWW
https://www.flowcode.co.uk
Launching the compiler...
C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\PIC16\batchfiles\pic16_C30_comp.bat "C:\Program Files (x86)\Flowcode\Compilers\pic16\\" "I2C_v4_1_pracovni_08042020" "C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021\" "33EP256MU806"

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM CRC: 54CD51B8F484283E91B3AD9DE6F4F50C418D34178E0D3D0BD2659E1DA9D69F58D3529BB9468CFC85641793EB31F94A5F16CBA8333F125C7188ED8742865A1BBCF23BFF3064C25A11BAFA61B701B8D046FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D79589982C048EB639EACAAE95EDF8CE67A1404D62B8878703E3665631EAF018A0B6018ACC8FF364DB19D83FB389861B26F27604A1F36255EB2E4245255911F067119BEF7D5F89C133B93261A29D848A5DAD12E38FF9E5CFBC45304482C3050DA273BE4EE7BE17FF2C8D6682CC92500D002AE6523670B0FC1268FBABF2E2E537ED3A62AD834F73E07AA889468

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM REVISION: 1.0

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM GUID: 7821ABE5-9E21-4744-81B7-3FF600B75DB7

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM DATE: 29\03\2021

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM DIR: FCD\PIC16\batchfiles\pic16_C30_comp.bat

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>xc16-gcc -c -mcpu="33EP256MU806" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\support\h" -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\" -std=gnu99 "I2C_v4_1_pracovni_08042020".c -o "I2C_v4_1_pracovni_08042020".o
coff-gcc.exe: no input files

Error returned from [xc16-gcc.exe]

C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\PIC16\batchfiles\pic16_C30_comp.bat reported error code 0x1

Autoclose turned off


FINISHED
Attachments
Error_massage.docx
(13.3 KiB) Downloaded 649 times

Steve-Matrix
Matrix Staff
Posts: 1548
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: After updating to v9.0.0.23, the compiler does not work

Post by Steve-Matrix »

Please click "Compile to HEX" while holding down the Ctrl key and post the messages from the compiler window. This provides verbose debugging info that will help us determine the problem.

Steve-Matrix
Matrix Staff
Posts: 1548
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: After updating to v9.0.0.23, the compiler does not work

Post by Steve-Matrix »

Sorry - just noticed you said you updated to v9.0.0.23. This is the older original release of Flowcode v9. The latest release is v9.1.0.27. Please update to this version and try again.

jirikadlcak
Posts: 4
Joined: Thu Apr 22, 2021 5:36 am
Been thanked: 1 time

Re: After updating to v9.0.0.23, the compiler does not work

Post by jirikadlcak »

I did an update, but unfortunately it didn't help. I'm sending a Compiler message.
The most important error is on this line:


C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>xc16-gcc -c -mcpu="33EP256MU806" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\support\h" -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\" -std=gnu99 "I2C_v4_1_pracovni_08042020".c -o "I2C_v4_1_pracovni_08042020".o
coff-gcc.exe: no input files

Error returned from [xc16-gcc.exe]
Ended polling

but i don't know how to remove it, what's wrong with my configuration.

Thanks
Jiri

The full list of Compiler message is here:

Target folder: C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021
Source name: C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021\I2C_v4_1_pracovni_08042020.fcfx
Title:
Description:
Device: PIC16.33E.33EP256MU806
Generated by: Flowcode v9.1.0.27
Date: Monday, April 26, 2021 17:09:59
Users: 1
Registered to: kadlcak (34536401)
Licence key: MXYUWW
https://www.flowcode.co.uk
Using <JK test> user settings for compiler
Launching the compiler...
C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\PIC16\batchfiles\pic16_C30_comp.bat "C:\Program Files (x86)\Flowcode\Compilers\pic16\\" "I2C_v4_1_pracovni_08042020" "C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021\" "33EP256MU806"
Debug: PathName is C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\PIC16\batchfiles\pic16_C30_comp.bat
Debug: Params are "C:\Program Files (x86)\Flowcode\Compilers\pic16\\" "I2C_v4_1_pracovni_08042020" "C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021\" "33EP256MU806"
Debug: CurDir is C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021
Debug: LongPath is C:\WINDOWS\system32\cmd.exe
Debug: LaunchPath is /C ""C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\PIC16\batchfiles\pic16_C30_comp.bat" "C:\Program Files (x86)\Flowcode\Compilers\pic16\\" "I2C_v4_1_pracovni_08042020" "C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021\" "33EP256MU806""
Starting polling...

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM CRC: 54CD51B8F484283E91B3AD9DE6F4F50C418D34178E0D3D0BD2659E1DA9D69F58D3529BB9468CFC85641793EB31F94A5F16CBA8333F125C7188ED8742865A1BBCF23BFF3064C25A11BAFA61B701B8D046FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D79589982C048EB639EACAAE95EDF8CE67A1404D62B8878703E3665631EAF018A0B6018ACC8FF364DB19D83FB389861B26F27604A1F36255EB2E4245255911F067119BEF7D5F89C133B93261A29D848A5DAD12E38FF9E5CFBC45304482C3050DA273BE4EE7BE17FF2C8D6682CC92500D002AE6523670B0FC1268FBABF2E2E537ED3A62AD834F73E07AA889468

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM REVISION: 1.0

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM GUID: 7821ABE5-9E21-4744-81B7-3FF600B75DB7

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM DATE: 29\03\2021

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>REM DIR: FCD\PIC16\batchfiles\pic16_C30_comp.bat

C:\Users\kadlcak\Documents\Documents\Documents\Projekty 2021\S-LOV\PDCHTL\TICs\Program\12042021>xc16-gcc -c -mcpu="33EP256MU806" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\support\h" -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\" -std=gnu99 "I2C_v4_1_pracovni_08042020".c -o "I2C_v4_1_pracovni_08042020".o
coff-gcc.exe: no input files

Error returned from [xc16-gcc.exe]
Ended polling

C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\PIC16\batchfiles\pic16_C30_comp.bat reported error code 0x1

Autoclose turned off


FINISHED

Steve-Matrix
Matrix Staff
Posts: 1548
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: After updating to v9.0.0.23, the compiler does not work

Post by Steve-Matrix »

Thanks.

I notice you are using your own <JK test> setting within Compiler Settings. What happens if you use the default settings instead (e.g. "PICkit2 PKCMD External Power")? You need to go into the Compiler Settings screen and tick the appropriate "Default compiler..." tickbox.

If that also fails, then it could be a problem with either path size or the filename length. Some compiler toolchains have restrictions on these. Try renaming your file to something shorter and perhaps use a location for your project closer to the root of your C: drive.

LeighM
Valued Contributor
Posts: 489
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 262 times

Re: After updating to v9.0.0.23, the compiler does not work

Post by LeighM »

Also, if Steve's suggestions regarding using the default setting etc., does not fix the issue,
could you check the toolchain path in the Locations tab of the Global Settings

when I test I get this
... -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" -std=gnu99 ...

I noticed in your log there is an extra backslash in the compiler path, which might be causing the issue
... -I"C:\Program Files (x86)\Flowcode\Compilers\pic16\\" -std=gnu99 ...

Thanks

jirikadlcak
Posts: 4
Joined: Thu Apr 22, 2021 5:36 am
Been thanked: 1 time

Re: After updating to v9.0.0.23, the compiler does not work

Post by jirikadlcak »

I apologize for the complications, I set the recommended compilation, I saved the file to the adirectory directly in root C: (C: \ FlowCode programs) and still the same. I am attaching three files. The first is a screenshot of the compiler and linker settings. The second is when compiling and linking the same program for BL032 (works normally). The third is for compilation and linking directly for 33EP256MU806 (generates an error).
What's next? Thanks a lot. Jiri
Attachments
Target folder for BL032.docx
(14.41 KiB) Downloaded 561 times
General setting.docx
(244.52 KiB) Downloaded 754 times
33EP256MU806.docx
(13.46 KiB) Downloaded 587 times

Steve-Matrix
Matrix Staff
Posts: 1548
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: After updating to v9.0.0.23, the compiler does not work

Post by Steve-Matrix »

In General Options, please go to the "locations" tab and ensure the location of the toolchain has only one "\" at the end of it and see if that helps.

jirikadlcak
Posts: 4
Joined: Thu Apr 22, 2021 5:36 am
Been thanked: 1 time

Re: After updating to v9.0.0.23, the compiler does not work

Post by jirikadlcak »

Thank you very much, it helped. In "Global setting, I changed under " location" from
" C: \ Program Files (x86) \ Flowcode \ Compilers \ pic16 \ "
to
" C: \ Program Files (x86) \ Flowcode \ Compilers \ pic16 "
and the compiler works .
Thank you Jiri

Post Reply