Questions tagged [st-link]

42 questions
0
votes
3 answers

Getting an error when using Fake ST-Link with STM32 Black Pill and STM32 IDE

I recently bought a generic Black Pill (STM32F411CEU6) and a ST Link V2 (clone) from Amazon. I tried using the STM32CubeIDE to upload a simple Blink sketch onto my board with the Pill’s ground, sck, dio, 3.3v connected to the Link’s ground, swck,…
AashvikT
  • 164
  • 9
0
votes
0 answers

ST-Link cli in windows

Link_cli.exe** and stlink-tools on Linux ubuntu i have these command for windows: ST-LINK_CLI.exe -c sn=57004800180000535448534E -q -ME -p C:\shared\TFL_CONNECT_A4_S.10.118.0.16.hex -Rst for linux: st-flash --format ihex --serial…
wafihsn
  • 5
  • 4
0
votes
0 answers

Keil MDK ST-LINK connection error on STM32 board

I am trying to run a program in my STM32F769I-DISCO board. When i try and run the program in Keil, the software automatically closes. When I go to options for target->Debug->Settings it again automatically closes sometimes. In other times i see the…
afsara_ben
  • 542
  • 1
  • 11
  • 30
0
votes
1 answer

STM32H735VGT6 "target not found" after upload own code

I have a hard problem with a STM32. After uploading my own code to the STM32 it is not posibble to reconnect with them. The error feedback: 17:18:34 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a…
0
votes
0 answers

Unable to calculate/update Theta value for d-q transformation (Park Transformation)

I am trying to perform a d-q transformation on a signal after performing a clark transformation, but I am unable to calculate/update the theta value required for the transformation. I suspect there is a problem with the line…
0
votes
1 answer

Completed memory flashing instead of big latency and errors (using openocd and gdb)

I want to use ST-Link V2 to program and debbug microcontroller LPC1115 through the SWD interface. The problem is that I get multiple warnings and error during sending the commands and flashing takes very long time, but in final everything works…
pajur97
  • 1
  • 2
0
votes
0 answers

ST Link V2 "No STLink detected" in STM32CubeIDE and ST Link Utility

The device was working fine till last week, now when I try to debug the STM32cubeIDE indicates "No ST Link found". On hardware side, there are no LED glowing on the STLink board. Before concluding that the STLink V2 is dead, I would like to check if…
babyCoder
  • 1
  • 1
0
votes
0 answers

STM32CubeProgrammer - no st-link detected windows 7

ST-LINK V2 works fine with STM32 ST-LINK Utility and STM32CubeIDE, but ST-LINK V2 doesn't work with STM32CubeProgrammer. I have tried various USB ports and various USB to mini USB cables. I am using original programmer and original windows 7 x64…
red15530
  • 11
  • 3
0
votes
0 answers

Is it possible fo brick an STM32 board through some wrong configurations in STMCubeIDE during burning/debugging?

I have been using my STM32 Blue Pill with GCC Cross Platform tools with no problem. I used ARM assembly to write a blink program, connected the blue pill to ST-LinkV2 using SWD and connected the ST-LinkV2 to my computer. On my computer, I use…
Hatilima
  • 1
  • 1
0
votes
1 answer

How does Virtual COM on "st-link v3 MINIE" work?

I got a st-link v3 MINIE, it has a nice feature of virtual COM on it, but it seems doesn't work properly. The debugger part work fine, and windows detected it as a com port, but I couldn't get the echo when I connect TX and RX pins. Here are my…
0
votes
0 answers

Use daplink with stm32

I bought CMSIS daplink with stm32f103c8 blue pill, and I'm using Keil microvision for programming stm32, when I try to download code to stm32, program shows error "no st link detected", can I fix this?
e Res
  • 101
  • 1
  • 10
0
votes
1 answer

C# interop with complex C++ library (STMCubeProgrammer)

I am trying to wrap the public API in a DLL file for the STMCubeProgrammer in C#. There is header file, documentation, and some C++ examples provided for the library. The examples projects works well, so I can connect, read, write the target with…
0
votes
1 answer

How to halt a target device with pyocd?

I try to halt a F746zg core with pyocd via ST-LinkV2. The ST-Link sees the core. But I'm not able to erase and reprogram it until it's halted. Does anyone know what the right command is to do that? I tried: pyocd reset -l -t 'stm32f746zg' But I…
El tornillo
  • 437
  • 3
  • 16
0
votes
1 answer

Cannot connect to target STM32G0316-DISCO

I had a working STM32G0316-DISCO board, but after programming the STM31G031 I cannot connect to the MCU anymore using ST-LINK. This is because I set pin 7 and 8 to a digital input whereas pin 7 and 8 are SWDIO and SWCLK respectively as well. This…
Paulus Potter
  • 883
  • 6
  • 6
0
votes
0 answers

STM32F0308-Discovery Error in initializing ST-LINK device. Reason: No device found on target

I just try to install my code to card and i keep getting this error Target no device found Error in initializing ST-LINK device. Reason: No device found on target. I just randomly keep randomly keep reverting firmware and updating from cubeide…
aspq
  • 33
  • 1
  • 5