完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
如果CyScript可以通过命令行调用,那么开发就快得多。有类似的东西吗?或者,CyPress打开CyScript源代码吗?当做
以上来自于百度翻译 以下为原文 Development would be much faster if CyScript could be called by command line. Is there anything similar? Alternatively, would Cypress open CyScript source code? Regards |
|
相关推荐
17个回答
|
|
|
|
|
|
谢谢AASI!我理解你的观点。在keil工程我产生。SPT,复制到system32文件夹和复位板。我让这个枯燥的过程,因为固件不工作,应该下载使用。六cyconsole(相同。六脚本总是)。我使用CY7C68013A(100引脚)与凯尔。我做错什么了吗?有一个快速的方法来下载和执行开发过程中的巫术,而不是我无聊的脚本的过程吗?
以上来自于百度翻译 以下为原文 Thanks aasi! I understand your point. After building project in Keil I generate the .spt, copy it to the system32 folder and reset the board. I make this boring process because the firmware doesn't work as should downloading the .hex using CyConsole (the same .hex as script always works). I'm using CY7C68013A (100pins) with Keil. Am I doing something wrong? Is there a fast way to download and execute the hex during development, instead of my boring script process? |
|
|
|
我对你提到的有点困惑…当你说HEX不起作用的时候,你是什么意思?我的意思是脚本只是一种不同的下载方法,两者之间不应该有任何区别。你能解释一下你看到的差别吗????
以上来自于百度翻译 以下为原文 I'm little confused by what you have mentioned... What do u mean when u say the .hex doesn't work but the .spt works... i mean the script just is a different way of downloading the .hex and there shouldn't be any difference between the two... can you explain the difference u r seeing??? |
|
|
|
通过CySoad下载的HEX固件不起作用。例如,一个简单的LED不会闪烁。下载十六进制后,似乎芯片没有重置。用CyScript生成并复制到Stase32文件夹中的SPT工作良好,LED闪烁。主要的区别是,在这里我做一个硬复位(关闭3.3V)后覆盖SPT文件在system32文件夹。
以上来自于百度翻译 以下为原文 The hex firmware downloaded via CyConsole does not work. A simple led does not blink, for example. After downloading the hex it appears that the chip is not reseted. The spt generated with CyScript and copied into system32 folder works good, and the led blinks. The major difference is that here I do a hard reset (turn off 3.3V) after overwriting the spt file in the system32 folder. |
|
|
|
这种行为听起来有点难以解释。BEC两者之间不应该有任何区别,两者应该表现完全相同的方式…然而,我怀疑这只是一个可能的原因…Windows有保存在Stase32文件夹中删除或替换的单独文件的习惯…在U重置板和脚本加载后,转到Stase32文件夹,并对文件进行比较(大小)和刚才生成并放置的文件。如果我记得Windows保存这些St32文件的文件夹是很好的…我想这个位置是C:Windows…如果是这样的话,您可能需要检查并删除它。
以上来自于百度翻译 以下为原文 This behavior sounds a little unexplainable to me... bec there shouldn't be any difference between the two and both should behave the exact same way.... However i suspect only one possible reason for this... Windows has the habit of saving separately files that are deleted or replaced in system32 folder... after u reset the board and the script loads, go to the system32 folder and do a compare (size) of the file there and the one you just now generated and placed there... If i remem well the folder where windows saves these system32 files is LastGood... I think the location is C:WindowsLastGood... you might want to check that and remove it to if this is the case.... |
|
|
|
我不明白你的意思。Windows的东西都可以,不必检查它正在做什么。问题是当我使用CySudio下载十六进制。
以上来自于百度翻译 以下为原文 I do not understand your point. The Windows stuff are all ok, no need to check what it is doing. The problem is when I download the hex using CyConsole. |
|
|
|
我所说的只是…SPT只是下载HEX的另一种方式,如果HEX不能正常工作,那么SPT应该显示相同的行为…我只是想让你确认一个旧的SPT不是偶然使用的…由于Windows的这种行为,我过去在使用驱动程序版本时遇到了一些问题…
以上来自于百度翻译 以下为原文 All i'm saying is... .spt is just another way of downloading the hex and if the hex doesn't work properly then the spt should show the same behaviour... i just wanted you to confirm that a older spt is not being used accidentally... I've faced problems in the past while working with driver versions due to this behaviour of windows... |
|
|
|
我接手一个项目的产品使用。SPT文件下载的代码的装置。我不得不建立一个开发环境,一直无法找到cyscript软件。请告知。
以上来自于百度翻译 以下为原文 I have took over a project for a product that uses the .spt file to download the code to the device. I have had to buildup an development environment and have not been able to find the CyScript software. Please advise. |
|
|
|
无论下载SPT与六cyscript应该有一个命令行界面。大多数公司运行自动化的每日构建和需要能够转换成十六进制输出从Keil编译器SPT没有手动运行cyscript。可以请你提供cyscript的来源,我们可以做这个简单的修改?
以上来自于百度翻译 以下为原文 Regardless of downloading spt versus hex cyscript should have a command line interface. Most companies run automated daily builds and need to be able to convert the hex output from the Keil compiler to spt without manually running cyscript. Can you please provide the source for cyscript so we can make this trivial modification ourselves? |
|
|
|
你好,
自动化使用SPT并不像看起来那么容易。使用INF文件,您将使用SPT,就像系统文件一样。如果在系统文件夹中覆盖它,OS将很可能从它的备份中加载旧版本。(将有一个名为LASTHOAD的文件夹) 如果把它放在一个公用文件夹中,每次都会被迫把设备指向INF文件。 我的理解是,SPT和IIC将只在固件(.HEX)被测试和最终构建完成之后才使用。我对你的观点有点困惑。请解决上述问题,让我们进一步了解这一点。 当做, 阿南德 以上来自于百度翻译 以下为原文 Hi, automating using .spt is not as easy as it seems. Using the inf file you'll be using .spt like a system file. If you overwrite it in the system folder the OS will most probably load a older version from its backup. (there will be a folder called LastGood) If you place it in a common folder you'll be forced to point the device to the inf file everytime. My understanding is that .spt and .iic would be used only after the firmware (.hex) has been tested and the final build is ready. I'm slightly confused with your point. Please address the above concerns, let us figure this out further. Regards, Anand |
|
|
|
嗨,阿南德,
我明白你的意思了。SPT文件部分的驱动程序安装。我们的目的不是在系统文件夹中覆盖它。我们只是希望能够创建一个批处理文件,这将运行keil编译器创建的。HEX文件,然后运行cyscript转换。HEX文件到SPT文件。 你是对的,开发者测试。HEX文件但其他人跑每日构建创造。SPT文件最终运。那些人不会中断他们的自动化过程,运行这些和许多其他步骤,手动运行cyscript。 当做, 道格 以上来自于百度翻译 以下为原文 Hi Anand, I understand your point about the .spt file being part of the driver install. Our intention is not to overwrite it in the system folder. We simply want to be able to create a batch file which will run the Keil compiler to create the .hex file and which will then run CyScript to convert the .hex file to an .spt file. You're right that developers test the .hex files but other people run daily builds which create the .spt files which are ultimately shipped. Those people are not going to interrupt their automated processes, which run these and many other steps, to manually run CyScript. Regards, Doug |
|
|
|
你好,
在我的工作中,我必须重新生成。在KEIL项目之后,SPT文件经常被重新编译。现在我用CyPrimeApp手工操作这个命令行工具来生成.HEX的SPT会很有帮助。好的是,CyPosile的完整源代码(Cype)在“C:CyPress CyPress套件USB 3.4.6CyUSB .NET 示例控制中心”中可用。因此,当我厌倦了手动进行这种转换时,也许我会找到时间修改它来处理命令行PARAMS,这不难。… 以上来自于百度翻译 以下为原文 Hi, In my work I also have to regenerate .SPT file after Keil project recompile often. At the moment I do this manually using CyControl app, command line tool to generate .SPT from .HEX would be very helpful. The good thing is that full source code (C#) of CyControl is available at "C:CypressCypress Suite USB 3.4.6CyUSB.NETexamplesControl Center" so when I will tired of doing this conversion manually maybe I will find a time to modify it to handle command line params, this should be not difficult... |
|
|
|
通过改编和使用这个VBScript,您可以在没有CyScript.exe命令行版本的情况下实现您的目标:
设置S= WScript CreateObject(“WScript .shell”) A= S.Run(“CyScript .exe”) 睡眠1000 S. AppAc激活A S.sEdKEY“{输入}” 睡眠200 S.sEdKEdithsSLaveFio.HEX {输入}{Tab}{Tab}{It}} 睡眠200 S.sEdKEY“Y{Inter }” 睡眠200 S.sEdKEY“%{F4}” 退出 以上来自于百度翻译 以下为原文 By adapting and use this vbscript, you can achieve your goal without the command line version of CyScript.exe: set s = WScript.CreateObject("WScript.Shell") a = s.Run("CyScript.exe") WScript.Sleep 1000 s.AppActivate a s.SendKeys "{ENTER}" WScript.Sleep 200 s.SendKeys "slavefifo.hex{ENTER}{TAB}{TAB}{ENTER}" WScript.Sleep 200 s.SendKeys "Y{ENTER}" WScript.Sleep 200 s.SendKeys "%{F4}" Wscript.quit |
|
|
|
你好!
我目前在Linux上工作,所以我没有像CyScript和CyScript这样的工具。 我必须为Android开发一个驱动程序,一个使用EZ-USB FX2LP芯片的外围设备。 我需要做重命名,以便能够向固件发送命令。 问题是,我只有一个.SPT文件,我想这是一个CyScript文件。我认为没有办法让我在Android设备上使用这个文件,因为只有CyScript可以解释它,CyScript只在Windows上运行。我说的对吗? 所以,我想知道从2012年12月起(这篇文章:HTTP://wwwyCyp.com)?APP =论坛和ID;ID=167和;RID=73219),有人发现或创建了一个将.SPT转换成.HEX的解决方案。 非常感谢你 马蒂厄 以上来自于百度翻译 以下为原文 Hi ! I'm currently working on Linux, so I don't have the tools like CyControl and CyScript. I have to develop a driver for Android, for a peripheral that uses an EZ-USB FX2LP chip. I need to do the Renumeration, to be able to send commands to the firmware. The thing is, I only have a .spt file, which is a CyScript file I suppose. I don't think there is a way for me to use that file on an Android device, since only CyScript can interpret it, and CyScript only runs on Windows. Am I correct ? So, I was wondering if since december 2012 ( this post: http://www.cypress.com/?app=forum&id=167&rID=73219), someone had found or created a solution to convert a .spt to a .hex ? Thank you very much Matthieu |
|
|
|
你好,
您的驱动程序应该能够将.SPT文件下载到设备中。 你能开车吗? 在安装CY3684-DVK后,请参阅路径“C:CyPress USB CY3684EZ-EZBUFX2LPYDVK 1驱动器 CyLoad”中的驱动程序。这将给你一个关于驱动程序的想法,它可以下载脚本文件到设备中。 当做, Vikas。 以上来自于百度翻译 以下为原文 Hi, Your driver should be able to download the .spt file in to the device Can you driver do that? Please refer the drivers in the path "C:CypressUSBCY3684_EZ-USB_FX2LP_DVK1.0DriversCyLoad" after installing Cy3684 DVK. This would give you an idea about the driver which can download the script file into the device. Regards, Vikas. |
|
|
|
我也有同样的问题,你的意思是我们需要下载SPT文件到微控制器?我们试着用FX2X下载功能下载,但是没有任何改变,我们仍然无法实现重新定义它。
以上来自于百度翻译 以下为原文 I have also the same problem, you mean we need to download spt file into the microcontroller? We try to download it with fx2_download function however nothing changed, we still cant achieve to renumerate it. |
|
|
|
你好,
我还感兴趣的十六进制SPT生成通过Windows命令行(我可以告诉你为什么,如果你想要它)。你今天有这个选择吗? 以上来自于百度翻译 以下为原文 Hello, I'm also interested in hex-spt generation via Windows command line (I can tell you why if you want it). Do you have that option for today? |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2106 浏览 1 评论
1853 浏览 1 评论
3672 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1788 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
575浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
427浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
439浏览 2评论
389浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
921浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 08:47 , Processed in 1.369249 second(s), Total 111, Slave 94 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号