cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F469I-Discovery demo does not compile

gergely
Associate II
Posted on November 04, 2015 at 21:28

Hi!

I've just got my STM32F469I-Discovery board. I'm trying to compile the provided demonstration example, but I got the following Errors.

*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'STM32469I-DISCO_Demo'
compiling GUIConf.c...
assembling startup_stm32f469xx.s...
compiling cs43lc...
compiling ft6xc...
compiling otm8009a.c...
compiling LCDConf.c...
compiling audio_if.c...
compiling audio_player_win.c...
compiling stm32469i_discovery.c...
compiling audio_player_app.c...
compiling settings_win.c...
compiling stm32469i_discovery_audio.c...
compiling stm32469i_discovery_sdram.c...
compiling stm32469i_discovery_ts.c...
compiling stm32469i_discovery_qspi.c...
compiling stm32469i_discovery_sd.c...
compiling gardening_control_win.c...
compiling video_player_win.c...
compiling usbh_conf.c...
compiling ff_gen_drv.c...
compiling games_win.c...
compiling diskio.c...
compiling ff.c...
compiling home_alarm_win.c...
compiling usbh_msc_bot.c...
compiling usbh_msc.c...
compiling usbh_msc_scsi.c...
compiling usbh_pipes.c...
compiling usbh_core.c...
compiling usbh_ioreq.c...
compiling usbh_ctlreq.c...
compiling k_bsp.c...
compiling k_storage.c...
compiling k_menu.c...
compiling stm32f4xx_it.c...
compiling k_rtc.c...
compiling main.c...
compiling GUI_X_OS.c...
compiling stm32f4xx_hal_pwr.c...
compiling k_module.c...
compiling k_startup.c...
compiling stm32f4xx_hal_dma_ex.c...
compiling stm32f4xx_hal_fmpi2c.c...
compiling stm32f4xx_hal_irda.c...
compiling stm32f4xx_hal_rcc_ex.c...
compiling stm32f4xx_hal_hash_ex.c...
compiling stm32f4xx_hal_can.c...
compiling stm32f4xx_hal_ltdc_ex.c...
compiling stm32f4xx_hal_msp_template.c...
compiling stm32f4xx_ll_fmc.c...
compiling stm32f4xx_hal_i2c.c...
compiling stm32f4xx_hal_rtc.c...
compiling stm32f4xx_hal_sai.c...
compiling stm32f4xx_hal_cec.c...
compiling stm32f4xx_hal_dcmi.c...
compiling stm32f4xx_hal_i2s_ex.c...
compiling stm32f4xx_ll_sdmmc.c...
compiling stm32f4xx_hal_sai_ex.c...
compiling stm32f4xx_hal_nand.c...
compiling stm32f4xx_hal_sram.c...
compiling stm32f4xx_hal.c...
compiling stm32f4xx_hal_rng.c...
compiling stm32f4xx_hal_hash.c...
compiling stm32f4xx_hal_dma.c...
compiling stm32f4xx_hal_spdifrx.c...
compiling stm32f4xx_hal_cryp_ex.c...
compiling stm32f4xx_hal_fmpi2c_ex.c...
compiling stm32f4xx_hal_usart.c...
compiling stm32f4xx_hal_smartcard.c...
compiling stm32f4xx_hal_dma2d.c...
compiling stm32f4xx_hal_nor.c...
compiling stm32f4xx_hal_sd.c...
compiling stm32f4xx_hal_pccard.c...
compiling stm32f4xx_ll_usb.c...
compiling stm32f4xx_hal_iwdg.c...
compiling stm32f4xx_hal_rtc_ex.c...
compiling stm32f4xx_hal_ltdc.c...
compiling stm32f4xx_hal_uart.c...
compiling stm32f4xx_hal_hcd.c...
compiling stm32f4xx_hal_adc.c...
compiling stm32f4xx_hal_pcd.c...
compiling stm32f4xx_hal_spi.c...
compiling stm32f4xx_hal_tim.c...
compiling stm32f4xx_hal_dsi.c...
compiling stm32f4xx_hal_cryp.c...
compiling stm32f4xx_hal_flash.c...
compiling stm32f4xx_hal_qspi.c...
compiling stm32f4xx_hal_crc.c...
compiling stm32f4xx_hal_dcmi_ex.c...
compiling stm32f4xx_hal_dac_ex.c...
compiling stm32f4xx_hal_gpio.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_flash_ex.c...
compiling stm32f4xx_hal_rcc.c...
compiling stm32f4xx_hal_i2s.c...
compiling stm32f4xx_hal_pwr_ex.c...
compiling stm32f4xx_hal_i2c_ex.c...
compiling stm32f4xx_hal_wwdg.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal_pcd_ex.c...
compiling stm32f4xx_hal_sdram.c...
compiling stm32f4xx_ll_fsmc.c...
compiling stm32f4xx_hal_dac.c...
compiling stm32f4xx_hal_adc_ex.c...
compiling system_stm32f4xx.c...
compiling stm32f4xx_hal_eth.c...
compiling cpu_utils.c...
compiling unicode.c...
compiling syscall.c...
compiling list.c...
compiling queue.c...
compiling tasks.c...
compiling croutine.c...
compiling event_groups.c...
compiling timers.c...
compiling cmsis_os.c...
compiling heap_4.c...
compiling port.c...
compiling audio_recorder_app.c...
compiling audio_recorder_win.c...
compiling usbh_diskio.c...
linking...
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #26 '$t' in .bss(GUI_Alloc.o:7) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #19 '$t' in .bss(IMAGE.o:8) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #54 '$t' in .bss(LISTVIEW.o:9) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #26 '$t' in .bss(GUI__Alpha.o:9) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #27 '$t' in .bss(GUI__Alpha.o:10) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #31 '$t' in .bss(GUI_Timer.o:7) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #30 '$t' in .bss(GUIAA_Lib.o:7) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #19 '$t' in .bss(GUI_Curs1.o:7) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Warning: L6170W: Mapping symbol #114 '$t' in .bss(GUI_SetAlpha.o:7) identifies code, but is in a section not marked as executable.
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUI_Alloc.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUIAA_Lib.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUI_Curs1.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUI_SetAlpha.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUI__Alpha.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUI_Timer.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches IMAGE.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches GUI__Alpha.o(.bss).
STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf: Error: L6405E: No .ANY selector matches LISTVIEW.o(.bss).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 9 warning and 9 error messages.
''STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf'' - 9 Error(s), 9 Warning(s).
Target not created.
Build Time Elapsed: 00:04:10

