Device: ARM.F4.32F407VE

Use this section to discuss your embedded Flowcode projects.
Post Reply
smartsolutions
Posts: 1
http://meble-kuchenne.info.pl
Joined: Sun Oct 22, 2023 11:05 pm

Device: ARM.F4.32F407VE

Post by smartsolutions »

Hi Guys
I have been using Flowcode for years with PICs and Arduino
but I'm new to the ST ARM development board
I have installed all the required compilers and tools
and I made a simple project
one I try to compile it the the target device it show me the following message


Target folder: C:\Users\Ghazwan\Desktop\Flowcodee test
Source name: C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32.fcfx
Title:
Description:
Device: ARM.F4.32F407VE
Generated by: Flowcode v10.0.4.33
Date: Wednesday, November 01, 2023 20:36:29
Users: 1
Registered to: smartsolutions (94754207)
Licence key: 5RMGJ9
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM\batch\stm32comp.bat "STARM32" "C:\Users\Ghazwan\Desktop\Flowcodee test\" "32F407xx" "F4" "stm32f_ccm64.ld" "8000000" "512K" "128K" "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\"

C:\Users\Ghazwan\Desktop\Flowcodee test>REM CRC: 1CECFE3DB3A1BD5169AEA98AD43ADE631EF0A88FFA736FBD84BE44176323F463C8515F4CD0D20BEBDFE06A9E70103FA105C640EF477B79E0C7881D2E5EEC9BD69A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF532505B4DECBAEAC96954F191918D76F05058F85C62E78168DB2117B7F66DFFAB9D4CD39D9819A47B593E224EEC6BA2B1CF18B22880D87C51B667E8BA6E12E6B26FA06B6F4F108199331CCC4A9A2DADF899B5E4011DBDD5202C3050DA273BE4EEBA213254BC0AD6E15FDF8E24F7A49525E37122B659B22A01CA71203F3D907500295E1D946A835C79

C:\Users\Ghazwan\Desktop\Flowcodee test>REM REVISION: 1.0

C:\Users\Ghazwan\Desktop\Flowcodee test>REM GUID: E810EE73-4726-4718-B23E-B579C5ADBC40

C:\Users\Ghazwan\Desktop\Flowcodee test>REM DATE: 08\08\2022

C:\Users\Ghazwan\Desktop\Flowcodee test>REM DIR: FCD\ARM\batch\stm32comp.bat

Project STARM32
Device STM32F407xx


C:\Users\Ghazwan\Desktop\Flowcodee test>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 -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "STARM32.c" -o "STARM32_STM32F407xx_8000000\STARM32.o"

C:\Users\Ghazwan\Desktop\Flowcodee test>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 -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc\startup_STM32F407xx.s" -o "STARM32_STM32F407xx_8000000\startup.o"

C:\Users\Ghazwan\Desktop\Flowcodee test>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 -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32F4xx.c" -o "STARM32_STM32F407xx_8000000\system.o"

C:\Users\Ghazwan\Desktop\Flowcodee test>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 -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\src\syscalls.c" -o "STARM32_STM32F407xx_8000000\syscalls.o"

C:\Users\Ghazwan\Desktop\Flowcodee test>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 -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\stm32cubeF4\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\inc" -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\src\MX_IRQs.c" -o "STARM32_STM32F407xx_8000000\MX_IRQs.o"

C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32_STM32F407xx_8000000>arm-none-eabi-gcc -O -g -w -Wl,-T"C:\Program Files (x86)\Flowcode\Common\Compilers\starm\link\stm32f_ccm64.ld",--gc-sections -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Os -Xlinker --defsym=_ROMSIZE=512K -Xlinker --defsym=_RAMSIZE=128K "MX_IRQs.o" "STARM32.o" "startup.o" "stm32f4xx_hal.o" "stm32f4xx_hal_adc.o" "stm32f4xx_hal_adc_ex.o" "stm32f4xx_hal_can.o" "stm32f4xx_hal_cec.o" "stm32f4xx_hal_cortex.o" "stm32f4xx_hal_crc.o" "stm32f4xx_hal_cryp.o" "stm32f4xx_hal_cryp_ex.o" "stm32f4xx_hal_dac.o" "stm32f4xx_hal_dac_ex.o" "stm32f4xx_hal_dcmi.o" "stm32f4xx_hal_dcmi_ex.o" "stm32f4xx_hal_dfsdm.o" "stm32f4xx_hal_dma.o" "stm32f4xx_hal_dma2d.o" "stm32f4xx_hal_dma_ex.o" "stm32f4xx_hal_dsi.o" "stm32f4xx_hal_eth.o" "stm32f4xx_hal_exti.o" "stm32f4xx_hal_flash.o" "stm32f4xx_hal_flash_ex.o" "stm32f4xx_hal_flash_ramfunc.o" "stm32f4xx_hal_fmpi2c.o" "stm32f4xx_hal_fmpi2c_ex.o" "stm32f4xx_hal_gpio.o" "stm32f4xx_hal_hash.o" "stm32f4xx_hal_hash_ex.o" "stm32f4xx_hal_hcd.o" "stm32f4xx_hal_i2c.o" "stm32f4xx_hal_i2c_ex.o" "stm32f4xx_hal_i2s.o" "stm32f4xx_hal_i2s_ex.o" "stm32f4xx_hal_irda.o" "stm32f4xx_hal_iwdg.o" "stm32f4xx_hal_lptim.o" "stm32f4xx_hal_ltdc.o" "stm32f4xx_hal_ltdc_ex.o" "stm32f4xx_hal_mmc.o" "stm32f4xx_hal_nand.o" "stm32f4xx_hal_nor.o" "stm32f4xx_hal_pccard.o" "stm32f4xx_hal_pcd.o" "stm32f4xx_hal_pcd_ex.o" "stm32f4xx_hal_pwr.o" "stm32f4xx_hal_pwr_ex.o" "stm32f4xx_hal_qspi.o" "stm32f4xx_hal_rcc.o" "stm32f4xx_hal_rcc_ex.o" "stm32f4xx_hal_rng.o" "stm32f4xx_hal_rtc.o" "stm32f4xx_hal_rtc_ex.o" "stm32f4xx_hal_sai.o" "stm32f4xx_hal_sai_ex.o" "stm32f4xx_hal_sd.o" "stm32f4xx_hal_sdram.o" "stm32f4xx_hal_smartcard.o" "stm32f4xx_hal_smbus.o" "stm32f4xx_hal_spdifrx.o" "stm32f4xx_hal_spi.o" "stm32f4xx_hal_sram.o" "stm32f4xx_hal_tim.o" "stm32f4xx_hal_tim_ex.o" "stm32f4xx_hal_uart.o" "stm32f4xx_hal_usart.o" "stm32f4xx_hal_wwdg.o" "stm32f4xx_ll_adc.o" "stm32f4xx_ll_crc.o" "stm32f4xx_ll_dac.o" "stm32f4xx_ll_dma.o" "stm32f4xx_ll_dma2d.o" "stm32f4xx_ll_exti.o" "stm32f4xx_ll_fmc.o" "stm32f4xx_ll_fsmc.o" "stm32f4xx_ll_gpio.o" "stm32f4xx_ll_i2c.o" "stm32f4xx_ll_lptim.o" "stm32f4xx_ll_pwr.o" "stm32f4xx_ll_rcc.o" "stm32f4xx_ll_rng.o" "stm32f4xx_ll_rtc.o" "stm32f4xx_ll_sdmmc.o" "stm32f4xx_ll_spi.o" "stm32f4xx_ll_tim.o" "stm32f4xx_ll_usart.o" "stm32f4xx_ll_usb.o" "stm32f4xx_ll_utils.o" "syscalls.o" "system.o" -o "..\STARM32.elf" -lm

