FC7.3 compiele to hex error's

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

FC7.3 compiele to hex error's

Post by stefan.erni »

Hi Ben

Two of my PIC32 program are ok on my computer with FC7.2
But not working on my computer with FC7.3
Flowcode_Emg_2018_icsp1_speedtest.fcfx
(19.07 KiB) Downloaded 257 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: FC7.3 compiele to hex error's

Post by Benj »

Hello,

Are you getting any compiler errors or warnings when compiling in 7.3?

Can you say what is not working, is it something specific or is nothing at all working?

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: FC7.3 compiele to hex error's

Post by stefan.erni »

I can not compile to hex an empty PIC32 program.
But a STM32 is working

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: FC7.3 compiele to hex error's

Post by stefan.erni »

An empty progam I can compile now to hex if I choose default compiler for the platform. But my program still has error.
I exportet the compiler option from 7.2 computer and imported in computer with FC3. Still error

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: FC7.3 compiele to hex error's

Post by Benj »

Hi Stefan,
An empty progam I can compile now to hex if I choose default compiler for the platform. But my program still has error.
What error are you getting specifically?

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: FC7.3 compiele to hex error's

Post by stefan.erni »

Hi Ben

A lot of messages....
Flowcode_Emg_2018_main_crashtest.msg.txt
(5.8 KiB) Downloaded 269 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: FC7.3 compiele to hex error's

Post by Benj »

Hello Stefan,

The problem might be the # symbols in the file path. The C preprocessor treats this as a special "do something" character and so could be getting very confused.

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: FC7.3 compiele to hex error's

Post by stefan.erni »

Hi Ben

I removed the # but still the error.
All my computer use one or more of# in the path of FC and FC7 is working.
I will try to reduce it anyway.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: FC7.3 compiele to hex error's

Post by STibor »

Hello,

I get this error message for all types of controllers:
Do not compiling hex to any controller.
Flowcode7.3.0.5

Target folder: C:\flow\ULTRAS~1
Source name: C:\flow\ultrasonic\Flowcode1.fcfx
Title:
Description:
Device: AVR.ATMEGA.ATMEGA328P
Generated by: Flowcode v7.3.0.5
Date: Monday, January 15, 2018 07:51:18
Users: 1
Registered to: *******
Licence key: *******
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat atmega328p "C:\flow\ULTRAS~1\Flowcode1.elf" "C:\flow\ULTRAS~1\Flowcode1.c" "C:\flow\ULTRAS~1\Flowcode1.lst"
Launching compiler...
ERROR: Can not launch process: A rendszer nem tal�lja a megadott f�jlt.

Completed compilation, return = 255

C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat reported error code 255



FINISHED

Win10 64bit
Attachments
warning.jpg
warning.jpg (58.98 KiB) Viewed 10458 times

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: FC7.3 compiele to hex error's

Post by kersing »

Have you recently updated your Windows 10 installation or your Virus scanner? (Perhaps for the Meltdown/Spectre issues?)
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: FC7.3 compiele to hex error's

Post by STibor »

kersing wrote:Have you recently updated your Windows 10 installation or your Virus scanner? (Perhaps for the Meltdown/Spectre issues?)
Windows is up to date. The antivirus is Eset Nod32.
I turned off the antivirus, it has no effect on the operation.
I think I'm going to reinstall Flow7.2.

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: FC7.3 compiele to hex error's

Post by stefan.erni »

Hi Ben

I tested my program on a third computer with FC7.3 and win 10 and it's ok.

Later I will test what's going on at the other computer.(it's a win7)

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: FC7.3 compiele to hex error's

Post by Benj »

STibor - This FAQ may be of help to you. Is the compile problem just for AVR?
http://www.matrixtsl.com/faq/index.php? ... artlang=en

Stefan - I'm not getting the same compile errors as you so not sure what's going wrong there. I'll have a bit more of an investigation.

It looks like this is a bit of a clue.
In file included from C:\C#_SOU~1\_#FC\TESTPR~1\CRASH_~1\Flowcode_Emg_2018_main_crashtest.c:89:0:
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_SPI.c: In function 'FC_CAL_SPI_Master_Init_2':
C:\C#_SOU~1\_#FC\TESTPR~1\CRASH_~1\Flowcode_Emg_2018_main_crashtest.c:167:28: error: 'tris' undeclared (first use in this function)
#define MX_SPI_MISO_TRIS_2 tris
If you have a look at the Flowcode generated C file, around line 362 then there could be a pin that isn't being defined correctly, e.g. like my SS pin is just a tris with no letter after e.g. trisa. Luckily this is not currently used so we can ignore this one.
#define MX_SPI_SS_TRIS_1 tris
#define MX_SPI_MISO_PORT_1 portd
#define MX_SPI_SCK_TRIS_1 trisg
#define MX_SPI_SCK_PIN_1 (6)
#define MX_SPI_MOSI_TRIS_1 trisf
#define MX_SPI_BMODE_1 (1)
#define MX_SPI_MISO_TRIS_1 trisd
#define MX_SPI_MOSI_PIN_1 (0)
#define MX_SPI_MISO_PIN_1 (11)
#define MX_SPI_SS_PIN_1 (0)
#define MX_SPI_PR_SCALE_1 (0)
#define MX_SPI_SS_PORT_1 port
#define MX_SPI_SCK_PORT_1 portg
#define MX_SPI_MOSI_PORT_1 portf
#define MX_SPI_CHANNEL_1 (2)
I don't seem to have "MX_SPI_MISO_TRIS_2" defined in the project you attached.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: FC7.3 compiele to hex error's

