首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >当将示例闪烁到stm32中时,目标不停止错误

当将示例闪烁到stm32中时,目标不停止错误
EN

Stack Overflow用户
提问于 2021-08-08 20:51:17
回答 1查看 1.7K关注 0票数 1

我有stm32核板wb55rg,并试图在其中闪现一些例子,比如闪烁和一个定制的示例,但是当我试图在构建它之后将项目闪现到板中时,我会得到同样的错误(超时等待目标半边),我不知道如何处理它。我在网上搜索,发现了一些关于强迫症的信息,但我并没有真正理解。我不只是使用STMCubeIDE的样本盲。有人能帮我吗?我使用VM box中的linux和来自zephyr的一个简单的盲点示例。

代码语言:javascript
复制
My steps are:

    west build -b nucleo_wb55rg samples/basic/blinky ( building project )
    west flash 

错误信息

代码语言:javascript
复制
-- west flash: rebuilding
[0/1] cd /home/nikos/Desktop/my_try/bu.../cmake/flash && /usr/bin/cmake -E echo

-- west flash: using runner openocd
-- runners.openocd: Flashing file: /home/nikos/Desktop/my_try/build/zephyr/zephyr.hex
Open On-Chip Debugger 0.10.0+dev-01508-gf79c90268-dirty (2021-03-26-16:13)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
srst_only separate srst_nogate srst_open_drain connect_deassert_srst

Info : clock speed 500 kHz
Info : STLINK V2J37M26 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.229148
Info : stm32wbx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32wbx.cpu on 3333
Info : Listening on port 3333 for gdb connections
    TargetName         Type       Endian TapName            State       
--  ------------------ ---------- ------ ------------------ ------------
 0* stm32wbx.cpu       hla_target little stm32wbx.cpu       running

Info : Unable to match requested speed 500 kHz, using 480 kHz
Info : Unable to match requested speed 500 kHz, using 480 kHz
Error: timed out while waiting for target halted
TARGET: stm32wbx.cpu - Not halted
FATAL ERROR: command exited with status 1: /home/nikos/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/openocd -s /home/nikos/zephyrproject/zephyr/boards/arm/nucleo_wb55rg/support -s /home/nikos/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts -f /home/nikos/zephyrproject/zephyr/boards/arm/nucleo_wb55rg/support/openocd.cfg -c init -c targets -c 'reset halt' -c 'flash write_image erase /home/nikos/Desktop/my_try/build/zephyr/zephyr.hex' -c 'reset halt' -c 'verify_image /home/nikos/Desktop/my_try/build/zephyr/zephyr.hex' -c 'reset run' -c shutdown
EN

Stack Overflow用户

回答已采纳

发布于 2021-08-11 21:04:47

我发现了这个问题的问题。这个板是用的,它以前的主人改变了一些图钉在板上。因此,我搜索stm32wb55rg的默认引脚,并在设置默认引脚时解决了错误。非常感谢所有回复这篇文章的人,以帮助我了解到底发生了什么。

票数 0
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68704671

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档