cancel
Showing results for 
Search instead for 
Did you mean: 

i install stm32cube ide in my system but can't generate code

KrishSprio_2024
Associate II

i install stm32cube ide in my system and i installed but generate code does not show any error

9 REPLIES 9

@KrishSprio_2024 wrote:

 generate code does not show any error


That's usually a good thing?

but i can't generate code what i do

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

 

SofLit
ST Employee

Hello,

Describe what you did step by step. This important to know where you failed. If possible to share your project folder.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Screenshot (1).pngstm32f103c8t6  and my debugger is stlinker v2 and also does n't visblile 

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Again, you need to give us a step-by-step description of precisely what you do when you try to generate code.

 

KrishSprio_2024
Associate II

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.



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