Cypress技术论坛
直播中

李志静

8年用户 1502经验值
私信 关注
[问答]

FX3赛普拉斯控制中心工作,但编译CSharp示例不ERASE_FAILED

你好,
我有一个FX3设备,它是适当的编程包括CyPress USB控制中心。我已经通过SDK下载下载了USB控制中心的源码。一切都编译好,但是当我尝试使用FX3-和.gt;SPIflash选项来编程时,我从下面的代码中得到一个错误。
Stabel.Text =“正在进行的SPI闪存编程……”;
刷新();
EnMeReals= Fx3.. DownloadFw(FOpenDeal..FiNeNEX,FX3YFWDWNLADIOMIAYAYTYPE型.SPIFFLASH);
TestLabel.Text =“SPI闪存编程”+FX3.GETFWErrSROPE(EnMeREST);
刷新();
返回的错误是SPILASH
此错误不会出现在SDK所包含的二进制实用程序中。
使用USB分析器,我可以看到相同的命令C4H,1,0,0是从两个应用程序发送的,但是在我编译的版本中,它失败了,在公用程序(由CyPress汇编)中,相同的命令成功了。
任何方向都会有帮助。
谢谢
J

以上来自于百度翻译


     以下为原文
  Hi,

I have an FX3 device and it is properly programmed by the included Cypress USB Control Center.  I have downloaded and compiled the USB Control Center Source via the SDK download.  Everything compiles ok, but when I try to use the FX3-->SPI_Flash option to program, I get an error from the following code.

                    StatLabel.Text = "Programming of SPI FLASH in Progress...";
                    Refresh();
                    enmResult = Fx3.DownloadFw(FOpenDialog.FileName, FX3_FWDWNLOAD_MEDIA_TYPE.SPIFLASH);
                    StatLabel.Text = "Programming of SPI FLASH " + Fx3.GetFwErrorString(enmResult);
                    Refresh();

The returned error is SPILASH_ERASE_FAILED

This error doesn't occur in the binary utility included with the SDK.

Using a USB analyzer, I can see that the same command  C4H,1,0,0 is sent from both applications, but in my compiled version, it fails and in the utility (compiled by Cypress) the same command succeeds.

Any direction on this would be helpful.

Thanks

J.

回帖(4)

刘辉

2018-12-14 16:45:47
你好,
这是不可能发生的。编译版本是调试还是发布?你能试试这些,看看它是否在其中的任何一个工作?
当做,
- Madhu Sudhan

以上来自于百度翻译


     以下为原文
  Hi,
 
This is not expected to happen. The compiled version was Debug or Release? Can you please try with either of these and see if it is working in any of these?
 
Regards,
-Madhu Sudhan
举报

李志静

2018-12-14 17:04:55
引用: dfzvzs 发表于 2018-12-14 19:53
你好,
这是不可能发生的。编译版本是调试还是发布?你能试试这些,看看它是否在其中的任何一个工作?
当做,

我尝试过调试和发布,但没有成功。我正在使用VS 2013更新5
微软Visual Studio高级版2013
版本120.4062900更新5
微软.NET框架
4.4.01055版本
有没有办法让我把我的建筑寄给你看?
我需要为我们的项目写一个独立的引导加载程序,这阻止了我的启动。
谢谢你的帮助。

以上来自于百度翻译


     以下为原文
  I have tried debug and release with no success.    I am using VS 2013 Update 5
 
Microsoft Visual Studio Premium 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055
 
Is there a way for me to send you my build to look at?
 
I need to write a standalone boot loader for our project and this is stopping me from getting started.
 
Thanks for your help.
举报

刘辉

2018-12-14 17:24:48
嗨,约翰,
请将您的构建与源一起发送给我们。
当做,
- Madhu Sudhan

以上来自于百度翻译


     以下为原文
  Hi John,
 
Please send us your build along with the source.
 
Regards,
- Madhu Sudhan
举报

李志静

2018-12-14 17:33:36
引用: dfzvzs 发表于 2018-12-14 20:32
嗨,约翰,
请将您的构建与源一起发送给我们。
当做,

约翰·P·马丁
软件工程经理
HORIBA Jobin Yvon公司
堀田科学公司
3880帕克街爱迪生,美国新泽西08820
电话:732.49 4.8660 Ext 8208
直接:732.623.8208
传真:732.54
电子邮件:Jay.MalTiNHORYBA.com
www. HORBA.COM/科学
请注意我们新的电子邮件地址和网站,部分的创建
HORBA科学,一个全球团队能够更好地专注于会议
你现在和将来的需要。请更新您的书签和垃圾邮件
相应地过滤。
此电子邮件及其发送的任何文件都是保密的和有意的。
只供使用的个人或实体使用
演说。如果您收到此电子邮件错误,请通知
系统管理器此信息包含机密信息
仅用于命名的个人。如果你不是名字
收件人不应散布、分发或复制此电子邮件。
如果您收到此邮件,请立即通过电子邮件通知发件人。
错误地发送电子邮件,并从系统中删除此电子邮件。如果你不是
有意的接收者,您被通知披露,复制,
对本内容的内容进行发布或采取任何行动
严禁信息。HORIBA Jobin Yvon公司3880公园
大道,爱迪生,新泽西08820,www. Hoalba.com。
控制中心
461.5 K

以上来自于百度翻译


     以下为原文
  John P. Martin
Software Engineering Manager
HORIBA Jobin Yvon, Inc.
A HORIBA Scientific Company
3880 Park Avenue Edison, New Jersey USA 08820
Phone: 732.494.8660 Ext. 8208
Direct: 732.623.8208
Fax: 732.549.5125
E-mail: jay.martin@HORIBA.com
www.HORIBA.com/Scientific
 
Please note our new e-mail address and website, part of the creation of
HORIBA Scientific, a global team better able to locally focus on meeting
your present and future needs. Please update your bookmarks and spam
filters accordingly.
 
This email and any files transmitted with it are confidential and intended
solely for the use of the individuals or entities to whom they are
addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individuals named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
information is strictly prohibited. HORIBA Jobin Yvon, Inc. 3880 Park
Avenue, Edison, New Jersey 08820, www.HORIBA.com.


举报

更多回帖

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