problem with debugging the GPIO existing code on the stm32L4RG board
Hi Dalino,
Thanks a lot.
We are not able to locate .elf file anywhere in our project. After building our project, in debug folder of our project explorer, there are only .mk files but not .elf file. Anyway we searched .elf in our whole project, instead of STM32L476RG_NUCLEO.elf we found STM32L476RG_NUCLEO.elf.launch file in the location “/home/controller/Ac6/SystemWorkbench/STM32Cube_FW_L4_V1.8.0/STM32Cube_FW_L4_V1.8.1/Projects/STM32L476RG-Nucleo/Examples/GPIO/GPIO_EXTI/TrueSTUDIO/STM32L476RG_NUCLEO”.
I dont know why .elf file is not generating after building our project successfully? please suggest
one more thing to clarify, whenever we are building our project, in Debugger configuration under debugger tab, “STM32L476RG_FLASH.ld” file is loaded automatically instead of .elf file. and it is showing the same error - Error in final launch sequence
Failed to execute MI command:
symbol-file /home/controller/Ac6/SystemWorkbench/STM32Cube_FW_L4_V1.8.0/STM32Cube_FW_L4_V1.8.1/Projects/STM32L476RG-Nucleo/Examples/GPIO/GPIO_EXTI/TrueSTUDIO/STM32L476RG_NUCLEO/STM32L476RG_FLASH.ld
Error message from debugger back end:
`/home/controller/Ac6/SystemWorkbench/STM32Cube_FW_L4_V1.8.0/STM32Cube_FW_L4_V1.8.1/Projects/STM32L476RG-Nucleo/Examples/GPIO/GPIO_EXTI/TrueSTUDIO/STM32L476RG_NUCLEO/STM32L476RG_FLASH.ld’: can’t read symbols: File format not recognized.
Please find the attached screenshot of debug folder having only .mk file not .elf file.
Thanks