1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
为了省电,我在应用笔记中把SWD引脚改为GPIO,但此后PSoC创建者没有显示目标MCU,甚至连PSoC程序员也无法连接到它。这发生在我的定制板与KYPROG从CY8KIT-043和CY8CKIT-062-BLE工具包。 我只是把它用我的CY8KIT-043,闪光灯后用SWD引脚改为GPIO,它不能被编程。 Kitprog似乎不重置PSoC(触动示波器)。KITPROG不能恢复我的PSoC 4吗? 请帮忙,我如何恢复我的PSOC? 以上来自于百度翻译 以下为原文 Hi, for power saving I changed the SWD pins to GPIO like in the application note but since then psoc creator doesn't show the target MCU and not even psoc programmer can connect to it. This happend on my custom board programmed with kitprog from CY8KIT-043 and also on CY8CKIT-062-BLE Kit. I just reproduced it with my CY8KIT-043, after flashing it with SWD pins changed to GPIO it can't be programmed.. The Kitprog doesn't seem to reset the psoc (attatched oscilloscope). Is the Kitprog not able to recover my psoc 4? Please help, how do I recover my PSOCs? |
|
相关推荐
7个回答
|
|
你试过电源循环板,然后重新连接PSoC程序员吗?
你用一个使用SWD管脚的程序/图像闪现了吗?如果是这样的话,你能把这个项目附加到我们看PIN设置/使用吗? 您是否尝试重新连接PSoC程序员以确保连接没有松动/故障? 做程序员完成PSoC /通常当你编程的芯片?(可能是失败了,这就是为什么没有出现吗?) 以上来自于百度翻译 以下为原文 Did you try power cycling the board, then reconnecting with the PSoC Programmer? Did you flash it with a program/image that uses the SWD pins? If so, can you attach the project for us to see the pin settings/use? Did you try reconnecting the PSoC programmer to make sure the connection isn't loose/faulty? Did the PSoC programmer finish successfully/normally when you programmed the chips? (Could be it failed and that is why it is not showing up?) |
|
|
|
yuhe82 发表于 2018-10-10 15:34 我认为闪烁程序这个设置使PSoC不响应了。我想我是对的。 要测试这个我创造的cy8kit-043项目和程序用的LED快速闪烁,然后改变了SWD引脚GPIO和它不工作了。 这是项目:(我叫它杀了因为我打算重现这个问题) 谷歌驱动 电源循环/插拔,等等都无济于事。一个松散的连接是不可能的因为cy8kit-043直接连接的程序员。就在编程之前。 最后的软件,我闪(与社署的GPIOs)被正确地闪烁,LED闪烁与正确的速度。 有人能测试这个项目吗?我只是不知道现在该怎么办… 以上来自于百度翻译 以下为原文 I assumed that flashing a program with this setting causes the psoc to not respond anymore. And I guess I was right.. To test this I created a project for the CY8KIT-043 and programmed it with a blinking LED, then changed the SWD pins to GPIO and it doesn't work anymore. This is the Project: (I named it killing because I intended to reproduce this problem) killing2.cydsn.zip - Google Drive Power cycle / plugging in and out and so on doesn't help. A Loose connection is impossible because the CY8KIT-043 is directly attatched to the programmer. And just before the programming it worked. Also the last software that I flashed (with SWD as GPIOs) was correctly flashed and the LED blinks with the correct speed. Can anyone test this project? I just don't know what to do now... |
|
|
|
llqks 发表于 2018-10-10 15:48 你是用程序员给工具箱供电的吗?还是用外部电线供电?将编程模式转换为功率循环并通过程序员运行板电源可能会产生积极的影响? 我没有看到任何问题与您张贴的项目(FYI有一个附加能力的“高级编辑器”时,响应帖子贴附文件/项目)。我会尝试在一个板上测试它,并把结果反馈给你。 你试过改变程序员的时钟速度,看看它是否有效果? 以上来自于百度翻译 以下为原文 Are you powering the kit using the programmer? Or are you powering it with an external wire? Changing the programming mode to power cycle and running the board power through the programmer might have a positive effect? I don't see any issues with the project you posted (fyi there is an attach capability for the "advanced editor" when responding to posts for attaching files/projects). I'll try testing it on a board and get back to you on my results. Have you tried varying the programmer's clock speed to see if that has an effect? |
|
|
|
yuhe82 发表于 2018-10-10 16:05 这个工具箱是由程序员提供的,我定制的PCB有自己的电源。两者都有同样的问题。 据我所知,KITPROG2不支持其他频率或编程模式以外的重置编程模式(这是不触发,我在示波器上安检示波器)。也许是KiPrd2虫?)我的KiTrp2有最新的固件。 感谢您的测试和帮助! 以上来自于百度翻译 以下为原文 The kit is powered by the programmer and my custom pcb has its own supply. Both have the same problem. As far as I know does the kitprog2 not support other frequencies or programming modes other than reset programming mode (which is NOT triggered, I attatched an oscilloscope on the reset pin. Maybe a kitprog2 bug?) My kitprog2 has the latest firmware. Thank you for testing and helping! |
|
|
|
llqks 发表于 2018-10-10 16:18 你可以试着用CyPress打开一个盒子,KITPRO2很可能像MixPrim3(我使用的)一样有怪癖和错误。 以上来自于百度翻译 以下为原文 You could try opening a case with Cypress; The kitprog2 very likely has quirks and bugs just as the Miniprog3 (which I use) has. |
|
|
|
你好。我只是在CY8CKIT-042上尝试过,没有任何问题。
我将系统选项卡中的调试选择更改为GPIO并编程了该板。然后我就可以重新编程板了。当我点击程序按钮时,会出现“选择调试目标”窗口。我右击KiTrg并点击“端口获取”后,PSOC 4200设备出现了,我点击了它,然后点击OK/Connect和板编程。 如果这对你不起作用,听起来你的硬件就有问题了。 以上来自于百度翻译 以下为原文 Hello. I just tried this on a CY8CKIT-042 and had no issues. I changed the Debug Select in the Systems tab to GPIO and programed the board. I was then able to reprogram the board again. When I hit the program button the select debug target window appears. I right clicked on the kitprog and clicked "port acquire" after doing this the PSoC 4200 device appeared and I clicked on that and then clicked OK/Connect and the board programmed. If that doesn't work for you it sounds like there is an issue with your hardware. |
|
|
|
60user133 发表于 2018-10-10 16:50 你好, 谢谢你的测试。我忘了提到“港口水渠”对我不管用。有一个错误,它不能防水设备。 但很高兴知道它在你的董事会上发挥作用。我明天会看到,如果港口水渠切换复位引脚,因为我怀疑它不重置设备,因此没有编程是可能的。 也许我的KiPro硬件有一个问题… 编辑:现在它正在工作!并且复位线现在被正确地拉到GND。 我确实更新了我的CMISIS-DAP Windows驱动程序,并使用了另一个程序员模式(保持RST按钮几秒钟),在CycKIT-062 BLE上按下“模式选择”(SW3)。 当它显示“CMIS-DAP 1”版本的设备选择时,它不起作用。现在它显示出不同的东西。 谢谢大家!!!! 以上来自于百度翻译 以下为原文 Hi, thank you for testing. I forgot to mention that "port aquire" doesn't work for me. There is an error that it can't aquire the device. But good to know that it worked on your board. I will look tomorrow if the port aquire toggles the reset pin because I suspect that it doesn't reset the device and thus no programming is possible. Maybe my kitprog hardware has an issue... edit: Now its working! And the reset line is now pulled to GND correctly. I did update my CMSIS-DAP windows driver and used an other programmer mode (hold the RST button for a few seconds) and on the CYCKIT-062 BLE it was pressing "Mode Select" (SW3). When it shows version "CMSIS-DAP 1.0" on device selection it didn't work. Now it shows something different. Thank you guys!!! |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2101 浏览 1 评论
1848 浏览 1 评论
3666 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1783 浏览 6 评论
1533 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
564浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
418浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
434浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
911浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 01:05 , Processed in 1.132498 second(s), Total 91, Slave 73 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号