Cypress技术william hill官网
直播中

陈秀兰

7年用户 153经验值
私信 关注
[问答]

调试后选择gpio,PSoC 4不可编程

你好,
为了省电,我在应用笔记中把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)

黎歆俭

2018-10-10 15:04:55
你试过电源循环板,然后重新连接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?)
举报

陈秀兰

2018-10-10 15:18:26
引用: yuhe82 发表于 2018-10-10 15:34
你试过电源循环板,然后重新连接PSoC程序员吗?
你用一个使用SWD管脚的程序/图像闪现了吗?如果是这样的话,你能把这个项目附加到我们看PIN设置/使用吗?
您是否尝试重新连接PSoC程序员以确保连接没有松动/故障?

我认为闪烁程序这个设置使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...
举报

黎歆俭

2018-10-10 15:35:55
引用: llqks 发表于 2018-10-10 15:48
我认为闪烁程序这个设置使PSoC不响应了。我想我是对的。
要测试这个我创造的cy8kit-043项目和程序用的LED快速闪烁,然后改变了SWD引脚GPIO和它不工作了。
这是项目:(我叫它杀了因为我打算重现这个问题)

你是用程序员给工具箱供电的吗?还是用外部电线供电?将编程模式转换为功率循环并通过程序员运行板电源可能会产生积极的影响?
我没有看到任何问题与您张贴的项目(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?
举报

陈秀兰

2018-10-10 15:49:01
引用: yuhe82 发表于 2018-10-10 16:05
你是用程序员给工具箱供电的吗?还是用外部电线供电?将编程模式转换为功率循环并通过程序员运行板电源可能会产生积极的影响?
我没有看到任何问题与您张贴的项目(FYI有一个附加能力的“高级编辑器”时,响应帖子贴附文件/项目)。我会尝试在一个板上测试它,并把结果反馈给你。
你试过改变程序员的时钟速度,看看它是否有 ...

这个工具箱是由程序员提供的,我定制的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!
举报

更多回帖

发帖
×
20
完善资料,
赚取积分