Page 1 of 1

STARM Compiler Error with FC8

Posted: Thu Aug 02, 2018 10:19 am
by karthickefy
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.

Re: STARM Compiler Error with FC8

Posted: Thu Aug 02, 2018 11:10 am
by LeighM
What is the entry for ARM?
arm.jpg
arm.jpg (61.65 KiB) Viewed 9805 times

Re: STARM Compiler Error with FC8

Posted: Thu Aug 02, 2018 2:04 pm
by palanivel
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

Re: STARM Compiler Error with FC8

Posted: Thu Aug 02, 2018 2:30 pm
by Benj
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.

Re: STARM Compiler Error with FC8

Posted: Thu Aug 02, 2018 3:39 pm
by palanivel
Hi Ben,
After update the definition file still build error exist. Attached is the screen shot for your reference.

Re: STARM Compiler Error with FC8

Posted: Fri Aug 03, 2018 2:08 am
by karthickefy
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.

Re: STARM Compiler Error with FC8

Posted: Fri Aug 03, 2018 7:48 am
by LeighM
Please see these notes regarding the GetShortPathName problem.

https://www.matrixtsl.com/faq/index.php ... artlang=en

Re: STARM Compiler Error with FC8

Posted: Fri Aug 03, 2018 9:12 am
by DanielM
LeighM wrote:Please see these notes regarding the GetShortPathName problem.

https://www.matrixtsl.com/faq/index.php ... artlang=en
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.

Daniel

Re: STARM Compiler Error with FC8

Posted: Fri Aug 03, 2018 10:05 am
by Benj
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.

Re: STARM Compiler Error with FC8

Posted: Mon Aug 06, 2018 8:39 am
by karthickefy
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.

Re: STARM Compiler Error with FC8

Posted: Mon Aug 06, 2018 8:51 am
by LeighM
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.

Re: STARM Compiler Error with FC8

Posted: Mon Aug 06, 2018 8:59 am
by karthickefy
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.

Re: STARM Compiler Error with FC8

Posted: Thu Aug 09, 2018 7:14 pm
by volodymyr0604
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

Re: STARM Compiler Error with FC8

Posted: Mon Aug 13, 2018 8:30 am
by LeighM
Hi,
Can you check if this is a short path issue? ...
https://www.matrixtsl.com/faq/index.php ... artlang=en

Re: STARM Compiler Error with FC8

Posted: Sat Aug 18, 2018 7:58 am
by volodymyr0604
Hi.
No.NtfsDisable8dot3NameCreation is set to 0.
Thank you.

Re: STARM Compiler Error with FC8

Posted: Mon Aug 20, 2018 8:12 am
by LeighM
I have the same problem in FC7 and FC8.
Have you always had this problem with both, or has something changed?
Do other (non-STARM) projects work OK?
Could you post your project file (.fcfx) and the error output file (.msg.txt)?

Re: STARM Compiler Error with FC8

Posted: Tue Aug 21, 2018 5:56 pm
by Benj
Hello,

Please can you confirm you are using the latest FCD definition file from the v8 update system? It should be revision 5.
ST_Updates.jpg
ST_Updates.jpg (82.35 KiB) Viewed 9566 times
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

Re: STARM Compiler Error with FC8

Posted: Wed Aug 22, 2018 4:55 pm
by volodymyr0604
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

Re: STARM Compiler Error with FC8

Posted: Thu Sep 06, 2018 8:52 am
by volodymyr0604
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.

Re: STARM Compiler Error with FC8

Posted: Thu Sep 06, 2018 9:05 am
by Benj
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.

Re: STARM Compiler Error with FC8

Posted: Mon Sep 10, 2018 10:48 am
by volodymyr0604
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

Re: STARM Compiler Error with FC8

Posted: Mon Sep 10, 2018 12:02 pm
by Benj
Hello,

Please can you also try removing the # character from your file path.
F:\# RED-STM32F407VG\MACROS_V8_DIYMROE\
e.g. to
F:\FC8Test\