完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在AN8623 3pSoClinux 4LyPosikMoDeSyand Apple Posix还原技术(2)中,我看到了通过改变调试引脚到GPIO模式来降低功耗的建议。见附图。在我完成之后,我无法进入我的设备!
程序员不能获得SWD 怎么办? PNG 80.5 K 以上来自于百度翻译 以下为原文 In AN86233_PSoC_4_Low-Power_Modes_and_Power_Reduction_Techniques(2)_0.pdf I saw recommendation to reduce power by change debug pins to GPIO mode. See attached pic. After I done it I can`t acces to my device ! Programmer can`t acquire SWD What to do ?
|
|
相关推荐
6个回答
|
|
您好!
当您将调试选择设置为GPIO并编程该设备时,您需要在每次从PSoC Creator重新编程设备之前重新获取该设备,除非您将调试更改返回到SWD,然后重新编程该设备。 只需单击“选择调试目标”窗口中的“端口获取”按钮(如下图所示),您将再次看到该设备。然后单击OK/Connect按钮,这将导致成功的编程。 但是,如果您试图从PSoC Programmer编程设备,您不需要做任何额外的步骤。PSoC程序员无论调试选择是SWD还是GPIO,都以相同的方式对设备进行编程。 因此,如果PSoC程序员无法获取设备,那么我猜是别的原因,而不是调试选择。 以上来自于百度翻译 以下为原文 Hi When you set Debug Select to GPIO and program the device, you need to re-acquire the device every time before programming device again from PSoC Creator, unless you change the Debug Select back to SWD and then re-program the device. Just click Port Acquire button in the Select Debug Target window (as shown in the below image) and you will see the device again. Then click OK/Connect button and that should result in successful programming. However if you try to program the device from PSoC Programmer, you don't need to do any additional step. PSoC Programmer programs the device same way irrespective of whether the Debug Select is SWD or GPIO. So, if the PSoC Programmer is unable to acquire the device, then I guess something else is the reason and not the Debug Select. |
|
|
|
TOPCB 发表于 2018-11-29 18:37 我知道你说什么。我点击这个按钮,但Psoc Creator无法获取设备。我试了很多次。 在我改变引脚到GPIO设备工作和编程良好。 以上来自于百度翻译 以下为原文 I know what you say. I click on this button but Psoc Creator can`t acquire the device. I tried many times. Before I changed pins to GPIO device worked and programmed well. |
|
|
|
嗯,尝试更改调试,选择返回到SWD,并将生成的HEX文件从PSoC程序员编程到设备上。 如果你无法从PSoC程序员那里获得设备,请检查硬件设置(开关和跳线位置等)和MIXPRO3连接到板(也带电缆)。 我不认为单独更改调试选择设置会导致这个问题。我已经尝试将调试选择更改为GPIO,我仍然能够多次对设备进行编程。 顺便问一下,你用的是什么硬件?有柏树开发工具包吗? 以上来自于百度翻译 以下为原文 Well, try changing the Debug Select back to SWD and program the generated HEX file on to the device from PSoC Programmer. If you can't acquire the device even from PSoC Programmer, please check you hardware settings (switch and jumper position, etc.) and MiniProg3 connection to the board (also ribbon cable). I don't think changing the Debug Select setting alone caused that issue. I have tried changing the Debug Select to GPIO and I'm still able to program the device multiple times. BTW, what hardware are you using? Any Cypress Development Kit? |
|
|
|
TOPCB 发表于 2018-11-29 19:04 正如你所看到的,我成功地通过MixPro 3连接到设备,但是当我尝试编程它时: 我的设备是CyLab-012011模块。 以上来自于百度翻译 以下为原文 As you can see I success to connect to device by Miniprog3 but when I try to program it : My device is CYBLE-012011 module. |
|
|
|
从屏幕截图看来,PSoC Programmer(MixPrim3)无法与设备对话。这可能是因为SWD和复位线中的一个或多个没有连接到EZ-BLE模块。 请仔细检查您的硬件设置(可能再一次)。最近你在硬件上做了什么改动(上次编程成功之后)吗?或者你改变芯片保护杀死你的项目?这样删除了对用户代码或内存的所有调试访问,并且无法擦除Flash。 以上来自于百度翻译 以下为原文 From the screenshots it appears that PSoC Programmer (MiniProg3) is unable to talk to the device. This can be because one or more of the SWD and Reset lines is not getting connected to EZ-BLE module. Please check your hardware setup carefully (perhaps one more time). Did you change anything in the hardware lately (after your last successful programming)? Or did you change Chip Protection to Kill in you project? Doing so removes all debug access to user code or memory and the flash cannot be erased. |
|
|
|
TOPCB 发表于 2018-11-29 19:43 1.靠近模块和轨迹的连接器良好 2。重置工作,因为我接收到Teraterm的PrTNF并看到设备接收的数千个重置 三。我没有改变芯片保护 4。只有一件事我改变了- SWD到GPIO 以上来自于百度翻译 以下为原文 1.connector placed close to module and traces is good 2. reset work because I receive printf to Teraterm and see thousand of resets that device receive 3. I`m not changed Chip Protection 4. Only one thing I changed - SWD to GPIO |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3642 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1762 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
362浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
860浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 23:06 , Processed in 1.052543 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号