完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
需要什么操作来将FX3映像写入SRAM并启动它们?
我试图做的事情: -将来自解析图像文件(未原始)的数据写入4096个字节块到SRAM。 跳转到最后给出的地址(?)长度为0的图像文件中的块。 加载数据之前需要什么吗?我认为在FX2中有类似于停止处理器的情况。 加载和启动数据后需要什么吗?像强迫重生(0xA8)? 有一些块在SRAM之外,特别是地址0x000 000 0100(中断向量?). 这些还必须写下来吗? 因此,一般来说,必须包含在图像文件中的每个块? 以上来自于百度翻译 以下为原文 What actions are needed to write FX3 images to SRAM and start them? What i tried to do: - Write data from parsed Image File (not raw) in 4096 bytes blocks to SRAM. - Jump to address which is given as last (?) block in image file with length = 0. Is there anything needed before loading the data? I think there was something like halting the processor in FX2. Is there anything needed after loading and starting the data? Something like forcing a renumeration (0xA8)? There are some blocks which go outside SRAM, especially e.g. address 0x00000100 (interrupt vectors?). These must also be written? So in general, every block which is contained in an image file must be written? |
|
相关推荐
4个回答
|
|
|
你好,
看一下应用笔记AN73150。这解释了你必须做的事情,并有一个源代码示例来下载.img文件。HTTP://www. CyPress?COM/?RID=56486 索达法尔 以上来自于百度翻译 以下为原文 Hi, Have a look at application note AN73150. This explains what you have to do and has a source code example for downloading the .img file. http://www.cypress.com/?rID=56486 Sodafarl |
|
|
|
|
|
谢谢你的回答。
是的,我已经知道这个应用笔记了。我已经写了我的加载器后,这个应用笔记。但是我的加载器不能工作。 我在4096字节块中下载解析的图像文件, 读取每个4096字节块以验证内容(内容看起来不错),然后作为最后一步,我发送一个“跳转到地址X”。 然后FX3(最初作为VID=1480,PID=0000)远离USB总线,但不会再次出现。 当我把权力拿走时,我可以再做同样的事情。 因此,我的问题是,如果在下载和跳转序列之前或之后需要一些东西, FX3在加载了我自己的软件后恢复了活力。 当我用另一台计算机上的控制中心加载同一图像时,它用新的VID/PID枚举,一切都正常。 以上来自于百度翻译 以下为原文 Thanks for your answer. Yes, i already know this app note. I have written my loader after this app note. But my loader does not work. I download parsed image file in 4096 byte blocks, read each 4096 byte block back to verify content (content looks ok), then as final step i send a "jump to address x". Then FX3 (originally as VID=1480, PID=0000) goes away from USB bus, but does not appear again. When i take USB power away, i can do the same again. Therefore my question, if something is needed before or after the download and jump sequence to bring the FX3 back to life after loading my own software. When i load the same image with Control Center on another computer, it enumerates with new VID / PID and everything is ok. |
|
|
|
|
|
你好,
如果您遵循应用程序注释中的软件示例,则设备应该编程。实际上只有两个步骤——下载.img文件和完成传输执行到程序条目。请注意,如果下载区块在下载部分的末尾,则下载的区块并不总是4096。例如,下载部分可能是34768字节长,这将是8下载4096和最后下载2000字节。我已经附加了一个显示VisualBasic代码的文本文件来下载图像文件。这是可行的。 索达法尔 FWZDLoad 1.1 K 以上来自于百度翻译 以下为原文 Hi, If you follow the software example in the application note then the device should program. There are really only two steps - download the .img file and when finished transfer execution to program entry. Note that the downloaded block will not always be 4096 if it is at the end of a download section. For example a download section might be 34768 bytes long which will be 8 downloads of 4096 and a final download of 2000 bytes. I have attached a text file showing Visual Basic code to download the image file. This works. Sodafarl
|
|
|
|
|
|
我现在有了下载UTIL。我可以证实,只写在最大4096字节块SRAM和执行是必要的。
其他一切都是自动工作的。 以上来自于百度翻译 以下为原文 I have my download util running now. I can confirm that only write to SRAM in max 4096 byte chunks and execute is needed. All other things work automatically. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7088 浏览 0 评论
2474 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2073 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7566浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6114浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7962浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:32 , Processed in 0.752667 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
4106