Post by STibor »

All controllers were defective.
Unfortunately, this method did not work well.He was able to fix it quite complicated.
1. Usual installation (before Flowcode uninstall and delete folder).
2. Deleted Installed Program (Delete, No Uninstall)
3.3. From the old (full) backup I copied the old backup to the Flowcode installation folder. (then v7.2 was already working)
4. Uninstall and delete a folder.
5. Install v7.3.0.5It's working now.
The UART data injector still does not recognize the COM port.

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: FC7.3 compiele to hex error's

Post by Benj »

Hello,

Glad you are able to compile again correctly now.

Regarding missing COM ports have you seen this topic.
viewtopic.php?f=68&t=19686

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: FC7.3 compiele to hex error's

Post by stefan.erni »

Hi Ben

I tried to solve the error's.
The compilere shows me error in a Icon what I disabled.
Do you now why?

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

Re: FC7.3 compilador ERROR

Post by volodymyr0604 »

Hola Benj.
After installing Flowcode 7.3.0.6, an incomprehensible error occurred during compilation. STM32F407VET6.
On Flowcode 7.2, this error was not. Tell me what the problem is.

Iniciando el compilador…
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "REGULADOR-82_03" "F:\##PROE~1\#$RED-~1\STM32F~4\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "512K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error -1

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: FC7.3 compiele to hex error's

Post by LeighM »

Could you try moving your project into a directory path that only contains ASCII alpha-numeric characters?
Just to see if the problem is with the path.
Thanks

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

Re: FC7.3 compiele to hex error's

Post by volodymyr0604 »

Hola LeighM.
Installed version 7.2.1.4, a directory with only letters, the same problem, maybe it's a problem with Windows.
Recently reinstalled Windows 7x64.

Target folder: F:\PROECTOS\RED-REGULADOR FASE\STM32F~4
Source name: F:\PROECTOS\RED-REGULADOR FASE\STM32F407VET6\REGULADOR-82_03.fcfx
Device: ARM.F4.32F407VE
Generated by: Flowcode v7.2.1.4
Date: Monday, January 29, 2018 18:59:39
Users: 1
Registered to: volodymyr0604
Licence key: 4C3QV6
http://www.matrixtsl.com
Iniciando el compilador…
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "REGULADOR-82_03" "F:\PROECTOS\RED-REGULADOR FASE\STM32F~4\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "512K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error -1
FINALIZADO

Thanks.

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: FC7.3 compiele to hex error's

Post by LeighM »


User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: FC7.3 compiele to hex error's

Post by STibor »

Benj wrote:Hello,

Glad you are able to compile again correctly now.

Regarding missing COM ports have you seen this topic.
viewtopic.php?f=68&t=19686
Hello!

I identified the problem.
Windows UAC's function is crazy.
Even though it turned off, it still turned on and disallowed administrator access to the files.
I have banned UAC manually, and since then it has been working perfectly.

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

Re: FC7.3 compiele to hex error's

Post by volodymyr0604 »

Hola.
Flowkode 7.3.The same error when compiled, account control disabled
С++ 2015 installed. Tell me what could be the problem.

Iniciando el compilador…
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "REGULADOR_83" "F:\PROECTOS\RED-REGULADOR FASE\STM32F~4\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "512K" "128K"
ERROR: Can not launch process: ?? ??????? ????? ????????? ????.
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error -1
FINALIZADO

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: FC7.3 compiele to hex error's

Post by Benj »

Hello,

Could be a short path name problem, this seems to affect the GCC based compilers (AVR / ARM) more than the PIC compilers.
http://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: FC7.3 compiele to hex error's

Post by volodymyr0604 »

Hello Benj.
I installed FC 7.3.0.5, I2C error occurred.
FC 7.2.1.4 + Patch FC 7.3.0.5 the same error.
I2C is installed in the software mode 400 kbps.
Tell me what the problem is.
Thank you.
=============================
Generated by: Flowcode v7.3.0.5
Date: Thursday, February 15, 2018 19:21:21
Iniciando el compilador…
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "REGULADOR_83_01" "F:\PROECTOS\RED-REGULADOR FASE\STM32F~4\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "512K" "128K"
Device STM32F407xx
F:\PROECTOS\RED-REGULADOR FASE\STM32F~4>arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Os -DSTM32 -DSTM32F4 -DSTM32F407xx -DUSE_HAL_DRIVER -DHSE_VALUE=8000000 -IC:\PROGRA~2\FLOWCO~1\COMPIL~1\STARM\batch\..\stm32cubeF4\Drivers\CMSIS\Include -IC:\PROGRA~2\FLOWCO~1\COMPIL~1\STARM\batch\..\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include -IC:\PROGRA~2\FLOWCO~1\COMPIL~1\STARM\batch\..\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc -IC:\PROGRA~2\FLOWCO~1\COMPIL~1\STARM\batch\..\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy -IC:\PROGRA~2\FLOWCO~1\COMPIL~1\STARM\batch\..\inc -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "REGULADOR_83_01.c" -o "REGULADOR_83_01_STM32F407xx_8000000\REGULADOR_83_01.o"
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:289:0,
from REGULADOR_83_01.c:2523:
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_I2C.c: In function 'FC_CAL_I2C_Master_Init_1':
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_I2C.c:262:4: error: #error "ARM does not support I2C in this mode - SW implementation only"
#error "ARM does not support I2C in this mode - SW implementation only"
^
Error(s) in build

C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error 1

FINALIZAD

Post Reply