您好,我在使用CCS9.0调试官方例程 usb_dev_bulk,例程路径是C2000》device-support》F2806X 》examples》C28》usb_dev_bulk,根据suasn yang回复的步骤运行LAUNCHXL-F28069M的usb_dev_bulk例程,到第6步时,输入字符串,电脑上的CCS Terminal窗口没有反应,COM口什么也没有,怎么解决这个问题呢?
以下是suasn yang的回复;
以28377开发板为例,下面是详细的步骤
The "usb_dev_bulk" example provides a generic USB device offering simple bulk data transfer to and from the host. The device uses a vendor-specific class ID and supports a single bulk IN endpoint and a single bulk OUT endpoint. Data received from the host is assumed to be ASCII text and it is echoed back with the case of all alphabetic characters swapped.
Follow the following steps to run the example
1 Load the binary and run the example.
2 Connect the USB Cable from your PC to the USB Micro Slot in the Control Card on top.
3 Open a Serial Terminal with the settings 115200 Baud 8-N-1 for the XDS 110. It will show if the device is connected or disconnected.
4 Copy the tiusbdll.dll from the {Latest C2000Ware Package}/utilities/tools/f2837xd/tiusbdll/Release folder to "usb_bulk_example" application project folder
5 Open the windows application ""usb_bulk_example" in {Latest C2000Ware Package}/utilities/tools/f2837xd/usb_bulk_example.
6 Enter a string which will be the bulk data sent and the XDS 110 Com Port will print the length of the string sent.
运行结果如下所示;
7115.Doc1.docx
Susan Yang:
很抱歉,我手边的launchpad的坏了,暂时没有办法实验。
新申请了开发板,但是还没有到货。我之前是使用28379D launchpad 来测试的
等我再次测试后,将详细过程和结果发一下,请您等待一下,谢谢
mangui zhang:
如果设置好了还是不打印
printf不能打印的话,可能是heap, stack大小不够
yingying fu:
回复 Susan Yang:
您好,您申请的开发板到了吗?什么时候能把测试过程和结果发一下呢?期待您的回复,谢谢
Susan Yang:
回复 yingying fu:
哈哈 这周刚到,我下午测试一下后给您回复
yingying fu:
回复 Susan Yang:
好的,谢谢您
Susan Yang:
回复 yingying fu:
我试了一下,目前是和您一样的结果,我已经将问题发给了国外工程师
个人感觉应该是launchpad的问题,在之前的步骤中
2 Connect the USB Cable from your PC to the USB Micro Slot in the Control Card on top.
也是使用controlcard来测试的
另外您可以参考下之前的讨论贴
e2e.ti.com/…/433646
我会在得到回复后给您消息,谢谢
Susan Yang:
回复 yingying fu:
以下是相关的回复,请您参考一下
The launchpad does not have a USB connector connected to the USB pins. The controlCARD does.
On the launchpad, you will have to connect to the USB GPIO pins manually (42/43), or you will have to move to the controlCARD which has a USB micro-connector connected to the USB pins.
TI中文支持网



