2024-05-22 03:28 AM
Hello,
I’m trying to build the tutorial project at https://www.micropeta.com/video43 using STM32CubeIDE , I’ve tried it for the stm32f103c8t6 and it builds without error but when I tried to debug it said that these no such dt.elf file or directory. I have check the workspace and the dt.elf is literally these. I even tried to Inclued the dt.elf manualy but it still didn't work
Can someone help me figure out what I am doing wrong?
2024-05-22 04:08 AM - edited 2024-05-22 04:10 AM
Hello,
dt.elf is a binary auto generated by the tool after compilation.
dt.elf needs to be in Debug folder. No need to move it to other location.
Could you please share your project so I can have a look at?
2024-05-22 04:31 AM
Thanks for your respond
Here is my project:
https://drive.google.com/file/d/1LBKrJpbTZYDN1Q1JnSnqM6HaBd-rl08U/view?usp=sharing
2024-05-22 04:34 AM
Hello,
Thanks. Could you please upload your project in the thread by drag and drop option:
2024-05-22 04:39 AM
Spaces or special characters in paths can cause issues.
Please remove the single quote from the username or use a different path. I usually put my projects in a folder directly in my root directory to avoid paths that are too long or have spaces.
2024-05-22 04:43 AM
2024-05-22 04:53 AM
Did you try my solution?
2024-05-22 04:55 AM
Hello,
I didn't face any issue to upload and start a debug session with your project:
Could you please regenerate the code and compile again?
2024-05-22 05:05 AM
sorry im in middle of a class and didn't bring my lap so I'll try your solution when i get home
2024-05-22 05:06 AM
I used the OCD debug prode like the tutorial project, when I used the GDB server it Could not verify ST device and failed to start GDB server, can you tell me how you config your ST-link GDB server