2023-12-20 02:11 AM
Hi All,
I am having an issue which is persistent for more than a week. I created a simple blink LED program using STM32 CUBE IDE IDE. I compiled it OK. Then, I tried to run it on the board, CUDE IDE got stuck. I can see from the progress bar that Launching: initializing debugger services. The progress is stuck at %51 and does not change even if I wait for ages. To identify the root cause, I tried below steps.
So, it got me thinking that STM CUBE IDE on my PC has something wrong. As I can not purchase another laptop as a solution, I am looking forward to hearing some help from the community. Please see attachments and provide me some guidance.
Thank you in advance.
2023-12-20 04:01 AM
2023-12-20 04:27 AM
Sorry Mahmoud, I totally forgot that.
It is ST32F407G-DISC1 (MB997E).
2023-12-21 01:59 AM
Hello @demir ,
For more investigations, I suggest that you provide please the Debug session configurations and the Project.build.log File. You can find it under Properties (Alt+Enter)> C/C++ Build>Logging.
Thanks.
Mahmoud.
2023-12-21 02:19 AM
Hi Mahmoud,
Please find it below.
09:28:42 **** Incremental Build of configuration Debug for project blinking ****
make -j8 all
arm-none-eabi-gcc -o "blinking.elf" @"objects.list" -mcpu=cortex-m4 -T"C:\Users\blinking\STM32F407VGTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="blinking.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: blinking.elf
arm-none-eabi-size blinking.elf
arm-none-eabi-objdump -h -S blinking.elf > "blinking.list"
text data bss dec hex filename
35620 132 4124 39876 9bc4 blinking.elf
arm-none-eabi-objcopy -O ihex blinking.elf "blinking.hex"
Finished building: default.size.stdout
arm-none-eabi-objcopy -O binary blinking.elf "blinking.bin"
Finished building: blinking.list
Finished building: blinking.hex
Finished building: blinking.bin
"make -j8 all" terminated with exit code -1. Build might be incomplete.
09:28:49 Build Finished. 0 errors, 0 warnings. (took 6s.963ms)
2023-12-23 04:05 PM - edited 2023-12-23 04:06 PM
> "make -j8 all" terminated with exit code -1. Build might be incomplete.
Why?
Can you check how much free space you have on the disk?
In the project settings, remove creation of bin and hex files unless you need them specifically.
2023-12-23 11:52 PM
Seems your build config is ok , but debuger setup completely fail. create new debug configuration in debug button menu.
2023-12-24 07:18 AM - edited 2023-12-24 07:48 AM
Hi Pavel,
Hex and bin files are already not generated. I have 48gb available disk space.
I dont know why the build fails, how can I correct it ?
2023-12-24 07:20 AM - edited 2023-12-24 07:49 AM
I havent played with configuration, it is all default. Could you pls direct me what to check ?
2023-12-25 03:03 PM
Everything looks good, except of the unexplainable make error. Then it looks indeed like a problem with your computer. Windows is a complicated system, too many things can go wrong in it.