Cypress技术论坛
直播中

王玉华

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

使用CY3684和CyConsole要用什么格式

嗨,我正在使用CY3684-DEVE工具包,已经加载了EpScultsAsple软件示例,并希望使用CySuto做一个文件传输到端点2。文件必须使用什么格式来使用文件?按钮是否正确?谢谢,托马斯

以上来自于百度翻译


     以下为原文
          Hi,   
   
I am using the CY3684 dev. kit, have loaded the EP_Interrupts sofware example, and want to do a File Transfer to Endpoint 2 using the CyConsole. What format does the file have to be in to use the File Trans.. button properly on the CyConsole?   
   
Thanks,   
   
Thomas   

回帖(4)

刘佳

2019-3-1 15:03:51
我不认为CyTalm关心什么格式,它只是把文件中找到的比特发送给设备。如果您要在十六进制编辑器中打开文件,您将看到它将发送的数据。这只是理论,我还没有测试过这个例子,但是我以前使用过那个按钮。

以上来自于百度翻译


     以下为原文
          I don't think CyConsole cares what format, it just sends the bits that it finds in the file over to the device. If you were to open the file in a hex editor, you would see the data it would be sending.   
   
This is all just theory, I haven't actually tested that example, but I have used that button before.   
举报

何柳青

2019-3-1 15:18:34
安得烈,你所说的是对的…CyStor只是将文件转换成十六进制并发送它…CySead有一个4096字节的文件传输限制…如果你想工作文件传输超过4096字节你可能想与控制中心工作…

以上来自于百度翻译


     以下为原文
          andrew what you are describing is right... cyconsole just converts the file into hex and sends it... cyconsole has a file transfer restriction of 4096 bytes... if you want to work with file transfers more than 4096 bytes you might wanna work with control center...   
举报

王玉华

2019-3-1 15:24:04
好的,这是有道理的,但我对此有问题。我放11…22…77重复88在一个文件中,当我去做文件传输时,控制台类冻结了一秒钟,然后说大容量文件传输失败。文件中应该没有空格吗?我把它保存为.txt文件。如果它是不同的格式或在文件上使用某种编码(当前设置为ANSI,其他选项是Unicode、Unicode大Endiad和UTF-8)?对不起,这个愚蠢的问题,但我真的想转移文件,我的测试。谢谢。

以上来自于百度翻译


     以下为原文
          Ok, that makes sense but I am having problems with this. I put 11 22 ... 77 88 repeatedly in a file and when I go to do the File Transfer, the Console kind of freezes up for a second then says Bulk OUT File Transfer failed. Should the file not have any spaces in it? I saved it as a .txt file. Should it be a different format or use a certain encoding on the file (currently set to ANSI, other options are Unicode, Unicode big-endian, and UTF-8)? Sorry for the dumb question but I would really like to transfer a file for my testing.   
   
Thanks.   
举报

何柳青

2019-3-1 15:40:12
最有可能的原因是设备正在泄漏输出请求…你使用的固件是什么????你使用的是BulkRooT或一些固件吗?我的意思是,那些只能接收数据,直到有缓冲,然后他们将纳克…这是你能做的…下载CY4603 CyScript示例并尝试发送文件到固件那里…固件获得数据,然后丢弃它,这将是一个很好的方式来测试,如果至少有事情正在发生…

以上来自于百度翻译


     以下为原文
          The most probable reason is the device is NAKing the out request... What firmware are you using??? Are you using bulkloop or some firmware of that type... i mean those can receive data only till there is buffer and then they'll NAK... Here is what you can do... download cy4603 cystream example and try sending file to the firmware there... that firmware gets data and just discards it so that will be a good way to test if atleast something is happening...   
举报

更多回帖

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