49 questions
0
votes
1
answer
127
views
Error Could not verify ST device when Debugging code for my Blue Pill board
Created a new STM32 project and made settings below:
HSE: Crystal/Ceramic Resonator
SYS: Debug: Serial Wire
Clock: 72 MHz
Here's the debugger settings on STM32CubeIDE (version 1.19.1) with a simple ...
1
vote
0
answers
70
views
OpenOCD flash only half of flash
I'm trying to get OpenOCD to flash my STM32F103VG (1MB flash) MCU but only get half of it done.
Everything works fine until address 0x08080000 but then content remains 0xFF.
I'm using an ST-Link v2, ...
-1
votes
1
answer
542
views
st-link doesn't detect nucleo stlink
I am using NUCLEO-F446RE on M3 MacBook Pro (with terminal in x86 architecture - so, terminal software is x86). Though the board shows up in USB device tree in "System Information", it can't ...
0
votes
1
answer
74
views
How to upload a Arduino Program to a BARTH STG-850 via ST-LINK/V2 ISOL
I have a Barth Electronik STG-850 micro PLC, the ST-LINK/V2 ISOL Programmer and a VK-35 programming cable from Barth.
I did everything according to the docs
But I don't get a Virtual COM Port, just a ...
0
votes
1
answer
75
views
Trouble Using Arduino IDE for BARTH STG-850: How To Get The IDE To Connect To The Board
I am trying to use a BARTH STG-850 connected with an ST-LINK V2, with Arduino as the IDE, but when I try to compile any code, I get the following error:
fatal error: variant.h: No such file or ...
0
votes
0
answers
142
views
stm32g431 through arduino ide using st link programmer. com port isnt detecting
im trying to programm stm32g431cbu6 with st link v2 programmer for arduino ide. the problem is the com port of stm32 isnt detecting. maybe there is something with a virtual com port. is there some ...
0
votes
0
answers
74
views
Loss of ST-LINK from STM32F4
I am using is STM32F401RET6, before that I have ported uCOS-II and System View to see the task scheduling, but Sysview needs to use J-Link, so I followed the tutorials (https://www.segger.com/products/...
-1
votes
1
answer
178
views
Why when flashing my stm32f411re Nucleo board does nothing happen even if I get no errors
I am trying to design my own build system for STM32f411re Cortex-M MCU using a Nucleo board with a ST-Link onboard and CMake.
Together with this I want to write my own HAL library, I know all of this ...
0
votes
0
answers
541
views
Upload failure - PlatformIO, ST-LINK/V2, Black Pill F411
I am starting to use a black pill V3.1 F411. The IDE is VSC with PlatformIO. I connect with a (genuine, I think) ST-LINK/V2. The connection is made as per the Barnaby Walters article on this.
...
0
votes
0
answers
477
views
CLion: Debug via St-Link
I want to debug a custom PCB with an STM32WB55 in CLion via ST-Link v3. But I am unable to set up the configuration.
I am getting this error:
CMake Error at CMakeLists.txt:18 (project):
The ...
0
votes
0
answers
60
views
Looking for a tool to step STM32 core and log registers with st-link
I'm currently reverse engineering a device I have in hand that uses STM32F030 mcu.
I'm in need of a software tool that will reset the core, continuously step the core and will log the registers at ...
1
vote
0
answers
369
views
how jlink working when load elf and handling
When using "jflashlite.exe" to load an ELF file that contains multiple sections, it seems to recognize all the sections but only manages to load the internal section. Oddly, it doesn't raise ...
0
votes
1
answer
148
views
Would IIC SCL signals trigger MCU to enter debug mode when the IIC SCL pin and the STLINK SWCLK pin are connected to the same GF pin?
I got a problem when I tried to verify whether the IIC SCL pin and the STLINK SWCLK pin could be connected to the same GF pin. The hardware design is as below:
Previously, I have done tests on the ...
1
vote
1
answer
474
views
Came up with an "Unable to stat debugging" error when Debug program for STM32 NUCLEOF103RB
I am trying to use STM32 VSC extension plugin on VSCode for a better coding experience, but error occored when I am trying to debugging.
VSCode suggested that build task finish successfully in the ...
0
votes
3
answers
4k
views
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, ...