Flash is a type of EEPROM which is page-eraseable. It's commonly used for microcontroller program memory and code storage. You can use this tag for questions about this type of memory as well as questions about "flashing", the process of changing the data in Flash when programming a ...

learn more… | top users | synonyms

0
votes
1answer
47 views

Safe to tie erase pin on MCU to a GPIO pin?

I'm making a device based on the Atmel ATSAM4S2B mcu, and I want the user to be able to update firmware if they want. For this they need to be able to erase the flash to enter the SAM-BA bootloader ...
2
votes
1answer
97 views

SPI data storage devices: (micro)SD card, DataFlash, or serial EEPROM?

I am revisiting some of my design habits, and one of them is under serious scrutiny: the go-to SPI-based storage device is (micro)SD cards, for their price-to-capacity ratio and generally higher ...
2
votes
0answers
58 views

Flash memory : What are blocks and pages from a physical standpoint?

I would like to know the link between the physical layout of NOR and NAND flash cells and the concept of blocks and pages. I would also like to know the exact reason for why erasure only happens in ...
5
votes
2answers
169 views

What is the difference between “normal read” and “fast read” in the flash A25L032

The Flash A25L032 has a normal read mode and a fast read mode. It also has dual and quad read modes that are self-explanatory. However, the difference between the normal and fast modes is not at all ...
3
votes
1answer
48 views

what is the application of “one time programmable” bytes in my flash memory?

My flash memory device A25L032 has 64 one time programmable bytes. It also has software and hardware protection modes for blocks, sectors as well as the whole chip. What application do one time ...
2
votes
3answers
67 views

Why does Flash and SRAM have a “hold” signal?

I have read datasheets on SRAM and Flash devices. They seem to have a "Hold" signal that can be used to prevent it from registering the input data/instructions until it the hold signal is deasserted. ...
1
vote
1answer
42 views

Why do we need block, sector, “all” protect bits in flash device?

I am reading the datasheet for the A25L032 "32Mbit I/O Serial Flash Memory". The page 15 of this datasheet explains that there are non-volatile bits in the status register that can be used to "...
0
votes
0answers
46 views

EEPROM vs NOR Flash [duplicate]

I came to know that EEPROM of these days are nothing but NOR Flash. How true is this statement? In case if it is true, why is still there a distinction between flash and EEPROM when we talk of memory ...
1
vote
1answer
52 views

Atmega16 flash memory address space

The atmega16 data sheet says that it has 16KB on-chip flash program memory, but the memory map for flash memory ranges from 0x0000 to 0x1FFF(8192, i.e, 8KB) only, which gives a range of only 8KB flash ...
0
votes
0answers
23 views

BDM pads on a Renault 450 DXI (EURO 5) Truck ECU

I'm trying to find the BDM pads for connection and map download from a Renault 450 DXI (euro 5) truck. Attached is a picture of the ECU. The control unit is MPC5XX ECU TRW EMS 2.2 Other details ...
1
vote
1answer
44 views

“Stacked” NAND flash memory; 2 chips on a single circuit?

Sorry if this is a stupid question, I'm a newbie just getting into the actual hardware side of things. Obviously I'm starting small, just a simple re-balling of a BGA chip to build my own Single ...
1
vote
2answers
128 views

Do different address spaces exist for RAM and ROM in a typical microcontroller? [closed]

If a microcontroller has 16 bit address space from 0000H to FFFFH, will the RAM, I/O registers, memory mapped I/O and ROM(Flash/EEPROM) share the same address space linearly, or will there be a ...
-1
votes
1answer
99 views

What are situations to use an actual EEPROM over using emulated EEPROM in flash?

I am using stm32 which offers EEPROM emulation on its flash. http://www.st.com/content/ccc/resource/technical/document/application_note/2e/d4/65/6b/87/dd/40/25/DM00049914.pdf/files/DM00049914.pdf/jcr:...
1
vote
2answers
137 views

Protection of BeagleBone Black from eMMC corruption on power loss

I'm considering an application where a BeagleBone Black, preferably running one of the recommended Debian images loaded in eMMC, is powered by a 5V source that can be removed at any moment. I want to ...
0
votes
2answers
102 views

How does an SD card communicate with a computer? [closed]

