Page 1 of 1

FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 2:12 pm
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 275 times

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 2:24 pm
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?

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 2:41 pm
by stefan.erni
I can not compile to hex an empty PIC32 program.
But a STM32 is working

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 3:03 pm
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

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 3:51 pm
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?

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 4:05 pm
by stefan.erni
Hi Ben

A lot of messages....
Flowcode_Emg_2018_main_crashtest.msg.txt
(5.8 KiB) Downloaded 300 times

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 5:48 pm
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.

Re: FC7.3 compiele to hex error's

Posted: Fri Jan 12, 2018 6:00 pm
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.

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 15, 2018 7:55 am
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

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 15, 2018 9:00 am
by kersing
Have you recently updated your Windows 10 installation or your Virus scanner? (Perhaps for the Meltdown/Spectre issues?)

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 15, 2018 9:22 am
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.

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 15, 2018 10:24 am
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)

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 15, 2018 5:39 pm
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.

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 15, 2018 7:17 pm
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.

Re: FC7.3 compiele to hex error's

Posted: Wed Jan 17, 2018 1:38 pm
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

Re: FC7.3 compiele to hex error's

Posted: Thu Jan 18, 2018 10:31 am
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?

Re: FC7.3 compilador ERROR

Posted: Sat Jan 27, 2018 5:47 pm
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

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 29, 2018 1:32 pm
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

Re: FC7.3 compiele to hex error's

Posted: Mon Jan 29, 2018 7:12 pm
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.

Re: FC7.3 compiele to hex error's

Posted: Tue Jan 30, 2018 11:08 am
by LeighM

Re: FC7.3 compiele to hex error's

Posted: Wed Jan 31, 2018 6:46 am
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.

Re: FC7.3 compiele to hex error's

Posted: Sat Feb 10, 2018 7:51 am
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

Re: FC7.3 compiele to hex error's

Posted: Mon Feb 12, 2018 2:07 pm
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

Re: FC7.3 compiele to hex error's

Posted: Thu Feb 15, 2018 7:52 pm
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