Hi, I have a problem when try to flash a program on this board. I have downloaded last bsp of 54608 from touchgfx site, 4.8.0 version of it, MCUXpresso and its sdk. I have create simple application with TouchGFX designer and if I try to run into simulator I haven't problem. But, if I generate code and try to open application in MCUXpresso I can't build it. I received error on fsl_power library during link.
Building target: application.axf
Invoking: MCU C++ Linker
arm-none-eabi-c++ -nostdlib -L"C:\Users\M\mcuxpresso\SDKPackages\SDK_2.2_LPCXpresso54608_MCUxpresso\devices\LPC54608\mcuxpresso" -L"C:\touchgfx\4.8.0\touchgfx\lib\core\cortex_m4f\gcc" -Xlinker -Map="application.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T "application_Debug.ld" -o "application.axf" ./board/board.o ./board/clock_config.o ./board/fsl_lcd_RK043.o ./board/fsl_phy.o ./board/fsl_spifi_54608_eval_board.o ./board/fsl_touch_ft5406.o ./board/leds.o ./board/pin_mux.o ./TouchGFXPort/OS/OSWrappers.o ./TouchGFXPort/MCU/CortexMMCUInstrumentation.o ./TouchGFXPort/MCU/NXP546XDMA.o ./TouchGFXPort/MCU/NXP546XHAL.o ./TouchGFXPort/Board/source/bsp/FT5336GQQTouchController.o ./TouchGFXPort/Board/source/BoardConfiguration.o ./TouchGFXPort/Board/source/GPIO.o ./OS/freertos_9.0.0-Source/portable/MemMang/heap_4.o ./OS/freertos_9.0.0-Source/portable/GCC/ARM_CM4F/fsl_tickless_systick.o ./OS/freertos_9.0.0-Source/portable/GCC/ARM_CM4F/port.o ./OS/freertos_9.0.0-Source/croutine.o ./OS/freertos_9.0.0-Source/event_groups.o ./OS/freertos_9.0.0-Source/list.o ./OS/freertos_9.0.0-Source/queue.o ./OS/freertos_9.0.0-Source/tasks.o ./OS/freertos_9.0.0-Source/timers.o ./LPC54608/utilities/fsl_debug_console.o ./LPC54608/mcuxpresso/startup_LPC54608.o ./LPC54608/drivers/fsl_adc.o ./LPC54608/drivers/fsl_clock.o ./LPC54608/drivers/fsl_common.o ./LPC54608/drivers/fsl_dma.o ./LPC54608/drivers/fsl_emc.o ./LPC54608/drivers/fsl_enet.o ./LPC54608/drivers/fsl_flexcomm.o ./LPC54608/drivers/fsl_fmc.o ./LPC54608/drivers/fsl_gpio.o ./LPC54608/drivers/fsl_i2c.o ./LPC54608/drivers/fsl_i2c_dma.o ./LPC54608/drivers/fsl_i2c_freertos.o ./LPC54608/drivers/fsl_inputmux.o ./LPC54608/drivers/fsl_lcdc.o ./LPC54608/drivers/fsl_power.o ./LPC54608/drivers/fsl_reset.o ./LPC54608/drivers/fsl_rtc.o ./LPC54608/drivers/fsl_sctimer.o ./LPC54608/drivers/fsl_spi.o ./LPC54608/drivers/fsl_spi_dma.o ./LPC54608/drivers/fsl_spi_freertos.o ./LPC54608/drivers/fsl_spifi.o ./LPC54608/drivers/fsl_spifi_dma.o ./LPC54608/drivers/fsl_usart.o ./LPC54608/drivers/fsl_usart_dma.o ./LPC54608/drivers/fsl_usart_freertos.o ./LPC54608/system_LPC54608.o ./Application/main/main.o ./Application/gui/src/screen1_screen/Screen1Presenter.o ./Application/gui/src/screen1_screen/Screen1View.o ./Application/gui/src/model/Model.o ./Application/gui/src/common/FrontendApplication.o ./Application/generated/texts/src/Texts.o ./Application/generated/texts/src/TypedTextDatabase.o ./Application/generated/images/src/__designer/Blue_Buttons_Round_Edge_small.o ./Application/generated/images/src/__designer/Blue_Buttons_Round_Edge_small_pressed.o ./Application/generated/images/src/BitmapDatabase.o ./Application/generated/gui_generated/src/screen1_screen/Screen1ViewBase.o ./Application/generated/gui_generated/src/common/FrontendApplicationBase.o ./Application/generated/fonts/src/ApplicationFontProvider.o ./Application/generated/fonts/src/FontGetters.o ./Application/generated/fonts/src/Font_verdana_10_4bpp.o ./Application/generated/fonts/src/Font_verdana_20_4bpp.o ./Application/generated/fonts/src/Font_verdana_40_4bpp.o ./Application/generated/fonts/src/Kerning_verdana_10_4bpp.o ./Application/generated/fonts/src/Kerning_verdana_20_4bpp.o ./Application/generated/fonts/src/Kerning_verdana_40_4bpp.o ./Application/generated/fonts/src/Table_verdana_10_4bpp.o ./Application/generated/fonts/src/Table_verdana_20_4bpp.o ./Application/generated/fonts/src/Table_verdana_40_4bpp.o -lfsl_power_lib_softabi -ltouchgfx
Memory region Used Size Region Size %age Used
PROGRAM_FLASH: 97876 B 512 KB 18.67%
c:/nxp/mcuxpressoide_10.0.0_344/ide/tools/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: error: C:\Users\M\mcuxpresso\SDKPackages\SDK_2.2_LPCXpresso54608_MCUxpresso\devices\LPC54608\mcuxpresso\libfsl_power_lib_softabi.a(fsl_power_lib.o) uses VFP register arguments, application.axf does not
SPIFI: 81678 B 256 MB 0.03%
c:/nxp/mcuxpressoide_10.0.0_344/ide/tools/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\M\mcuxpresso\SDKPackages\SDK_2.2_LPCXpresso54608_MCUxpresso\devices\LPC54608\mcuxpresso\libfsl_power_lib_softabi.a(fsl_power_lib.o)
SRAM_0_1_2_3: 23604 B 160 KB 14.41%
SRAMX: 0 GB 32 KB 0.00%
collect2.exe: error: ld returned 1 exit status
USB_RAM: 0 GB 8 KB 0.00%
make: *** [application.axf] Error 1
Have I to download others libraries?
Thanks
解決済! 解決策の投稿を見る。
Hi Mirko,
we had a problem with the SDK package for LPC546xx such that the soft ABI options wasn't working. A fix is being rolled out in the next few days, so look out for update messages at mcuxpresso.nxp.com.
regards,
Brendon
New release of SDK released today works!!!
Thanks NXP Team!!
Hi Mirko,
we had a problem with the SDK package for LPC546xx such that the soft ABI options wasn't working. A fix is being rolled out in the next few days, so look out for update messages at mcuxpresso.nxp.com.
regards,
Brendon
Thanks for the quick response. I look forward to the next release.
Regards,
Mirko