Could someone please give me a concise explanation to how an SD card sends and receives data from a computer. Does it do this one bit at a time? How does the computer/SD card combine these individual ...
0
votes
1answer
162 views

STM32F4 Flash memory programming

So I have STM32F4 board and long story short - I am stuck at putting a user defined number (0 - 60) in FLASH memory, so after restarting, I could use last-used-settings. How do I allocate correct ...
0
votes
0answers
39 views

CFI flash interface in verilog

I am working on an Intel’s CFI - Flash (28F640J3) interface in verilog. I have written a code and tested it for many commands; read, write, erase. But I am facing problem with 'Write Buffer’ and read ...
0
votes
1answer
46 views

If current consumption of serial flash SST26VF064B is 15mAq104MHZ then at 50MHZ it is 7.5?

I am Mohan working in Germany. For my data logger project i choose SST26VF064B serial flash. My data logger should consume lowest power possible. I see that SST26VF064B is consuming 15mA@104MHZ. In my ...
3
votes
4answers
204 views

Best practice for implemeting bare metal or lightweight OS flash file system?

I am looking at flash devices that are available for rewriteable data storage, and it's clear that they need either some sort of translation layer for an overlying file system (such as FAT) or a ...
0
votes
0answers
37 views

Power off detection on MSP430f6779

I want to detect power off on MSP430f6779 and when there is on to off transition It should write important data to Flash. The problem I am facing is code is going in ISR when it is power OFF to ON ...
1
vote
1answer
66 views

What would happen in case of power outage during NOR flash erase or programming

I am using a SPI-connected NOR flash (AT25DF321a) to protect data against loss during power failure. But how is flash protected against power loss? What would happen if the power turned off during ...
1
vote
1answer
50 views

conventions in signals naming in datasheets

What does it mean when the datasheets lists the signals between parentheses as shown in the figure below?
1
vote
0answers
78 views

The right way of relocating vector table using vector table offset register for STM32F4 series.

The right way of relocating vector table using vector table offset register for STM32F4 series. I am working with HAL libraries previously there used to be a function called "NVIC_SetVectorTable" I ...
-2
votes
1answer
70 views

Can I reprogram my SPI flash wirelessly?

I am working on an application which stores specific model information in the SPI flash. The hardware is the same between the five different types of units. They are typically programmed with model ...
1
vote
1answer
72 views

what type of internal memory do most digital cameras use? (not talking about SD cards or other removable storage)

I am looking into something for work and I need to know what type of flash-memory storage is most common in digital cameras so we can look into how to properly eradicate all of the data on the cameras'...
0
votes
1answer
123 views

Weird Serial Flash Corruption

I'm experiencing a very typical issue with data corruption in a flash chip in a not so typical way. I'm using the M25P16 16Mb serial Flash chip by Micron to log historical data on my device over SPI. ...
0
votes
3answers
175 views

How to drop 170V DC to 50V?

I have old flash that generates about 170V on it's trigger when it's charged and ready to fire. When flash fires, voltage drops to zero, and rises to 170V as flash charges... I need that flash ...
0
votes
1answer
126 views

STM32F427 live firmware upgrade

I am trying to "read-while-erase" and "read-while-write" with my stm32f427 dual bank flash for firmware upgrade. what I need to know is how can the program dynamically figure out which bank it's ...
1
vote
1answer
62 views

What is the proper term for downgraded NAND Flash ICs?

In the manufacture of NAND flash (to my understanding): Wafer is produced Dies are probed for testing Dies that pass testing are configured as Tier-1 chips, then packaged. Dies that fail Tier-1 ...
0
votes
1answer
188 views

What is needed to store readable/writable data to flash/eeprom [closed]

I am wanting to add some readable/writeable memory to my ATmega8/attiny project where I can store data, recall the stored data, then overwrite the stored data. The stored data must be able to be ...
4
votes
1answer
100 views

Microcontroller memory write cycles

