完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,问候。我一直在使用EEPROM在我的工作生活的印象中EEPROM是用来存储数据不经常使用。如配置参数等。最近,我已经被权力要求,以评估替代NAND闪存,因此,我已经开始看NOR闪存。老实说,我没有经验,也没有Flash。所以我想知道这里的一些灵魂是否能指引我解决这个问题。我的查询如下:1。哪个更可靠…EEPROM还是NOR闪存?(关于贪污问题)2。如果NOR闪光灯比EEPROM更可靠…正如我从这个装置中了解到的,为什么不用NOR Flash替换EEPROM呢?我们有两个不同的要求。我们需要存储的配置数据,如校准参数等,将改变不到十倍,在我们的产品的整个生命周期。我们需要存储事件日志,例如过电压超过电流,时间戳在几个月内连续发生,因此我们需要一个大的存储空间,但它限制在大约100kb。我可以使用NOR Flash来存储包括事件日志和配置的每一件东西吗?数据整理?谢谢你的帮助
以上来自于百度翻译 以下为原文 Hello All, Greetings. I have been using EEPROMs all my working life under the impression that EEPROMs were to be used for storing data that was not frequently used.. such as configuration parameters etc. Recently I have been asked by the powers that be to evaluate an alternative to NAND flash and hence I have started looking at NOR flash memory. To be honest I have no experience with NOR flash. So I wonder if some kind souls here could guide me on this issue. My queries are as follows. 1. Which is more reliable ... EEPROM or NOR flash ? ( with respect to corruption issues) 2. If the NOR flash is more reliable than the EEPROM ... as I have learnt from my brief acquaintance with this device, why not replace the EEPROM with the NOR flash? We have two distinct requirements 1. We need to store configuration data such as calibration parameters etc which will change may be less than ten times during the entire life time of our product 2. We need to store event logs such as over voltage over current with time stamping which occur on a continuous basis over a period of several months and hence we need a large storage space but which is limited to about 100KB. Can I use NOR flash to store every thing including the event logs and configuration data? Thanks for your help Regards Anand |
|
相关推荐
6个回答
|
|
主要的区别是Flash只能在块中被擦除。EEPROM是字节可擦除的。因此,Flash可获得更大(高达10倍),更便宜,更快速(和10X的SPI版本)。数据保持和“可靠性”是相同的。EEPROM的优势(除了字节擦除)是它忍受更多的写/擦除周期10X。2MBIT闪存可能有4K字节的擦除扇区,但是您可以单独写入每个字节。所以底线是,Flash可以存储日志和配置数据。如果数据填充了芯片并且需要环绕到先前写入的区域,那么在大的块中有明确擦除的复杂性,而不是擦除周期自动发生在字节基础上。没有什么大不了的,但比EEPROM要复杂得多。并且使用更大的闪存芯片可以完全消除正常操作中擦除的需要。
以上来自于百度翻译 以下为原文 The main difference is that Flash can only be erased in blocks. EEPROM is byte erasable. As a result, Flash is available bigger (by up to 10x), cheaper, and faster (>10x for SPI versions). Data retention and "reliability" are the same. EEPROM advantage (besides byte erase) is that it endures more write/erase cycles by 10x. A 2Mbit flash might have erase sectors of 4Kbyte, but you can write each byte individually. So the bottom line is that yes, Flash can store logs and configuration data. If the data fills the chip and needs to wrap around to previously written areas, you have the complication of explicitly erasing in large blocks rather than having the erase cycle happen on a byte basis automatically. Not a big deal, but more complicated than EEPROM. And using a bigger flash chip might eliminate the need for erasing during normal operation altogether. |
|
|
|
我希望这个帖子能和“NAND”Flash讨论“不”,而不是Flash和EEPROM。
以上来自于百度翻译 以下为原文 I was hoping that this thread was to discuss "NOR" vs. "NAND" Flash, rather than Flash vs. EEprom |
|
|
|
@布朗宁,谢谢你那极好的洞察力朋友!你把事情弄得一清二楚,原谅我的无知…但我记得在某个地方读过,Flash是字节可寻址的,而不是NAND Flash。这是真的吗?还是我的记忆没有起作用?这给我带来了一个问题,应该让辛齐格高兴吗?For和NAND闪存的区别究竟是什么?为什么一个喜欢一个胜过另一个?最佳阿南德奖
以上来自于百度翻译 以下为原文 @mbrowning, Thanks for that excellent insight friend! You have made the whole thing quite clear. Pardon me for my ignorance though.... but I remember reading somewhere that NOR flash is byte addressable as against NAND Flash which is not. Is this true? or my memory does not serve right? Which brings me to a question which should probably make Ms CinziaG happy?! What exactly is the difference between NOR and NAND flash?? Why would one prefer one over the other? best regds Anand |
|
|
|
你可能想考虑FRAM的使用。这是一个奇妙的技术,允许逐字节编程,没有块擦除所需的,有更高的写入耐久性数字,即使适用,仍然是非易失性。哦,还有一部分……没有长写时间。阅读和写作本质上是相同的时机。目前我使用的是FRAM,我以前使用的是I2C串行EEPROM,所以我使用的是带有I2C接口的FRAM,但是其他接口是可用的。我将留给您决定FRAM设备当前可用的密度是否是S。可用于日志记录应用程序。
以上来自于百度翻译 以下为原文 You may want to consider the use of FRAM. It is a wonderful technology that allows byte by byte programming, no block erase needed, has way higher write endurance figures if even applicable, and is still non-volatile. Oh and another part....no long write times. Reading and writing are essentially the same timing. Currently I am using FRAM for applications where I previously used I2C serial EEPROMs so am using the FRAMs with I2C interface but other interfaces are available. I'll leave it to you to decide if currently available densities of FRAM devices are suitable for your logging application. |
|
|
|
弗拉姆整洁。RAM的速度和接近无限循环耐力的访问。比EEPROM更贵,也没有那么大。根据您对组件成本的宽容,它可以是一个很好的选择。Flash是字节可寻址的读写,但只有块和芯片可擦除。一般来说,擦除设置位为1,将清除位写入0。实际上,您可以多次写入字节,但0位将保持0.NAND本质上是串行存储器(串行字节,而不是位),所以它被设计用于块访问。NAND在某些方面是有问题的。不能保证每个字节都是好的,除非通常在第一个块中。随着时间的推移,比特可能变差(就像硬盘一样)。在我的经验中,它只在OS管理它时使用——标记坏块并维护文件系统(无论是原始NAND还是EMMC芯片,还是SD卡)。如果你需要大量的存储和硬件和软件来驱动它,它可能是最便宜的选择。
以上来自于百度翻译 以下为原文 FRAM is neat. RAM like speed and access with nearly unlimited cycle endurance. More expensive than eeprom, and not as big as NOR. Depending on your tolerance for component cost it could be a very good choice. NOR Flash is byte addressable for reads and writes, but only block and chip erasable. Generally, erasing sets bits to 1, writing clears bits to 0. You can actually write bytes multiple times but 0 bits will stay 0. NAND is inherently a serial memory (serial bytes, not bits) so it is designed for block access. NAND is problematic in some ways. You are not guaranteed every byte is good except usually in the first block. Bits can go bad over time (just like a hard disk). In my experience it's only used when an OS is managing it - marking bad blocks and maintaining a file system (whether it's raw NAND or eMMC chips, or SD cards). If you need lots of storage and have the hardware and software to drive it, it might be the cheapest choice. |
|
|
|
通常使用的EEPROM也不是字节可寻址、字节可擦除和字节可写的。也不使用标准接口,例如字节并行、I2C或SPI直接访问存储器。也没有存储器比NAND更敏感地要求磨损均衡,但是在绝对可靠性要求的情况下,它确实需要引入某种形式的磨损均衡、冗余和/或刷新内容。NAND是通常用于固态盘、USB存储棒等的NAND写入和读取。作为一个512位至4096位数据字节的串行位流,根据实际的CHIP。NAND的实际字节数具有更高的密度,但由于此,它也倾向于有位故障,因此它也有一堆CRC位标记在每行上,还有一些用于SIG的位。如果行是好行或不行(也就是说,当良可以用于存储时,否则它有太多的错误以具有故障安全存储)。一个NAND处理芯片将管理CRC计算,允许在读取上纠正位错误,并管理坏行。在USB驱动器中,这都是由USB接口芯片处理的。在SSD中,它由SATA(或其他接口模式)芯片处理,使得CRC错误和坏点映射对用户来说都是不可见的。NAND存储器的可靠操作也需要磨损均衡,这也是由USB或SSD控制器处理的,因此对用户也是不可见的。我不清楚闪存通常使用的芯片如PICS是NOR还是NAND,但我相信它也不像闪光灯似乎没有。NAND具有的磨损均衡等问题(并且在NAND处理程序的文档中没有提及),但是其他的妥协例如写入周期的数量有限,并且在写入新数据之前需要特定的擦除步骤。擦除功能也在一行字节(最多64字节的一些芯片)上运行,而不是单个字节或字。我假设这减少了所需的芯片面积,因为通常不需要单字节擦除/写入。它还允许它们使存储单元更小,允许更小的芯片,但这是折衷减少擦除/写入周期的数目,这通常不是问题。我的理解是,使用一些闪存来模拟板上EEPROM的芯片(而不是像早期16F芯片那样具有特定EEPROM区域)在保留EEPROM仿真的区域中具有MiFiFig单元,以允许更高数量的擦除/写入周期,但仍有局限性。要求行擦除。
以上来自于百度翻译 以下为原文 NOR is what is normally used for EEPROM as it is byte addressable, byte erasable and byte writable. NOR memory is directly accessible using a standard interface such as byte parallel, I2C or SPI. Nor memory is less sensitive than NAND to requiring wear levelling, but where absolute reliability is required it does pay to introduce some form of wear levelling, redundancy and/or refresh of contents. NAND is what is normally used for Solid State Disks, USB memory sticks etc. NAND writes and reads a row as a serial bit stream of 512 to 4096 data bytes at a time, the actual number of bytes depending on the actual chip. NAND has much higher density, but as a result of this it also tends to have bit failures, so it also has a heap of CRC bits tagged on each row as well as some bits used to signal if a row is a good row or not (i.e. when good can be used for storage, otherwise it has too many errors to have failsafe storage). A NAND handling chip will manage the CRC calculations that will allow corrections of bit errors on reads, and also manage the bad rows. In a USB drive this is all handled by the USB interface chip. In an SSD it is handled by the SATA (or other interface mode) chip so that CRC errors and bad spots mapping is all invisible to the user. Reliable operation of NAND memory also requires wear leveling, which is also handled by the USB or SSD controller, and so is also invisible to the user. It is unclear to me if the Flash memory normally used chips such as PICs is NOR or NAND, but I believe it is NOR as the Flash doesn't seem to have the problems of wear levelling etc that NAND has (and no mention is made in documentation of a NAND handler), but other compromises are made such as limited number of write cycles, and requiring a specific erase step before writing new data. The erase function also operates on a row of bytes (up to 64 bytes in some chips) rather than a single byte or word. I presume this reduces the die area required as single byte erase/write is not normally required. It also allows them to make the memory cells smaller allowing smaller die, but this is where the trade off is reduced number of erase/write cycles, which is not normally a problem. My understanding is that chips that use some of the Flash memory to emulate onboard EEPROM (rather than having a specific EEPROM area as early 16F chips have) have mofiifed cells in the area reserved for EEPROM emulation to allow a higher number of erase/write cycles, but still have the limitation of requiring row erase. |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
729浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
628浏览 0评论
526浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:17 , Processed in 1.150614 second(s), Total 58, Slave 51 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号