Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [flash-memories]

The tag has no usage guidance.

1
vote
0answers
44 views

Why isn't NAND flash memory designed to be able to erase a page?

From the book named NAND Flash Memory Technologies, we can learn (Page 26): The erase operation is performed in block units, as shown in Fig. 2.15. The wordlines of selected blocks are grounded and ...
1
vote
2answers
70 views

OTA Programming of STM32

I am currently using ST32L152RE controller interfaced with BLE CC2640R2F module and 4 MB external flash memory interfaced through spi. I was trying to upgrade the firmware of my st controller using ...
0
votes
0answers
30 views

why in the design of the flash memory the controller must erase before writing?

I understand well that for commercial reasons and for making the flash memory faster in writing, the flash memory is written page by page. But why we must erase all over the block before writing to ...
1
vote
0answers
27 views

Which pins are required when reading and writing NAND flash?

I plan on reading and probably writing NAND flash on some embedded devices or USB flash drives. I did not come across many examples for in circuit reading though I'd give that a try at first if ...
1
vote
0answers
39 views

S25FL512S flash driver, read or write not working correctly

I am trying to write a driver for an S70FL01GS chip, which is two stacked S25FL512S chips. I am successfully reading status register, SFDP register, RDID, etc. I am also able to toggle (and verify) ...
1
vote
2answers
208 views

Can I lower flash power consumption by pre-flashing all values to high?

I am designing an embedded system that will use either embedded flash memory or an SD card. The system must survive without much power and the estimated 30mA draw of an SD card sounds too high for me. ...
0
votes
2answers
107 views

Does the logic inside flash memory devices require a power down after each WRITE operation? [closed]

Does the logic inside flash memory devices require a power down after each WRITE operation? I was confused when reading the datasheet of the Micron Serial NOR Flash Memory. There is "To avoid data ...
0
votes
0answers
47 views

EPCQL controller

I am trying to access in read and write my EPCQL-1024 from simple soft running in NIOSII. I have the Altera Serial Flash Controller I configured in QUAD mode connected from its avl_csr and avl_mem to ...
0
votes
0answers
16 views

Is there anyway to prevent permanent disabling of an eMMC's write protection options?q

Here is a scenario: A device's software is stored on an eMMC. The design does not use the eMMC's permanent write protection capability. The option to enable permanent write protection has been ...
0
votes
1answer
25 views

Measurement of the retention period of a memory cell

Manufactures of Non Volatile memory devices give a quote for the Memory retention period of their device. To the best of my understanding, this period refers to the maximum period up to which the ...
1
vote
0answers
43 views

(SPI-)NOR Flash: Slower with age/wear?

I am developing a Linux based IoT gateway. It uses the SPI-NOR Wuhan Xinxin Semiconductor Manufacturing Corp. (XMC) XM25QH64A for U-Boot code and environment. I tried to validate the promised 100'000 ...
0
votes
1answer
251 views

NOR Flash Memory Full chip vs Block vs Sector Erase

I am trying to use a NOR flash memory device: SST25VF016B (with STM32 discoveryboard F407VG). However, I am confused on some terms on their datasheet. You can find the datasheet here: https://www.elfa....
0
votes
1answer
31 views

Are there ways/technologies to use High negative voltages in flash memories?

I am using an FGMOSFET with tunneling gate and control gate as an analog memory for simulation in SPICE. I use -25V to inject electrons into the floating gate and 25V to remove electrons. Everything ...
1
vote
0answers
71 views

Flash memory programming failure

I'm working on an XScale PXA270 with NOR Flash on Chip select 0. Due to the obsolescence of the previous flash, my company changed it for an AMD/Spansion compatible MX29GL128. I'm trying to write on ...
0
votes
1answer
254 views

STM32F103 SPI MISO doesn't work as expected

In one of my small projects I use STMF103C8T6 as MCU and SPI memory W25Q128 of Winbond to store a data. The memory chip connected to SPI1. Here is a part of the scheme: The code is mostly generated ...
0
votes
1answer
82 views

How to work with eMMC from software developer point of view

I am facing a problem how to implement parameters management in an embedded software. Parameters management means that I have some subset of variables which values should be persistent but they will ...
0
votes
3answers
91 views

W25Q80: Data Loss

