完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我正在试图编程一个CY8C4146AZS S265,我已经开发了一个PC板。我使用MixPrim3通过使用SWD PtotoCoL和专用引脚来闪烁代码。引脚20和引脚21在UC上。有时代码会烧坏,有时会出错。然而,每当我使用Cl8CKIT-149 PSoC®4100S加上原型工具箱的闪光灯时,代码每次都会成功地烧毁。原因是什么??
以上来自于百度翻译 以下为原文 Hi i am trying to program a CY8C4146AZS-S265 which i have developed on a PC board. i am using MiniProg3 to flash the code by using SWD prtotocol and dedicated pins. pin 20 and Pin 21 on uc. sometimes the code burns and sometimes it gives error. whereas whenever i use the flasher that has come with CY8CKIT-149 PSoC® 4100S Plus Prototyping Kit, the code successfully burn every time. what could be the cause?? |
|
相关推荐
4个回答
|
|
试着把你的时钟速度改变为不同的值,看看它们是否运行得更好,我以前已经遇到过这个问题,它似乎与USB电缆连接有关。
以上来自于百度翻译 以下为原文 Try changing your clock speed to different values and see if they perform better; I've run into this before, and it seems related to the USB cabling. |
|
|
|
我试过了。有一种情况我想进一步指出,我有两个类似的板,在各方面完全相似。一个板,我能够使用MixPrim3编程,而另一个我不能。它给出的错误是“在编程设备时出错。”未能重新装备该设备 同时,如果我用CY8CKIT-149 PSoC®4100S加上原型套件来编写MixPrime2,那么代码在每一个板上都会成功地烧毁。 请帮忙。 以上来自于百度翻译 以下为原文 i tried this. there is a situation i would like to point further, i have two similar boards, exactly similar in all aspects of components. one board i am able to program using miniprog3 while the other i cannot.it gives the error as " there was an error while programming the device. failed to re-aquire the device" Also at the same time if i program them with the MIniprog2 that came with CY8CKIT-149 PSoC® 4100S Plus Prototyping Kit, the code successfully burn every time on both the boards. Please help. |
|
|
|
lkjljljlj 发表于 2018-10-23 12:24 如果这两个板完全相同,那么这个问题将指向与程序员IMO的不良连接。 调整USB电缆的长度或SWDIO线长度要短,通常在这些情况下有帮助,并重新安排程序员头,以确保它没有扭动松散。 取决于在设备上运行的代码,以及您启用的“重置”选择,正在运行的板上的应用程序代码也可能干扰编程。 以上来自于百度翻译 以下为原文 If the two boards are exactly the same, then the issue would point to poor connections with the programmer imo. Adjusting length of USB cable or SWDIO wire lengths to be shorter generally help in those cases, and reseating the programmer headers to make sure it didn't wiggle loose. Depending on the code running on the device, and which "reset" choice you have enabled, application code on the board that is running might be interfering with the programming too. |
|
|
|
lkjljljlj 发表于 2018-10-23 12:24 嗨,Shakil, 你使用重置模式还是电源循环模式来烧掉PSoC4? 如果是电源循环,请尝试重置模式。 此外,关于PSoC编程的疑难解答,请参见: PSoC®3/4/5LP编程/调试问题的解决方案-KBA210619 谢谢, 赖安 以上来自于百度翻译 以下为原文 Hi Shakil, Are you using RESET mode or Power Cycle mode to burn PSoC4? If it was Power Cycle, kindly try RESET mode. In addition, troubleshooting about PSoC programming, refer to: Troubleshooting PSoC® 3/4/5LP Programming/Debugging Issues - KBA210619 Thanks, Ryan |
|
|
|
只有小组成员才能发言,加入小组>>
716个成员聚集在这个小组
加入小组1901 浏览 1 评论
1652 浏览 1 评论
3405 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1568 浏览 6 评论
1380 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
180浏览 2评论
179浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
318浏览 2评论
344浏览 1评论
58浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-23 18:23 , Processed in 0.704328 second(s), Total 75, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号