I'm using the latest STM32CubeF4 1.9.0. demonstration project out of the box. The latest Keil MDK517 Anyone solved it yet? Thanx
5 REPLIES 5
Posted on November 04, 2015 at 21:53

Probably wasn't built for 5.17, that was released about 5 days ago.

Looks like something objectionable in the scatter file.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gergely
Associate II
Posted on November 04, 2015 at 22:13

The scatter file seems to be simple for me.

; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00200000 { ; load region size_region
ER_IROM1 0x08000000 0x00200000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000000 0x00050000 { ; RW data
.ANY (+RW +ZI)
}
}
LR_QSPI 0x90000000 0x1FFFFFF {
ER_QSPI 0x90000000 0x1FFFFFF {
*.o (.ExtQSPIFlashSection)
}
}

Posted on November 04, 2015 at 22:45

Builds without issue in uv5.15, too big for the demo/eval

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil515\ARM\ARMCC\Bin'
Build target 'STM32469I-DISCO_Demo'
compiling audio_if.c...
compiling LCDConf.c...
compiling GUIConf.c...
assembling startup_stm32f469xx.s...
compiling cs43lc...
compiling ft6xc...
compiling otm8009a.c...
compiling audio_player_win.c...
compiling audio_player_app.c...
compiling settings_win.c...
compiling stm32469i_discovery.c...
compiling stm32469i_discovery_audio.c...
compiling stm32469i_discovery_sdram.c...
compiling stm32469i_discovery_ts.c...
compiling stm32469i_discovery_qspi.c...
compiling stm32469i_discovery_sd.c...
compiling video_player_win.c...
compiling gardening_control_win.c...
compiling usbh_conf.c...
compiling games_win.c...
compiling home_alarm_win.c...
compiling ff_gen_drv.c...
compiling diskio.c...
compiling ff.c...
compiling usbh_msc_bot.c...
compiling usbh_msc.c...
compiling usbh_msc_scsi.c...
compiling usbh_pipes.c...
compiling usbh_core.c...
compiling usbh_ioreq.c...
compiling usbh_ctlreq.c...
compiling k_bsp.c...
compiling k_storage.c...
compiling k_menu.c...
compiling stm32f4xx_it.c...
compiling k_rtc.c...
compiling main.c...
compiling k_module.c...
compiling k_startup.c...
compiling GUI_X_OS.c...
compiling stm32f4xx_hal_pwr.c...
compiling stm32f4xx_hal_dma_ex.c...
compiling stm32f4xx_hal_irda.c...
compiling stm32f4xx_hal_fmpi2c.c...
compiling stm32f4xx_hal_rcc_ex.c...
compiling stm32f4xx_hal_can.c...
compiling stm32f4xx_hal_hash_ex.c...
compiling stm32f4xx_hal_ltdc_ex.c...
compiling stm32f4xx_hal_msp_template.c...
compiling stm32f4xx_ll_fmc.c...
compiling stm32f4xx_hal_i2c.c...
compiling stm32f4xx_hal_rtc.c...
compiling stm32f4xx_hal_sai.c...
compiling stm32f4xx_hal_cec.c...
compiling stm32f4xx_hal_dcmi.c...
compiling stm32f4xx_hal_i2s_ex.c...
compiling stm32f4xx_ll_sdmmc.c...
compiling stm32f4xx_hal_sai_ex.c...
compiling stm32f4xx_hal_nand.c...
compiling stm32f4xx_hal_sram.c...
compiling stm32f4xx_hal.c...
compiling stm32f4xx_hal_rng.c...
compiling stm32f4xx_hal_hash.c...
compiling stm32f4xx_hal_dma.c...
compiling stm32f4xx_hal_spdifrx.c...
compiling stm32f4xx_hal_cryp_ex.c...
compiling stm32f4xx_hal_usart.c...
compiling stm32f4xx_hal_fmpi2c_ex.c...
compiling stm32f4xx_hal_smartcard.c...
compiling stm32f4xx_hal_dma2d.c...
compiling stm32f4xx_hal_nor.c...
compiling stm32f4xx_hal_sd.c...
compiling stm32f4xx_ll_usb.c...
compiling stm32f4xx_hal_pccard.c...
compiling stm32f4xx_hal_iwdg.c...
compiling stm32f4xx_hal_rtc_ex.c...
compiling stm32f4xx_hal_ltdc.c...
compiling stm32f4xx_hal_uart.c...
compiling stm32f4xx_hal_adc.c...
compiling stm32f4xx_hal_hcd.c...
compiling stm32f4xx_hal_pcd.c...
compiling stm32f4xx_hal_spi.c...
compiling stm32f4xx_hal_tim.c...
compiling stm32f4xx_hal_dsi.c...
compiling stm32f4xx_hal_cryp.c...
compiling stm32f4xx_hal_flash.c...
compiling stm32f4xx_hal_qspi.c...
compiling stm32f4xx_hal_crc.c...
compiling stm32f4xx_hal_dcmi_ex.c...
compiling stm32f4xx_hal_dac_ex.c...
compiling stm32f4xx_hal_gpio.c...
compiling stm32f4xx_hal_flash_ex.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_rcc.c...
compiling stm32f4xx_hal_i2s.c...
compiling stm32f4xx_hal_pwr_ex.c...
compiling stm32f4xx_hal_i2c_ex.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling stm32f4xx_hal_wwdg.c...
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal_pcd_ex.c...
compiling stm32f4xx_hal_sdram.c...
compiling stm32f4xx_ll_fsmc.c...
compiling stm32f4xx_hal_dac.c...
compiling stm32f4xx_hal_adc_ex.c...
compiling stm32f4xx_hal_eth.c...
compiling system_stm32f4xx.c...
compiling cpu_utils.c...
compiling unicode.c...
compiling syscall.c...
compiling audio_recorder_app.c...
compiling audio_recorder_win.c...
compiling list.c...
compiling queue.c...
compiling tasks.c...
compiling croutine.c...
compiling event_groups.c...
compiling timers.c...
compiling cmsis_os.c...
compiling heap_4.c...
compiling port.c...
compiling usbh_diskio.c...
linking...
Program Size: Code=289486 RO-data=8393878 RW-data=3912 ZI-data=274912 
FromELF: creating hex file...
''STM32469I-DISCO_Demo\STM32469I-DISCO_Demo.axf'' - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:06:20

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gergely
Associate II
Posted on November 04, 2015 at 22:49

Thank you for checking it. My fault, I forgot to add my licence key when upgraded the MDK.

Posted on November 04, 2015 at 22:58

I've been using uv4 and the SPL to build apps for the STM32F469I-DISCO, not much of a Cube/HAL fan.

Right now I have the USART, LED, SDIO and SDRAM running. Also building with GNU/GCC although 4.9.3 seems buggy.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..