STARM Compiler Error with FC8
Moderator: Benj
-
- Posts: 74
- Joined: Thu Nov 30, 2017 3:21 am
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
STARM Compiler Error with FC8
Hi Matrix Team,
I have a problem with my FC8 while Compile the Hex file. I used STM32F407VE ARM processor and try to compile the hex firmware, But it FC8 trigger "pic_xc8_comp.bat" instaed of "stm32comp.bat". I checked the compiler options and reinstalled FC8, but this problem still exist. please help. here I have attached screen shot of compiler message and ARM Compiler config file for your reference.
Karthick.
I have a problem with my FC8 while Compile the Hex file. I used STM32F407VE ARM processor and try to compile the hex firmware, But it FC8 trigger "pic_xc8_comp.bat" instaed of "stm32comp.bat". I checked the compiler options and reinstalled FC8, but this problem still exist. please help. here I have attached screen shot of compiler message and ARM Compiler config file for your reference.
Karthick.
- Attachments
-
- STARM.FCS
- (660 Bytes) Downloaded 218 times
-
- STM Compile error.PNG
- (32.59 KiB) Downloaded 3895 times
-
- compiler config.PNG
- (26.54 KiB) Downloaded 3895 times
Re: STARM Compiler Error with FC8
Hi Leigh,
I think something wrong after update my Flowcode 8. Even I tried to check with other computer with my FC8 licence and other PC also same compile error. While I open the compiler options, PIC compiler is highlighting by default. Attached is my ARM compiler setup.
Karthick
I think something wrong after update my Flowcode 8. Even I tried to check with other computer with my FC8 licence and other PC also same compile error. While I open the compiler options, PIC compiler is highlighting by default. Attached is my ARM compiler setup.
Karthick
- Attachments
-
- ARM.PNG
- (21.9 KiB) Downloaded 3877 times
- 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: STARM Compiler Error with FC8
Hi Karthick,
Are you running the latest version of the definition file? There should be an update on the Help -> Check for updates for that target that specifies the compiler as the STARM compiler.
We are looking into this problem for you now.
Edit: Yes there was a problem, I have now pushed a definition file fix to the update system that should solve the problem.
Are you running the latest version of the definition file? There should be an update on the Help -> Check for updates for that target that specifies the compiler as the STARM compiler.
We are looking into this problem for you now.
Edit: Yes there was a problem, I have now pushed a definition file fix to the update system that should solve the problem.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: STARM Compiler Error with FC8
Hi Ben,
After update the definition file still build error exist. Attached is the screen shot for your reference.
After update the definition file still build error exist. Attached is the screen shot for your reference.
- Attachments
-
- Error1.PNG
- (22.58 KiB) Downloaded 3863 times
-
- path disable.PNG
- (17.67 KiB) Downloaded 3863 times
-
- Posts: 74
- Joined: Thu Nov 30, 2017 3:21 am
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
Re: STARM Compiler Error with FC8
Hi Ben,
After updated the latest definition still have the compile problem. It seems the compiler Path does not defined properly. Currently I'm using Win7 64 bit OS. Also I cannot change the Path of the compiler and also I couldn't import the compiler settings .FCS files from FC7 settings. I think all the ARM Chip's are affected.
After updated the latest definition still have the compile problem. It seems the compiler Path does not defined properly. Currently I'm using Win7 64 bit OS. Also I cannot change the Path of the compiler and also I couldn't import the compiler settings .FCS files from FC7 settings. I think all the ARM Chip's are affected.
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STARM Compiler Error with FC8
Please see these notes regarding the GetShortPathName problem.
https://www.matrixtsl.com/faq/index.php ... artlang=en
https://www.matrixtsl.com/faq/index.php ... artlang=en
-
- Posts: 62
- Joined: Mon Oct 23, 2017 9:54 am
- Has thanked: 11 times
- Been thanked: 22 times
- Contact:
Re: STARM Compiler Error with FC8
It is worth noting that you may not need to reinstall/copy the directories for Flowcode or the compilers. I recommend first just attempting to change the registry as instructed in the FAQ (step 1 in both procedures listed). If there is no success then proceed with reinstallation as instructed.LeighM wrote:Please see these notes regarding the GetShortPathName problem.
https://www.matrixtsl.com/faq/index.php ... artlang=en
Daniel
- 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: STARM Compiler Error with FC8
Hello,
Many thanks for letting us know. I believe I have now solved the problem in the v8 update system.
Let me know how you get on.
Many thanks for letting us know. I believe I have now solved the problem in the v8 update system.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 74
- Joined: Thu Nov 30, 2017 3:21 am
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
Re: STARM Compiler Error with FC8
Hi Ben,
Thanks. After update the latest definition, now I can compile the STM32 Chip without any Error. But I cannot use " Compile to Chip" option. because it shows" "ST-LINK_CLI.exe" is not recognized as an internal or external command" error. Currently I'm using ST-LINK/V2 programmer(original from ST). As of now I'm using "St-Link utility tool" manually select with FC8 compiled Hex file. FYI: My Flowcode 7 can detect the "ST-LINK_CLI.exe" and can compile to chip directly without any error with ST-LINK/V2 programmer. Thanks.
Thanks. After update the latest definition, now I can compile the STM32 Chip without any Error. But I cannot use " Compile to Chip" option. because it shows" "ST-LINK_CLI.exe" is not recognized as an internal or external command" error. Currently I'm using ST-LINK/V2 programmer(original from ST). As of now I'm using "St-Link utility tool" manually select with FC8 compiled Hex file. FYI: My Flowcode 7 can detect the "ST-LINK_CLI.exe" and can compile to chip directly without any error with ST-LINK/V2 programmer. Thanks.
- Attachments
-
- Programmer fail.PNG
- (21.57 KiB) Downloaded 3800 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STARM Compiler Error with FC8
Do you have the ST-LINK Utility executables in the directory ...
C:\Program Files (x86)\Flowcode\Common\Tools\ST-LINK Utility
If not, could you copy them to that location, then all should work.
C:\Program Files (x86)\Flowcode\Common\Tools\ST-LINK Utility
If not, could you copy them to that location, then all should work.
-
- Posts: 74
- Joined: Thu Nov 30, 2017 3:21 am
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
Re: STARM Compiler Error with FC8
Hi leigh,
Originally in "C:\Program Files (x86)\Flowcode\Common" folder there was no Tools folder. After I copy it from "C:\Program Files (x86)\Flowcode v8\tools" tools folder into "C:\Program Files (x86)\Flowcode\Common\tools" and now it is working fine. I think this issue due to my 64 bit OS path settings. Thanks Now it is working fine.
Karthick.
Originally in "C:\Program Files (x86)\Flowcode\Common" folder there was no Tools folder. After I copy it from "C:\Program Files (x86)\Flowcode v8\tools" tools folder into "C:\Program Files (x86)\Flowcode\Common\tools" and now it is working fine. I think this issue due to my 64 bit OS path settings. Thanks Now it is working fine.
Karthick.
-
- Posts: 47
- Joined: Sun Apr 05, 2009 2:39 pm
- Been thanked: 1 time
- Contact:
Re: STARM Compiler Error with FC8
Hi LeinqhM.
I have the same problem in FC7 and FC8.
Tell me please what is the problem.
Thank you.
Device: ARM.F4.32F407VG
Generated by: Flowcode v8.0.0.6
Date: Thursday, August 09, 2018 20:04:43
Users: 1
Registered to: volodymyr0604
License key: VM4H3Q
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat "REG" "F:\PR\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat reported error code -1
FINISHED
I have the same problem in FC7 and FC8.
Tell me please what is the problem.
Thank you.
Device: ARM.F4.32F407VG
Generated by: Flowcode v8.0.0.6
Date: Thursday, August 09, 2018 20:04:43
Users: 1
Registered to: volodymyr0604
License key: VM4H3Q
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat "REG" "F:\PR\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat reported error code -1
FINISHED
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STARM Compiler Error with FC8
Hi,
Can you check if this is a short path issue? ...
https://www.matrixtsl.com/faq/index.php ... artlang=en
Can you check if this is a short path issue? ...
https://www.matrixtsl.com/faq/index.php ... artlang=en
-
- Posts: 47
- Joined: Sun Apr 05, 2009 2:39 pm
- Been thanked: 1 time
- Contact:
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STARM Compiler Error with FC8
Have you always had this problem with both, or has something changed?I have the same problem in FC7 and FC8.
Do other (non-STARM) projects work OK?
Could you post your project file (.fcfx) and the error output file (.msg.txt)?
- 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: STARM Compiler Error with FC8
Hello,
Please can you confirm you are using the latest FCD definition file from the v8 update system? It should be revision 5.
Can you also please use Windows explorer to check and see if the following file exists on your system.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat
Please can you confirm you are using the latest FCD definition file from the v8 update system? It should be revision 5.
Can you also please use Windows explorer to check and see if the following file exists on your system.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 47
- Joined: Sun Apr 05, 2009 2:39 pm
- Been thanked: 1 time
- Contact:
Re: STARM Compiler Error with FC8
Hi Benj.
Prior to version 7.3, I worked with STM32F407VET6, the compilation worked.
Version 7.3.0.7 and version 8 are completely updated, the same problem.
Generated by: Flowcode v8.0.0.6
Date: Wednesday, August 22, 2018 16:51:36
Users: 1
Registered to: volodymyr0604
License key: VM4H3Q
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat "REG(8)_NEW_003" "F:\PROECTOS\RED-REGULADOR FASE\STB87E~1\MACROS V8(DIYMROE)\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat reported error code -1
FINISHED
Device: ARM.F4.32F407VG
Generated by: Flowcode v7.3.0.7
Date: Wednesday, August 22, 2018 17:45:49
Users: 1
Registered to: volodymyr0604
Licence key: 4C3QV6
NO DESTINADO A USO COMERCIAL
http://www.matrixtsl.com
Iniciando el compilador…
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "REG(7)_NEW_003" "F:\PROECTOS\RED-REGULADOR FASE\STB87E~1\MACROS V7(DIYMROE)\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error -1
FINALIZADO
Prior to version 7.3, I worked with STM32F407VET6, the compilation worked.
Version 7.3.0.7 and version 8 are completely updated, the same problem.
Generated by: Flowcode v8.0.0.6
Date: Wednesday, August 22, 2018 16:51:36
Users: 1
Registered to: volodymyr0604
License key: VM4H3Q
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat "REG(8)_NEW_003" "F:\PROECTOS\RED-REGULADOR FASE\STB87E~1\MACROS V8(DIYMROE)\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat reported error code -1
FINISHED
Device: ARM.F4.32F407VG
Generated by: Flowcode v7.3.0.7
Date: Wednesday, August 22, 2018 17:45:49
Users: 1
Registered to: volodymyr0604
Licence key: 4C3QV6
NO DESTINADO A USO COMERCIAL
http://www.matrixtsl.com
Iniciando el compilador…
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "REG(7)_NEW_003" "F:\PROECTOS\RED-REGULADOR FASE\STB87E~1\MACROS V7(DIYMROE)\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error -1
FINALIZADO
- Attachments
-
- patch.png
- (25.74 KiB) Downloaded 3633 times
-
- Posts: 47
- Joined: Sun Apr 05, 2009 2:39 pm
- Been thanked: 1 time
- Contact:
Re: STARM Compiler Error with FC8
Hi Benj.
Tell me what is the problem when compiling, I can not continue to do without checking the program on the hardware.
Thank you.
Tell me what is the problem when compiling, I can not continue to do without checking the program on the hardware.
Thank you.
- 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: STARM Compiler Error with FC8
Hello,
Just a guess but have you tried taking the brackets out of the Flowcode project filename. These could potentially be causing parse errors with the compiler or compilation batch file.
Both the project filename and the filepath contain brackets so it could be either one that is causing problems.
Just a guess but have you tried taking the brackets out of the Flowcode project filename. These could potentially be causing parse errors with the compiler or compilation batch file.
Both the project filename and the filepath contain brackets so it could be either one that is causing problems.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 47
- Joined: Sun Apr 05, 2009 2:39 pm
- Been thanked: 1 time
- Contact:
Re: STARM Compiler Error with FC8
Hi Benj.
Changed the file, the same problem, maybe it's because of the antivirus (360 total security)?
FС8 updated completely, it seems that the linker does not work.
Thank you.
Target folder: F:\# RED-STM32F407VG\MACROS_V8_DIYMROE
Source name: F:\# RED-STM32F407VG\MACROS_V8_DIYMROE\REG_8_004.fcfx
Title: Regulador
Description:
Device: ARM.F4.32F407VG
Generated by: Flowcode v8.0.0.6
Date: Monday, September 10, 2018 11:42:06
Users: 1
Registered to: volodymyr0604
License key: VM4H3Q
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat "REG_8_004" "F:\# RED-STM32F407VG\MACROS_V8_DIYMROE\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat reported error code -1
FINISHED
Changed the file, the same problem, maybe it's because of the antivirus (360 total security)?
FС8 updated completely, it seems that the linker does not work.
Thank you.
Target folder: F:\# RED-STM32F407VG\MACROS_V8_DIYMROE
Source name: F:\# RED-STM32F407VG\MACROS_V8_DIYMROE\REG_8_004.fcfx
Title: Regulador
Description:
Device: ARM.F4.32F407VG
Generated by: Flowcode v8.0.0.6
Date: Monday, September 10, 2018 11:42:06
Users: 1
Registered to: volodymyr0604
License key: VM4H3Q
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat "REG_8_004" "F:\# RED-STM32F407VG\MACROS_V8_DIYMROE\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "1024K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\batch\stm32comp.bat reported error code -1
FINISHED
- 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: STARM Compiler Error with FC8
Hello,
Please can you also try removing the # character from your file path.
Please can you also try removing the # character from your file path.
e.g. toF:\# RED-STM32F407VG\MACROS_V8_DIYMROE\
F:\FC8Test\
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel