完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在调试一个CY8C34 44 PVI-100项目。该IC没有USB功能,所以试图调试通过UBUTART惯用的工作,我也没有足够的引脚可用于通用UART。我已经启用了SWD/SWV调试选项,可以通过MixPrim3和PSoC创建者4.1开始调试,这很好。但是,我想添加一种可以在IDE或其他地方看到的“Prtff”输出。在互联网上,我看到了一些关于启用“打印输出”输出和SWV的点击,但是没有具体的细节来说明它是如何工作的。是否有可能通过SWD/SWV将文本发送到IDE(调试模式),如果是,如何?
以上来自于百度翻译 以下为原文 I'm trying to debug a CY8C3444PVI-100 project. That IC does not have USB functionality so trying to debug via USBUART wont work, nor do I have enough pins available for a generic UART. I have enabled the SWD/SWV debug options and can start debugging via miniprog3 and psoc creator 4.1, and that works pretty good. However, I'd like to add somekind of 'printf' output that I can view, either in the IDE or someplace else. Searching the internet I see a few hits on enabling "printf" output and SWV but there is no real detail on how to get it working. Is it possible to send text to the IDE (in debug mode) via SWD/SWV, and if so, how? |
|
相关推荐
2个回答
|
|
使用SWV与PSoC Creator
实时跟踪:PSOC3中的SWV(串行线查看器) 以上来自于百度翻译 以下为原文 Using SWV with PSoC Creator Real Time Trace: SWV(Serial wire viewer) in PSoC3 |
|
|
|
我已经附加了CySyt调试设置的设置
我还附加了一个PSoC Creator固件示例,它将Prtff()重定向到SWV刺激端口0。固件在PSoC3上工作。 因此,有一个应用程序可以让你连接和查看来自MixPrim3的SWV Prtuff()控制台输出(使用JTAG 10引脚连接器)。 PoScCytoRealSvvsSuxFieldMig.Zip 835.8 K CySerialDebug GuestUp.RAR 364.3 K 以上来自于百度翻译 以下为原文 I have attached the setup for CySerial Debug Setup I have also attached a PSoC Creator firmware example that redirects printf() to the SWV stimulus port 0. The firmware works on PSoC3 . So there is an app that lets you connect and view SWV printf() console output from the Miniprog3(Using JTAG 10 pins connector).
|
|
|
|
只有小组成员才能发言,加入小组>>
757个成员聚集在这个小组
加入小组2137 浏览 1 评论
1877 浏览 1 评论
3700 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1815 浏览 6 评论
1561 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
756浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
509浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
470浏览 2评论
422浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1113浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-2 16:59 , Processed in 0.867156 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号