完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想建立一个通过BLE进行沟通的系统。我用AN91162学习配置和使用BLE。它运行良好,但我看到以下内存使用情况:
闪存使用:131072字节(80271)中的61.2%个。 SRAM使用:16384个字节中的10896个(66.5%)。堆栈:2048字节。堆:128字节。 这已经由PSoC创建者4.1报道。 下面是关于我的设置和工具的细节: 环境: PSoC创建者4.1更新1(4.1.0.32 10) 文化:英语(美国) 操作系统版本:微软Windows NT 100.1433.0 CLR版本:4.0.30319.42000 BLE组件版本:3.40 棱镜组件版本2.20 请帮助我减少RAM和闪存的使用。 谢谢, 阿迪亚 以上来自于百度翻译 以下为原文 I want to build a system that communicates over BLE. I used AN91162 to learn to configure and use BLE. It works well, but I see the following memory usage: Flash used: 80271 of 131072 bytes (61.2 %). SRAM used: 10896 of 16384 bytes (66.5 %). Stack: 2048 bytes. Heap: 128 bytes. This has been reported by PSOC creator 4.1. Below are the details about my setup and tools: Environment: PSoC Creator 4.1 Update 1 (4.1.0.3210) Culture: English (United States) OS Version: Microsoft Windows NT 10.0.14393.0 CLR Version: 4.0.30319.42000 BLE component version: 3.40 Prism component version 2.20 Please help me reduce the ram and flash usage. Thanks, Aditya |
|
相关推荐
3个回答
|
|
BLE本身使用了大部分的Flash和RAM使用。
如果你删除了BLE组件,但是把剩下的代码放在芯片中,使用率应该从大约66%下降到3%左右。 BLE不是一个非常友好的组件 以上来自于百度翻译 以下为原文 BLE itself uses most of the flash and ram usage sadly If you remove the BLE component, but leave the rest of your code in the chip, the use should drop from roughly 66% down to 3% or so... BLE is not a very space friendly component |
|
|
|
yuhe82 发表于 2018-10-16 18:16 我希望在我的应用程序无线连接。如果BLE是内存饥饿,那么CyPress是否有其他解决无线连接的方案? 此外,我所报告的内存利用率是CY8C4247LQI-BL43。如果我升级到CY8C4248LQQ-BL583T,那么我会以稍高的价格获得双倍内存。但真的很高兴知道是否有其他最佳的解决方案存在! 谢谢, 阿迪亚 以上来自于百度翻译 以下为原文 I want wireless connectivity in my application. If BLE is that memory hungry then does Cypress have any other solution for wireless connectivity? Also the memory utilization that I reported was for CY8C4247LQI-BL483. If I upgrade to CY8C4248LQQ-BL583T, then I get double memory at slightly higher price. But it really nice to know if any other optimal solution exists! Thanks, Aditya |
|
|
|
handsomelchcpp 发表于 2018-10-16 18:32 我自己看了CyPress模块有点,但没有看到比256K更大的内存,其他选择将是Wi-Fi,WICE,或其他PSoC 3/4 / 5/6芯片之一。 一个HIMA可能有更多的信息推荐,因为我对CyPress有哪些芯片没有太多的了解。 PSoC 6具有1 MB的闪存空间,但这可能更昂贵。 如果你打开CyPress的一个案例,他们可以帮助你减少BLE代码的占用,或者找到你需要的合适的芯片/更低的价格等等。 虽然,33%的空间对于应用程序来说是足够的,这些应用程序主要是通过无线/蓝牙接口进行通信的。潜在地,改变配置文件/组件设置可能会产生更好的结果,但我认为不是很有效。 以上来自于百度翻译 以下为原文 I looked at the cypress modules myself a little bit, but didn't see larger memory than the 256K, and the other choices would be WI-FI, WICED, or one of the other PSoC 3/4/5/6 chips. A hima might have more information on recommendations, as I don't have great knowledge on which chips Cypress has available The PSoC 6 has 1 MB of flash space, but that is probably more expensive If you open a case with Cypress, potentially they can help you reduce the footprint of the BLE code, or to find the right chip that you need/lower price, etc. Although, 33% of space is quite enough for applications that are mostly communicating through the wireless/bluetooth interface for the application. Potentially, changing the profile/component settings might yield better results as well, but not very effectively I think. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
361浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
858浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 07:53 , Processed in 0.532918 second(s), Total 50, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号