针对您遇到的 st-link error (dev_target_cmd_err) 错误,这个问题通常与ST-Link调试器的通信或配置有关。以下是一些详细的排查步骤和可能的解决方案,由于您的问题不直接涉及代码,我将不提供代码片段,但会给出一些指导性的建议。 1. 确认ST-Link驱动和软件安装正确且为最新版本 检查驱动:确保您的电脑上安装了适...
[自用防忘]STLINK下载显示DEV_TARGET_CMD_ERR西伯利亚绿波电龙2024年08月15日 11:20 临时解决方法:连接方式选择HOT_PLUG(适用于G431) 永久解决方法:降低下载速度400K->100K 大概率是硬件的锅 分享至 投诉或建议评论 赞与转发1 0 0 0 0 回到旧版 顶部登录哔哩哔哩,高清视频免费看! 更多登录后权益等你解锁...
Now the problem ist, that I cannot connect to the device via STM32CubeProgrammer, nor the CLI, nor my IDE of choice (Keil uVision). When I use my ST-LINK V2, connect it to the board and my pc, and then press "connect" in the program, I get the error "DEV...
So I'm using an STM32F103C8T6 board and it was working fine a few days ago but then tried to load a code with keil vision compiler these days and it showed this message STLINK Error(DEV_TARGET_HELD_UNDER_RESET). After that using the STM32CubeProgrammer also shows the same problem, ...
09:44:06 : Error: ST-LINK error (DEV_TARGET_CMD_ERR) Under reset: 09:44:14 : ST-LINK SN : 002A003F3438510C34313939 09:44:14 : ST-LINK FW : V3J2M1 09:44:14 : Board : NUCLEO-H743ZI 09:44:14 : Voltage : 3.26V 09:44:14 : SWD freq : 24000 KHz ...
Next set option Debug > ST-Link > STM32CubeProgrammer directory > $(STM32CUBEPROGDIR) That should be it. Now you should be able to debug with your ST-Link probe like you are used to with your J-Link probe. Troubleshooting If the error is DEV_TARGET_CMD_ERR, it is possible that th...
报错内容:DEV_TARGET_CMD_ERR烧录工具是一个山寨的ST-LINKV2板子是我在嘉立创花5元打的,只引出了烧录用的5个脚(VCC、GND、DIO、CLK、RST),其他脚都没接线。直接运行烧录的时候就报了上面那个错,可有大神可以帮我解答? qjqb 2022-10-11 11:00:42 ST32F512M ST32F512M对于M2M ST32安全微 电子发烧友...
cmd == FLASH_CMD_ERASE) { // erase if (o.size > 0 && o.addr > 0) { err = stlink_erase_flash_section(sl, o.addr, o.size, false); } else { @@ -179,11 +182,16 @@ int main(int ac, char** av) { printf("stlink_erase_flash_mass() == -1\n"); goto on_error; ...
] Example1: -CmpFile "c:\\application.bin" 0x08000000 Example2: -CmpFile "c:\\application.hex The user can also compare the file content with an external memory. The path of the external memory loader must be specified by the -EL cmd. Example1: -CmpFile "c:\application.bin" 0x64...
Getting Error: ST-LINK error (DEV_TARGET_CMD_ERR) when I try to connect to STM32F103C5T6. FPayn.1 Associate III 2020-08-01 02:14 PM Hi, Although I'm quite familiar with Arduino and Teensy MCU's, I'm just getting started with STM32. I followed this ...