C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32_STM32F407xx_8000000>arm-none-eabi-objcopy -O ihex "..\STARM32.elf" "..\STARM32.hex"

C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32_STM32F407xx_8000000>arm-none-eabi-objcopy -O binary "..\STARM32.elf" "..\STARM32.bin"

C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32_STM32F407xx_8000000>arm-none-eabi-objdump -t -d -h "..\STARM32.elf" 1>"STARM32.lst"

C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32_STM32F407xx_8000000>arm-none-eabi-size -B "..\STARM32.elf"
text data bss dec hex filename
8228 16 1716 9960 26e8 ..\STARM32.elf
Compilation successful

Using FCD settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe

Using FCD settings for programmer
Launching the programmer...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM\batch\stm32prog.bat "C:\Users\Ghazwan\Desktop\Flowcodee test\" "STARM32" "C:\Program Files (x86)\Flowcode\Common\Compilers\starm\"

C:\Users\Ghazwan\Desktop\Flowcodee test>REM CRC: 1CECFE3DB3A1BD5169AEA98AD43ADE631EF0A88FFA736FBD84BE44176323F46305897AD4683B24ED9393CC59B427E5CD05C640EF477B79E0C7881D2E5EEC9BD6A32B46A47AAB2D21848A68B9581D31BC91C05B2A7E3ADB3C4D00059D79589982EDBE20EBDAF9AEA4D1AE70A8CC088650AD978ECA9708CBD3AE26FE2B443B1A54CEAB5FA9CD3C359C17CBCBF1307CE09B8AA4B5BB797BB4851E38E9CB84ACD873C9263088335ECB956A797116BF8EBD1D6E2636F1F4699F352C3050DA273BE4EEF309DB365199E6D956EA7E96E94DDED9B12C48A6DAC894BFE846F4249C78524CED7B734AF21E187E

C:\Users\Ghazwan\Desktop\Flowcodee test>REM REVISION: 3.0

C:\Users\Ghazwan\Desktop\Flowcodee test>REM GUID: E13FEC5D-534F-4BC4-AD1A-DDD0CAC3B044

C:\Users\Ghazwan\Desktop\Flowcodee test>REM DATE: 09\03\2021

C:\Users\Ghazwan\Desktop\Flowcodee test>REM DIR: FCD\ARM\batch\stm32prog.bat

C:\Users\Ghazwan\Desktop\Flowcodee test>PATH=C:\Program Files (x86)\Flowcode\Common\Compilers\starm\ST-LINK Utility

C:\Users\Ghazwan\Desktop\Flowcodee test>ST-LINK_CLI.exe -P "C:\Users\Ghazwan\Desktop\Flowcodee test\STARM32.hex" -Run
Error(s)!

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM\batch\stm32prog.bat reported error code 0x1

Autoclose turned off


FINISHED

Steve-Matrix
Matrix Staff
Posts: 1252
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Device: ARM.F4.32F407VE

Post by Steve-Matrix »

Please post your Flowcode project file as that will help determine the issue.

LeighM
Valued Contributor
Posts: 400
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 70 times
Been thanked: 217 times

Re: Device: ARM.F4.32F407VE

Post by LeighM »

... Also, what hardware do you have?
Such as, ST development board with embedded ST-LINK, stand alone ST-LINK programmer or something else?
Looks like the program has compiled ok but download has failed. Have you installed ST-LINK USB driver?

Post Reply