Today I've faced a strange problem: I have an LCD monitor controller board. It has an LCD panel driver chip having a 8051-based MCU inside, but the chip needs an external W25Q80 SPI flash for ...
1
vote
2answers
233 views

How to secure an EMMC

My department of the company I am working at is in charge of developing a circuit for production, and security in the embedded system is a crucial requirement. The current prototype of our embedded ...
0
votes
0answers
48 views

Writing unused areas of a page on a NAND flash

I'm working on a project based on the ESP32 that uses a NAND chip from the GD5F1 family (link to the datasheet). Sorry for the long question, but it's a bit convoluted, and it's driving me nuts for ...
0
votes
2answers
54 views

Loop on flash memory

I have flash memory that I write assembly code on it. I know that flash has limit cycle ( read/ write) If I write a loop that run 100,000,000 times like ...
0
votes
1answer
65 views

Similarities between flash memory and a camera flash?

This story is repeated in a number of places. What about flash memory would have reminded him of a camera flash? The name “flash” was suggested by Dr. Masuoka's colleague, Mr. Shoji Ariizumi, ...
18
votes
2answers
3k views

Why are NOR flashes still used when NAND flashes have a bigger size?

I've seen a few systems that uses a NOR flash to boot from, and a NAND for a bigger filesystem. I've also seen a system with only NAND gets corrupted after files being written to and verified correct. ...
1
vote
1answer
127 views

On NAND or NOR flash, is program time completely independent of byte values?

I know that the erase value of NAND and NOR cells is all 1s, and the process of programming involves clearing bits. Is the program time of some x length data always the same, regardless of the number ...
2
votes
2answers
72 views

What are the purpose of voltage doublers in flash memories?

I'm wondering what is the need for charge pumps in flash memories.
1
vote
0answers
671 views

Does NOR flash have better life span than NAND?

I wanted to know which one has better life span, NAND or NOR flash and what is the reason? By life span I mean the number of erase cycles allowed per block. I read in the link https://en.wikipedia....
10
votes
1answer
381 views

Can you program a surface mount IC with flash memory and then reflow solder them?

I know that many chips, such as the ATMEGA328P-AU list flash storage lifetimes at certain temperatures, but they usually cap out at 100° C. I know that, ideally, one should include leads on their ...
3
votes
2answers
1k views

What does “32KB (16K x 16)” mean? [duplicate]

On digikey site program memory for ATMEGA328P-AU-ND is shown as 32KB (16K x 16). in ATMEGA328P datasheet program memory is 32KB but what does (16K x 16) mean? Other Examples are : 16K x 8 64 x 16 ...
1
vote
1answer
121 views

Configuration settings for programming flash memory

I need to specify a memory addresses settings in the configuration file for programming flash memory with Macraigor Flash programmer utility. The device is BCM3360 (MIPS32) chip and flash memory is ...
0
votes
0answers
182 views

AVR perform Checksum on itself

I would lije to perform a CRC or Checksum for the FLASH memory of my device, an AVR32UC3, this will be performed by blocks, so I'm thinking that the prototype can be: ...
0
votes
1answer
125 views

How much Program Memory does PIC24FJ1024GB610 have?

PIC24FJ1024 got 1024KBytes of Program Memory. In the PIC24's Data Sheet in Chapter 4, mentions that the Program memory runs from 0x000000 to 0x7FFFFF which is 8,388 KByte. Can someone explain why ...
1
vote
1answer
1k views

What type of FLASH (NAND or NOR) is used on microcontoller? [closed]

I am doing a study on file systems for mcirocontollers (MCU), using internal flash only. I find my self asking this questions: What type of FLASH memory is used most commonly in MCU ? NAND or NOR? ...
-4
votes
2answers
287 views

How does water affect a flash mempory chip? [closed]

If a flash chip is thrown into water will it affect the data stored inside or will it still be recoverable? And if so, will this be a gradual process or immediate one? Are flash chips waterproof or ...
2
votes
2answers
444 views

How does triple level cell FLASH memory achieve 3 bits per cell?

Originally each cell of FLASH memory held either a high or low level or state, and reflected one bit of information; 0 or 1. Mutli-level FLASH was then developed, with often four levels of voltage ...
0
votes
0answers
54 views

Flash - Manufacturer: 0x61, Device:0x10 and 3rd byte 0x0A

