STARM Compiler Error with FC8

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

Moderator: Benj

Post Reply
karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

STARM Compiler Error with FC8

Post 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.
Attachments
STARM.FCS
(660 Bytes) Downloaded 214 times
STM Compile error.PNG
(32.59 KiB) Downloaded 3895 times
compiler config.PNG
(26.54 KiB) Downloaded 3895 times

User avatar
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

Post by LeighM »

What is the entry for ARM?
arm.jpg
arm.jpg (61.65 KiB) Viewed 9536 times

palanivel
Posts: 11
Joined: Thu Jun 14, 2018 8:54 am
Contact:

Re: STARM Compiler Error with FC8

Post 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
Attachments
ARM.PNG
(21.9 KiB) Downloaded 3877 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: STARM Compiler Error with FC8

Post 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.

palanivel
Posts: 11
Joined: Thu Jun 14, 2018 8:54 am
Contact:

Re: STARM Compiler Error with FC8

Post by palanivel »

Hi Ben,
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

karthickefy
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

Post 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.

User avatar
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

Post by LeighM »

Please see these notes regarding the GetShortPathName problem.

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

DanielM
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

Post 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

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: STARM Compiler Error with FC8

Post 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.

karthickefy
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

Post 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.
Attachments
Programmer fail.PNG
(21.57 KiB) Downloaded 3800 times

User avatar
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

Post 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.

karthickefy
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

Post 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.

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: STARM Compiler Error with FC8

Post 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

User avatar
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

Post by LeighM »

Hi,
Can you check if this is a short path issue? ...
https://www.matrixtsl.com/faq/index.php ... artlang=en

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: STARM Compiler Error with FC8

Post by volodymyr0604 »

Hi.
No.NtfsDisable8dot3NameCreation is set to 0.
Thank you.

User avatar
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

Post 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)?

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: STARM Compiler Error with FC8

Post 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 9297 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

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: STARM Compiler Error with FC8

Post 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
Attachments
patch.png
(25.74 KiB) Downloaded 3633 times

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: STARM Compiler Error with FC8

Post 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.

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: STARM Compiler Error with FC8

Post 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.

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: STARM Compiler Error with FC8

Post 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

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: STARM Compiler Error with FC8

Post 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\

Post Reply