完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
我们正在开发一个应用程序,需要使用CyPress给出的Bootloader组件。 但由于某些原因,我们面临内存问题,所以我们决定创建自己的引导加载程序。 您能提供一些输入来使用CyPress创建者IDE创建我们自己的引导加载程序,还是在现有的引导加载程序组件中做一些更改。 以上来自于百度翻译 以下为原文 Hello We are developing one application which requires to use bootloader component given by Cypress. But for some reason we are facing Memory issues so we decided to create our own bootloader. Can you please provide some inputs for creating our own bootloader using Cypress Creator IDE or to do some changes in existing bootloader component. |
|
相关推荐
14个回答
|
|
一些参考资料
HTTP://www. CyPress?COM/?RID=57561 AN73503- USB HID引导装载器用于PSoC®3和PSoC 5LP HTTP://www. CyPress?COM/?RID=50230 AN68、22-PSoC®3、PSoC 4和PSoC 5LP UART引导加载程序 HTTP://www. CyPress?COM/?RID=41002 AN60317-PSoC®3和PSoC 5LP I2C引导加载程序 HTTP://www. CyPress?COM/?RID=78703 AN84401-PSoC®3和PSoC 5LP SPI引导加载程序 问候,Dana。 以上来自于百度翻译 以下为原文 Some ref material - http://www.cypress.com/?rID=57561 AN73503 - USB HID Bootloader for PSoC® 3 and PSoC 5LP http://www.cypress.com/?rID=50230 AN68272 - PSoC® 3, PSoC 4 and PSoC 5LP UART Bootloader http://www.cypress.com/?rID=41002 AN60317 - PSoC® 3 and PSoC 5LP I2C Bootloader http://www.cypress.com/?rID=78703 AN84401 - PSoC® 3 and PSoC 5LP SPI Bootloader Regards, Dana. |
|
|
|
“由于某种原因造成的记忆问题”使我颤抖。为了避免原因而不是问题的原因而进化的原因不是更安全吗?
鲍勃 以上来自于百度翻译 以下为原文 "Memory issues due to some reason" makes me shiver. Wouldn't it be safer to evolve the reason for issues to avoid the cause (and not the symptom) Bob |
|
|
|
鲍伯更新过程,他们写的是非常消耗内存,我们不想使用。
所以我们决定创建自己的引导加载组件。有可能使用CyPress创建者IDE吗? 如果是的话,你能提供一些输入给我吗?从哪里开始? 以上来自于百度翻译 以下为原文 Bob update process that they have written is very memory consuming which we dont want to use. So we decided to go for creating our own bootloader component. is it possible to do it using cypress creator ide? If yes then can you please provide some inputs to me? from where to start? |
|
|
|
链接DNA提供了一个相对完整的收集资料。要获得更多的信息,请在页面顶部使用“关键字搜索”,然后选择你感兴趣的信息。
内存消耗引导加载程序?为了实现非常基本的Bootloader函数,需要一些Flash,但我怀疑您是否可以通过编写代码来节省合理数量的ROM字节。 关于RAM:当引导加载程序将CONTOL传递到BootLoad中时,所有的RAM将被释放,因此这将不是问题。 鲍勃 以上来自于百度翻译 以下为原文 The links Dana provided are a relatively complete collection of the matter. To get much more information use the "Keyword Search" at top of this page and select the infos you're interested in. Memory consuming Bootloader? To implement the very basic bootloader functions some flash will be needed, no matter, but I question whether you will save a reasonable amount of rom-bytes by writing the code yourself. Concerning ram: when the bootloader passes contol to the bootloaded all ram in use will be freed, so that will not be an issue. Bob |
|
|
|
引导加载程序是与任何其他程序一样的程序。所以一个人写一封信并不复杂。我先看一下引导加载程序组件数据表。
基本上你只需要: 一个ToGOLE以决定何时启动应用程序以及何时引导(例如PIN)通信系统(用于下载新应用程序)闪存写入逻辑以将新的应用程序存储在存储器中以及PC应用程序用于将新应用程序发送到PSoC可引导加载应用程序T。HEN获得对Bootloader的引用,因此它知道它的大小(用于内存放置)。 Bootloader组件数据表也有通信协议的描述,所以您可以重用它。 顺便说一句:PSoC3引导装载器的大小只有2K,需要4字节的SRAM。你确信你会比这更好吗?它的通信部分需要更多的空间(数据表表示对于I2C需要额外的4K闪存和1.5 K RAM),并且你不会在那里节省很多。 以上来自于百度翻译 以下为原文 A Bootloader is program as any other one. So it should be not to complicated to wrote one by yourself. I would start by looking at the bootloader component data sheet. Basically you just need:
The bootloader component datasheets also has a description of the communication protocol, so you might reuse that. Btw: the PSoC3 bootloader is just 2k in size, and needs 4 bytes of sRAM. Are you sure you will be significantly better than that? Its the communication part which needs more space (the datasheets says for I2C one needs additional 4k flash and 1.5k RAM), and you won't probably save much there... |
|
|
|
谢谢!
我们已经决定为PSoC 3设备创建我们自己的简单引导加载程序。 你能给我一些输入如何使用创建者IDE来设计吗? -维杰 以上来自于百度翻译 以下为原文 Thanks hli... We have tdecide to go for creating our own simple bootloader for psoc 3 device. Can you please give me some inputs how to design using creator ide. -Vijay |
|
|
|
读取Bootloader组件数据表。它解释了这样的组件是如何工作的。我想你也应该读一下TRM,来学习写Flash记忆。其他任何事情都只是“正常”的编程,所以没有什么特别的地方可以告诉你。
以上来自于百度翻译 以下为原文 Read the bootloader component data sheet. It explains how such a component works. I think you also should read the TRM, to learn about writing to flash memory. Anything else is just 'normal' programming, so there is nothing special to point you to. |
|
|
|
但我觉得你还应该检查是否有可能去与现有的程序。你仍然没有说明你的实际问题是什么…
以上来自于百度翻译 以下为原文 But I think you still should check wheter its possible to go with the existing bootloader. You still didn't state what your actual problem is... |
|
|
|
实际上,我们对如何在当前引导程序中不可用的字段中更新应用软件有特定的要求。我们不能使用当前Bootloader所提供的更新工具。
是否有可能使用创建者IDE从头开始开发简单的引导加载程序组件? 如果是的话,你能给我们一些如何开始的投入吗? 以上来自于百度翻译 以下为原文 actually we have a specific requirement about how update the application software in the field which is not available in the current bootloader. we can not use updating facility given by current bootloader. is it possible to develop simple bootloader component from scratch using creator ide? if yes can you please give us some inputs of how to start? |
|
|
|
哦,你以前没有提到过这样的要求。你说你有“记忆问题”…也许你可以问你的柏树代表,这些要求是否可以在下一个更新中的现有组件中实现?
是的,您可以在PSoC Creator中实现引导加载程序。我想事情没那么复杂。我已经给了你所有你需要的指针(已经两次了……)。 HLI 以上来自于百度翻译 以下为原文 Oh, you didn't mention such specific requirements before. You said you had 'memory issues'... Maybe you can ask your Cypress representative whether these requirements could be implement in the existing component in one of the next updates? Yes, you can implement a bootloader in PSoC Creator. I guess its not that complicated. And I already gave you all the pointers you should need (twice already...). hli |
|
|
|
你好,Hli,
我开始引用TRM文档。 但是,当为Bootloader组件创建库项目时,我不知道如何访问SFR。 因为我对PSoC设备很陌生,所以我不能把事情弄清楚。 你能指引我进入这个吗? 是否有任何使用SFR创建复合物的示例源代码? -维杰 以上来自于百度翻译 以下为原文 Hello Hli, I started referring TRM document. but i am not getting how to access SFR's when creating library project for bootloader component. As I am new to PSoC devices i am not getting things clearly. Can you please guide me into this? is there any sample source code with you which is creating compoent using SFR's? -Vijay |
|
|
|
SFRs?你是说“特殊功能寄存器”吗?你想和他们做什么?(我猜你应该阅读PSoC3 TRM,和寄存器TRM更多的信息)。
我认为,不需要为引导加载程序创建一个新的组件或库。只要开发它作为一个普通的应用程序——它只是一个读取UART/USB /任何东西的东西,并把它存储到闪存中,并且能够运行这个代码。 在您的可引导加载应用程序中,然后引用为Bootloader应用程序创建的HEX文件,这样您的实际应用程序可以通过链接器放入正确的内存位置。 以上来自于百度翻译 以下为原文 SFRs? Do you mean 'special function registers'? What do you want to do with them? (I guess you should read the PSoC3 TRM, and the registers TRM for more info on that). There is no need, I think, to create a new component or a library for the bootloader. Just develop it as a normal application - its just one that reads stuff over UART / USB / whatever and stores it into flash memory and is able to run this code. In your bootloadable application you then reference the hex file created for your bootloader app, so your real app can be put into the proper memory location by the linker. |
|
|
|
夏威夷群岛
我正在尝试创建CAN BooLoad您能帮助我。 以上来自于百度翻译 以下为原文 HI I am trying to create CAN bootloder can u please help me. |
|
|
|
请不要用新问题劫持不同主题的现有线程。如果你有一个新问题,请打开一个新的主题。这样,你会得到更好的答案,因为它变得更加透明。
谢谢! (和BTW-我回答了你的另一个问题) 以上来自于百度翻译 以下为原文 Please don't hijack existing threads with different topics with your new question. Please open a new topic if you have a new questions. That way you will get better answers, since it gets more vi***ility. Thanks! (and btw. - I answered to your other question) |
|
|
|
只有小组成员才能发言,加入小组>>
756个成员聚集在这个小组
加入小组2125 浏览 1 评论
1867 浏览 1 评论
3683 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1803 浏览 6 评论
1550 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
613浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
456浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
451浏览 2评论
403浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1089浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-14 17:54 , Processed in 1.218465 second(s), Total 71, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号