I have got a Flash SPI that identifies itself as follows: Manufacturer ID: 0x61, Device ID: 0x10 and 3rd byte is 0x0A together: 61100A I wasn't able to find manufacturer ID 0x61 anywhere. I suspect ...
0
votes
1answer
211 views

Is it possible, and if so, how difficult would it be, to replace the volatile memory in Gameboy games with non-volatile memory?

my working knowledge of electrical engineering is quite limited, so please excuse me if my question has been answered under different terminology! I was looking at old Gameboy games, which require a ...
5
votes
5answers
6k views

where are constant variables stored in microcontroller?

As per the memory layout of C program ,constant variables are stored in the Initialized data segment of the RAM. But as per some of the Microcontroller memory layout ,const variables are stored in ...
-1
votes
1answer
231 views

Insert certificates into an Atmel's ATWINC1500 via SAM ICE

With a Windows PC (mandatory to use since atprogram is made for Windows, if someone knows how to work with that at GNU/Linux will be much appreciated), when flashing our custom PCBs embedded hardware ...
3
votes
2answers
2k views

SD card detect in SPI mode

Just wondering if it is possible to detect the presence of an SD card when it is being used in SPI Mode? It would appear that the card detect/data 3 pin (CD/DAT3) is used as a chip select (CS) pin ...
0
votes
2answers
576 views

How to store 8 bit character in 32 bit Data Flash memory?

Is it possible to store 8 bit character to 32 bit Internal Data Flash in the Microcontroller by just using only 8 bit of space for each bytes?,by using a combination of 4 bytes which can be also ...
0
votes
1answer
187 views

Program SPI flash on board after soldering

I'm developing a USB DAC using XMOS XHRA-2HPA as USB->I2S interface. XHRA-2HPA is a sort of highly specialized uC which requires a firmware and configuration data to be stored on external SPI flash ...
17
votes
9answers
5k views

Why is every address in a micro-controller only 8 bits in size?

I have seen that, in 32-bit microcontroller, each address of memory holds only 8 bits of data; it is the same for a 16 bit MC as well. For 32-bit data, it uses a combination of 4 addresses. Why can't ...
0
votes
3answers
382 views

Why NAND FLASH is slower than flip-flops?

I find that both NAND FLASH and flip-flops are made up of NAND gates. The only difference between them is NAND FLASH uses floating gate transistors to store charge. Your Flash drive is ...
0
votes
1answer
405 views

Steps for testing external flash memory [duplicate]

I have a blackfin 533 and I connect it with external flash memory. I have a software driver that erases a block, fills data, write to flash memory. I'm using the following chip ST M29W800D. How ...
1
vote
0answers
134 views

Problems programming a 29GL256

I've been experimenting with Python scripts and using an Teensy 2.0 ++ to program different flash memories. So far I've found a script to program a 29GL128, which works perfectly, but I'm trying to ...
0
votes
1answer
47 views

What exactly is meant by 'CompactFlash' in the context of flash memory?

I've been doing some inquiry about flash memory and I do know how flash memory works and I do know about the different layouts (nand/nor) and how the reading and writing processes function. My ...
-3
votes
1answer
46 views

Flash Technology in Embedded system [closed]

I have been always wondering how the process of burning code on a chip happens, I mean physically. I do that dozen of times, but the sense of how this is invented, how the hexcode interpreted in TTL ...
1
vote
2answers
2k views

MMC/eMMC Boot sequence

I've been trying to hook up an eMMC chip to a FPGA, that receives commands via a micro-controller to initialize and trigger write/read operations on given sectors. I'm having trouble with the boot ...
1
vote
2answers
359 views

What operations on flash(NOR/NAND) effect Flash Program/Erase(P/E) cycles

I want to implement a counter which can save values through power cycles, so I should use flash memory(I have option to choose NOR or NAND) but as my counter values will be increased frequently. I ...
3
votes
2answers
490 views

Is this SPI Flash?

I'm currently reversing a device that has a chip soldered I can't identify. It's next to its controller, and judging from its size and position, it could be SPI Flash. It's SOP-8. Does someone know ...
0
votes
1answer
97 views

Code composer 6 linker file not placing variables

I am developing firmware on MSP430F2619. I need to store configuration information having 5 sections of 200 bytes. In order to read and write them independently I am trying to allocate 5 sections of ...