完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我需要使用STLink-V2将原始固件重新上传到ST25R3911B-DISCO。
(Discovery GUI不适用于我,我需要完全使用STLink-V2) 我用电线连接: - 20引脚的VCC(1)至10引脚的VTREF(1) - 20引脚的GND(4)至10引脚的GND(3) - 20引脚的GND( 6 )到10引脚的GND(5) - 20针的TRST( 3 )到10针的NC(9) - 20针的 SWDIO (7) 到10针的 SWDIO (2) - 20针的 SWCLK (9) 到10针的 SW CLK (4) - 20针的 SWO (13) 到10针的 SWDIO (2) - 20引脚的TDI(5)至10引脚的TDI(8) 当我将两个设备连接到同一台PC并运行实用程序并尝试连接时,它连接,ST-Link V2有绿色LED指示灯,但接下来我看到:'未知设备ID',点击'确定'后再次出现红色LED指示灯。 我试过Target - >设置...包含JTAG / SWD和连接模式的所有组合。没有任何影响。 请帮帮我!这个任务的截止日期太近了! 以上来自于谷歌翻译 以下为原文 I need to re-upload original firmware to ST25R3911B-DISCO with STLink-V2. (Discovery GUI is not applicable for me here, I need to do it exactly with STLink-V2) I connected with wires: - 20-pin's VCC (1) to 10-pin's VTREF (1) - 20-pin's GND (4) to 10-pin's GND (3) - 20-pin's GND ( 6 ) to 10-pin's GND (5) - 20-pin's TRST ( 3 ) to 10-pin's NC (9) - 20-pin's SWDIO (7) to 10-pin's SWDIO (2) - 20-pin's SWCLK (9) to 10-pin's SW CLK (4) - 20-pin's SWO (13) to 10-pin's SWDIO (2)- 20-pin's TDI (5) to 10-pin's TDI (8) When I connecting both devices to same PC and running utility and trying to connect, it connects, ST-Link V2 has green LED light, but next I seeing: 'Unknown device id' and after clicking 'OK' it has red LED light again. I tried Target -> Settings... with all combinations of JTAG/SWD and connection modes.and no effect. Help me please! Deadline to this task is too near! |
|
相关推荐
2个回答
|
|
嗨伊万,
这里不需要调试器,只需按照用户手册: 在UM2177第2.3章中 /external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fembedded-software%2Fst25-nfc-rfid-software%2Fstsw-st25r001.html 您将找到如何从GUI(不使用SWD / JTAG)调试器更新电路板的说明,即使当前固件不与GUI通信(使用系统加载器DFU模式)。 我们知道,例如这个适配器工作: https://www.segger.com/products/debug-probes/j-link/accessories/adapters/9-pin-cortex-m-adapter/ 也许您在MCU上的当前应用程序与调试引脚混淆,您可以尝试在连接调试器之前将STM32置于引导加载程序模式:按下Boot按钮,按住它,按Reset按钮,释放它,然后释放Boot按钮。现在您可以再次连接调试器。 乌尔里希 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi Ivan, no need for debugger here, just follow the User Manual: In UM2177 chapter 2.3 of /external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fembedded-software%2Fst25-nfc-rfid-software%2Fstsw-st25r001.html you will find a description how to update the board from the GUI (without using an SWD/JTAG) debugger even if the current firmware does not communicate with the GUI (Using the System Loader DFU mode). We know that e.g. this adapter works: https://www.segger.com/products/debug-probes/j-link/accessories/adapters/9-pin-cortex-m-adapter/ Maybe your current application on the MCU messes with the debug pins, you could try to put the STM32 into bootloader mode before connecting with the debugger: Press Boot button, keep it pressed, Press Reset button, release it, then release Boot button. Now you might be able to connect with debugger again. Ulrich Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
谢谢。
请给我一个正确的原理图。 以上来自于谷歌翻译 以下为原文 Thank you. Give me a correct schematic of this adapter please. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2617 浏览 1 评论
3203 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1776 浏览 1 评论
3602 浏览 6 评论
5981 浏览 21 评论
934浏览 4评论
1311浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
579浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1299浏览 3评论
1353浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 17:23 , Processed in 1.236487 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号