Information show that flash memory have a limited number of write cycles (usually ~10'000). Many MCUs emulate EEPROM in flash, hence some document this write_life_cycle. A look at any MCU datasheet ...
0
votes
2answers
79 views

Flashing LED with “bulb-effect”

I'm searching a (transistor-based) schematic that can flash a LED regularly but where the off-on and on-off phases look slow like with an ordinary flashing circuit with a good old light-bulb. With a ...
0
votes
1answer
71 views

How i can store 64 byte data into flash faster as 1 ms?

I have one problem with store data into flash on my uC LPC1759. I need to save 64 byte data into flash, but when i use IAP-Interface, it takes more than 1 second. Is there a way to make it faster than ...
0
votes
2answers
108 views

What is the maximum bitrate supported in the Can Bus?

i began reading about Can Bus for my final year project i have to send a file to be flashed into the microcontroller using the CAN BUS . I have found that the maximum bitRate that can be achieved is ...
0
votes
1answer
75 views

Flash Magic for code dumping (LPC1778)

I was reading a book called "Insiders guide to the Phillips ARM7 based microcontrollers". There it says "The easiest way to program the Flash is by the built in bootloader which allows the code to be ...
0
votes
3answers
100 views

Erasing Flash with X-rays to remove security bits

Scenario: A chip is read/write protected by programming a security bit in its onboard flash memory. Normally this would mean it cannot be re-written. Would a dose of X-rays be capable of erasing the ...
1
vote
3answers
144 views

Does a bit in Flash memory store net charge

This is with regards to the discussion in the comments in my answer to this question with regards to the charge stored in a Flash. The way a Flash memory works is that it either stores a small charge ...
1
vote
1answer
105 views

NOR and NAND flash memory on the same chip

I've been researching booting and flash memory as found in embedded devices like smartphones, tablets, and boards. There are numerous schemes and an equally numerous amount of obscure terminology. I ...
1
vote
2answers
118 views

How FPGA firmware writes in flash?

In some boards, like Papilio, spi flash connected only to fpga. As I can understand the firmware writes to flash through fpga. How does it works? Doesnt fpga need firmware first to work? If so, how it ...
2
votes
4answers
208 views

Why DRAM costs much more than flash memory?

Comparing prices at a local store, I calculated prices 0.36 USD/GB for SSD NAND flash memory and 5.41 USD/GB for DRAM memory. The difference is 15 times. Why so big difference? Both are semiconductor ...
0
votes
1answer
167 views

spi flash (N25Q) blocks read command

I'm using CC2640, and N25Q128A (Micron Serial NOR Flash Memory). SPI is working well, erase and write commands are changing the status register so busy flag rises and i'm waiting until it's clear. ...
0
votes
2answers
155 views

Reading image, sound, binary file from nonvolatile memory for FPGA

For applications that require design on FPGA which shall make use of several image files, sound files or other forms of files, can they be simply included in the FPGA design configuration file? In any ...
1
vote
3answers
52 views

Microcontroller Memory reliability : Info Memory vs External Flash

I had a small query which I couldnt find a short answer in google. for storing small amount of data ( say 8 bytes ) in an embedded system (containing an external Flash too), is it preferred to store ...
0
votes
3answers
204 views

Power of a microcontroller, but with more memory - what fulfils this need? [closed]

I'm a hobbyist with little experience. Usually I play with Arduino Pro Mini or ESP8266. I can make them do simple things I want, but for obvious reasons I can't give them too many features at once. E....
0
votes
4answers
111 views

Flashing of microcontrollers

I have seen some micro controllers can be flashed with USB port alone with some driver software. But for some micro controllers we have additional interface hardware for flashing between the PC USB ...
0
votes
1answer
153 views

Flashing BeagleBone Black image

I have a BeagleBone Black: ...
1
vote
0answers
100 views

Flashing of ECUs using UDS

Can someone please tell me if flashing ECUs is a standard procedure? Is it done the same way for all vehicles and for different ECUs? Or do manufacturers have their own methods? What exactly is ...
1
vote
1answer
48 views

Are there any performance effects of using radiation hardened memory units?

Are there any performance related effects of using radiation hardened memory units as compared to non-hardened ones having the same configuration except the protection it should provide from radiation ...
1
vote
2answers
81 views

What is this type of write-protection called?

Upon powering up, flash memory is read/write. At some point during the startup phase, the firmware, the bootloader, or maybe even the kernel triggers some mechanism built into the flash chip that ...
2
votes
4answers
2k views

STM32 & ST-LINK - Cannot connect to MCU after sucessful programming

I have build my own board with STM32F7-45VGT6. I have successfully programed it with ST-LINK v2 (not the original one though) and now I cannot even connect with MCU. I use ST-Link Utility from ST and ...