2024-12-09 03:12 AM - last edited on 2024-12-09 03:24 AM by Andrew Neil
i install stm32cube ide in my system and i installed but generate code does not show any error
2024-12-09 03:14 AM
@KrishSprio_2024 wrote:generate code does not show any error
That's usually a good thing?
2024-12-09 03:16 AM
but i can't generate code what i do
2024-12-09 03:23 AM - edited 2024-12-09 03:23 AM
You didn't mention that!
So give us a step-by-step description of precisely what you do when you try to generate code.
Also tell what platform you're on, and what versions you're using, and what target you're trying to generate for, etc:
https://community.st.com/t5/community-guidelines/tkb-p/community-guidelines
2024-12-09 03:28 AM - edited 2024-12-09 03:29 AM
Hello,
Describe what you did step by step. This important to know where you failed. If possible to share your project folder.
2024-12-09 04:21 AM - edited 2024-12-09 04:25 AM
stm32f103c8t6 and my debugger is stlinker v2 and also does n't visblile
2024-12-09 04:38 AM
This is a screen shot of CubeIDE welcome page.
You didn't describe what you did exactly: https://community.st.com/t5/community-guidelines/tkb-p/community-guidelines
Please review this wiki on how to create a project from scratch with STM32CubeIDE: https://wiki.st.com/stm32mpu/wiki/How_to_get_started_with_STM32CubeIDE_from_scratch
2024-12-09 04:39 AM
Again, you need to give us a step-by-step description of precisely what you do when you try to generate code.
2024-12-10 12:42 AM - edited 2024-12-10 12:45 AM
Open On-Chip Debugger 0.12.0+dev-00600-g090b431b1 (2024-09-13-19:14) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V2J45S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 2.929973
Error: init mode failed (unable to connect to the target)
its shows that target device connect but i properly connected
its final give this error for dbuger
Error in final launch sequence:
Failed to execute MI command:
target extended-remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
Failed to execute MI command:
target extended-remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
localhost:3333: Connection timed out.
2024-12-10 01:51 AM
What does that have to do with generating code?
You need to create a project first - before you can debug it!
See this "MOOC" (online video course) - STM32CubeIDE basics:
https://www.youtube.com/playlist?list=PLnMKNibPkDnFCosVVv98U5dCulE6T3Iy8