完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
IAM即将完成PSOC3(我的第一个主要项目)的创建者项目,并希望在发布之前使用一些闪存保护。在TRM或某个地方,闪存保护不能用于保存SPC数据(如EEPROM存储器)的字节。我的问题是:如何识别哪些地址用于我的EEPROM存储器,这样我就可以在这些字节上排除闪存保护?
以上来自于百度翻译 以下为原文 I am about to complete a Creator project for PSoC3 (my first major project) and would like to add some flash protection before I release it for use. I read in a TRM or somewhere that the flash protection can't be used for bytes that hold SPC data such as EEPROM memory. My question is: how do I find which addresses are being used for my EEPROM memory so I can exclude flash protection on those bytes? |
|
相关推荐
5个回答
|
|
从数据表-
不需要API从EEPROM读取。EEPROM的整个内容映射到存储器空间,并且可以直接读取。EEPROM允许字节级别的读访问。以下定义用于读取EEPROM: ^ EEDPRM存储器的基本指针:CyDeVIEWEEL大小,EEPROM内存空间的大小为字节。 使用基本指针,可以读取EEPROM存储器的各个字节。 在创建者的起始页上有一个项目,因此您可以查看R/W如何进行EEPROM。 完成了。 基本上,您有一组希望存储在EEPROM中的数据。作为数据的定义者 通常,你写一行值一次给EE。作为定义,你知道它的大小和如何 它被打包成行格式。这反过来又给你写的行,16字节。 一段时间。在创建者中,双击*.CydWR将引导你到一组选项卡,其中一个 是闪光保护。所以你不会保护你打算写的那些行。 请注意,MAP文件将显示您映射到所有内存区域的内容。 CyPress公司 问候,Dana。 以上来自于百度翻译 以下为原文 From the datasheet - There is no need of APIs to read from the EEPROM. The entire content of the EEPROM is mapped into memory space and can be read directly. EEPROM allows read access at the byte level. The following defines are used for reading EEPROM: CYDEV_EE_BASE The base pointer of the EEPROM memory CYDEV_EE_SIZE The size of the EEPROM memory space in bytes CYDEV_EEPROM_ROW_SIZE The size of a row of the EEPROM in bytes Using the base pointer, individual bytes of the EEPROM memory can be read. There is a project available on start page of Creator so you can look at how R/W to EEPROM is done. Basically you have a set of data that you want stored in EEPROM. As the definer of the data typically you write a rows worth at a time to the EE. And as definer you know its size and how its packed into the row format. That in turn gives you the # rows you will be writing, 16 bytes at a time. In Creator, double clicking *.cydwr will lead you to a group of tabs, and one of them is flash protection. So you would un protect those rows that you intend to write. Note .map file will show you whats mapped into all memory regions. www.cypress.com/ Regards, Dana. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
谢谢。我认为记忆地图正是我要找的。在这和CyDeVeleYBASE之间,寻址现在变得有意义了。
以上来自于百度翻译 以下为原文 Thanks. I think the memory map was exactly what I was looking for. Between that and CYDEV_EE_BASE, the addressing makes sense now. |
|
|
|
只有小组成员才能发言,加入小组>>
760个成员聚集在这个小组
加入小组2151 浏览 1 评论
1897 浏览 1 评论
3718 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1829 浏览 6 评论
1574 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
778浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
536浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
482浏览 2评论
443浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1138浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-23 20:49 , Processed in 0.813482 second(s), Total 50, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191