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
0answers
23 views

Flash Mem. Read/Write

I'm working with MSP430F5438A & Code Composer Studio. I set the flash pointer to address 0x20000: ...
8
votes
1answer
344 views

Flash memory: Does the entire page need to be erased before writing just a few bytes?

An easy question, I hope! I'm not finding any definitive answers... I'm writing drivers for a SST25VF064C flash memory chip. It communicates via SPI. Like all flash memory (that I know of), it ...
-1
votes
0answers
34 views

LED strip flashing to music [on hold]

I'll give you the backstory: A few weeks ago, I used a popular enough circuit to create LED lights that flash to music. The circuit I used as a template is the first image in the imgur album ...
1
vote
1answer
62 views

jpeg images in STM32 internal flash

I'm using both STM32F103 and STM32F407 with a SEPS525 SPI driven OLED display (160x128). I want to store images to display in internal flash, but BMP uncompressed images with 16bit colors are huge ...
26
votes
9answers
4k views

Is firmware code or data?

When someone says they "flashed" firmware to a device, I'm curious as to what this actually implies. Is firmware just a native binary that is stored in memory and that can be interpreted by the ...
1
vote
4answers
96 views

Datalogging on serial flash memory

I am working on a datalogger that writes positions from GPS to serial flash W25Q64FV. I plan to write GPS data every second. I have couple of questions: With this flash memory it is possible to ...
0
votes
0answers
24 views

Timing Issues When Interfacing with E28F800 Flash Chip

I'm trying to interface with an E28F800 via an Arduino Mega and am having trouble trying to program it. I'm successful in reading off the chip by toggling CE# & OE# while asserting an address, but ...
0
votes
0answers
12 views

Error building Arduino WiShield Flash example: 'dflash' was not declared in this scope [migrated]

I'm using WiShield library from: https://github.com/jcmuller/WiShield What is wrong with this library? The code: ...
1
vote
1answer
37 views

How does UBI determine a NAND flash block is bad?

I understand that if a block erase fails it can be marked as bad. If a page write fails immediately it can also be marked bad. I have a board that shows "read disturb" and/or "program disturb" errors ...
1
vote
3answers
122 views

“Not mounted” - Meaning on a schematic

I was looking at the schematic of the LPCXPRESSO LPC1769 board from NXP and I couldn't figure out what they meant by "not mounted" which appears on the left corner of the following picture. Here's a ...
8
votes
2answers
284 views

AVR flash memory corruption

This question is related to AVR deprogramming itself. Project info: We have a battery powered product using an ATMEGA644P. The application permanently runs in sleep mode and only wakes up once a ...
0
votes
0answers
28 views

Can't upload program to ATmega16A

I am trying to program my ATmega16A using a STK500V2 programmer. Avrdude throws the following error when I try to program it: avrdude -c stk500v2 -p atmega16 -P NEX-USB-ISP -U ...
1
vote
2answers
92 views

External Code Execution on ARM Cortex M

Is it possible to run code on the ARM Cortex M architecture from locations other than the onboard flash memory (such as another flash chip, SD card)? If so, how? If not, what microcontroller ...
4
votes
1answer
116 views

Look up tables, Flash or SRAM?

A STM32F4 platform is used, which has 192kBytes SRAM, which is sufficient for me. I am trying to build a look up table. The LUT will be used in calculation several times. And I want to put it in SRAM ...
2
votes
2answers
119 views

Reason for choosing SPI based flash devices over I2C ones [duplicate]

I have gone through the below link which says that u-boot support three type of flash technology http://www.stlinux.com/u-boot/flash 1.Nand 2.NOR 3.SPI Serial Flash I would want to know why SPI is ...
-1
votes
1answer
131 views

Most reliable Flash memory for an embedded Linux system?

What would be the most reliable Flash memory hardware to use for an embedded Linux system? I.e. one that has the least chance of losing data or getting corrupt when the power goes down? The Flash ...
8
votes
1answer
38 views

How do NAND flash memory writes work?

Below is a picture of my understanding of NAND flash memory operation. NAND flash works by first erasing all the cells in a single block (essentially setting it to '1') and then selectively writing ...
4
votes
2answers
147 views

What is the biggest stable memory overhead for SSDs?

With an HDD, the largest overhead in accessing stable memory (where we measure access time from the moment the instruction passes the MEM stage in the pipeline) is the I/O costs for seeking the right ...
0
votes
1answer
96 views

How to get a .bin program on the STM32F4 discovery board?

Simple question. I want to program this board: http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419 On my computer I've generated a .bin file using this library: ...
1
vote
3answers
164 views

Where do you find out how to program a specific microprocessor?

I have experience with AVRs, by programming them through the SPI port, but right now I'm looking at a Holtek HT46R22 and I can't find anything about how to program this Microprocessor. My question is ...
0
votes
2answers
58 views

Flash memory power consumption

I would like to know how much power does a flash memory chip consume, and whether it is viable for use when the device is switched off since I will require R/W access to the chip when switched off. ...
0
votes
0answers
24 views

SMPS noise effects on External Serial Flash

As I was reviewing a schematic that contained an External Serial Flash part powered by a SMPS I found myself thinking about the risks of using an SMPS (that uses PFM and PWM modes) to power a serial ...
1
vote
2answers
104 views

Memory locations in AVR hex file

I am trying to understand the hex file generated by the AVR Studio. I wrote a code in assembly. The code is as follows: ...
4
votes
3answers
732 views

How does NAND FLASH cells retain data without requirement for external power?

RAM cells need constant refreshing, however NAND FLASH cells can retain data for years together. What makes this possible ?
6
votes
5answers
416 views

Why is data stored on a NAND chip irretrievable if cracked?

All data recovery companies, regardless of skill, unanimously say that if the memory chip of a device has just a hair line crack, data recovery is impossible. Not unlikely, not expensive, but ...
0
votes
0answers
248 views

AVRDUDE Set lock bits to avoid reading flash through SPI (ATmega328P)

I want to avoid reading my flash through SPI. From the ATMEL datasheet and posts in the internet, it sounds that I have to set LB1=0, LB2=0. When I read the default lock bit from my AVR with: ...
1
vote
1answer
51 views

How data recovery works in flash memory?

Flash memory is Electronically Erasable Programmable Read Only Memory. In this data is stored by the On or Off state of the transistor. Then How it is possible to recover the data stored in the device ...
0
votes
0answers
49 views

Is EEPROM read-speed or capacity being held back by the “EEP” qualification?

EEPROMs, the commonplace modern example being NAND Flash memory, seem to be pretty great as a data storage medium. They're pretty fast, pretty capacious, and best of all, when an EEPROM wears out, it ...
4
votes
2answers
181 views

SPI Flash device selection using SCLK, MOSI as well as SS?

In a system with N SPI devices it would normally take N+3 pins on the master to communicate with them all (NxSS, SCLK, MOSI, MISO). With N being large and the master device (FPGA) is pin limited, I'm ...
1
vote
1answer
125 views

Can flash memory in smart phones be recovered after being under 10000 ft of ocean water?

If you've been watching the news, you know why I'm asking this. For reasons not yet known, flight 370 from Kuala Lampur left its planned flight path to Beijing, and flew for hours before (probably) ...
1
vote
1answer
115 views

Flash Programming for AT89S2051

Forgive me if this is a noob question, this is my first MCU project. After reading a few tutorials here and there, I've set up my MCU circuit and programmed a simple program in Keil ╬╝Vision 4 and ...
0
votes
1answer
98 views

Adesto DataFlash (AT45DB641E) reads zeros after exercising flash for several minutes

I am using the AT45DB641B Adesto DataFlash and not in Low Power mode. In my application I am recording a stream of raw sensor data and constantly writing to flash every second. I have a self-test ...
5
votes
3answers
631 views

Flash and RAM : Code Execution

I recently started learning assembly and came to know about linker scripts and other low-level details of hardware programming. I am also teaching myself computer architecture and somewhere along the ...
1
vote
1answer
472 views

Unable to flash OS on cubieboard

I've been trying to flash an image of UBuntu 12.04 on the cubieboard using LiveSuit(3.05,3.06) on my UBuntu 13.10 and also using LiveSuit(1.07,1.09,1.11) on my Windows7 64bit . LiveSuit/PhoenixSuit ...
4
votes
2answers
354 views

What do memory configurations like “256Kx18” mean?

This is a beginner question here. When choosing memory ICs, one of the options is the memory size/configurations. I understand the size part, but what does the "16Kx9" mean? It seems the same memory ...
6
votes
4answers
311 views

Will an SPI flash memory chip have the same issues with non-atomic write operations as a dsPIC's internal EEPROM?

A while back I had some intermittent trouble with the internal EEPROM of a dsPIC. Every so often, some value in the EEPROM would be found zeroed out on power-on. I tracked the problem down to when the ...
0
votes
1answer
333 views

Writing and Reading From FLASH ROM on Nexys 2 Spartan 3-E FPGA

I am a newbie to VHDL and FPGA platform. I have a Nexys-2 Spartan 3E FPGA board which is provided with a 16 MB Flash ROM.I want to preload first 10-20 memory locations of this ROM,each location with ...
1
vote
0answers
92 views

PIC18F SPI SDI line affecting/distorting data from slave device?

I have a PIC18F14K22 connected to a flash memory chip (Winbond W25Q80BV) via SPI and am having trouble reading the output from the chip. Specifically, the flash data output becomes distorted when I ...
0
votes
1answer
85 views

Maestro A2200 GPS flash corruption

Does anyone have experience with the Maestro A2200 GPS module? I bought this module primarily on price, it's only 15 euro, but the datasheet indicates that sudden removal of power can result in ...
21
votes
1answer
2k views

Why does flash memory have a lifespan?

I've read that flash memories can "only" be reprogrammed 100000 to 1000000 times, until the memory storage "deteriorates" Why exactly does this happen with flash and not other memory types, and what ...
2
votes
2answers
274 views

Flash memory SPI MISO line unresponsive, using PIC

I am interfacing a flash memory component (M25P16) to a PIC microcontroller (PIC18F14K22) using SPI. However, I am unable to see any data come through on the slave output line at all (literally ...
4
votes
1answer
231 views

Why must flash memory be written/erased in pages/blocks ?

Title says it all. I'm trying to understand the workings of flash memory technologies, at the transistor level. After quite some research, I got good intuitions about floating-gate transistors, and ...
0
votes
2answers
63 views

SPI Slave Flash programming with two masters question

I'm looking to make a system that can be upgraded by a customer in the field and I need to know some conceptual thing before I try implementing my current strategy. Say I have a USB to SPI bridge, ...
2
votes
0answers
50 views

Interfacing NAND flash with PCI

This is mostly an educational endeavor. I'm looking into prototyping a NAND flash storage on an embedded platform running Linux. The ONFi standard seems convenient and promising, but I'm failing to ...
0
votes
2answers
60 views

Memory Problems

I've been having some problems with memory ICs, specifically Flash and EEPROM. I've had some experience with the 7400 series for some time...logic gates are pretty straightforward. Input something, ...
1
vote
0answers
330 views

Avrdude refuses to flash ATmega328p due to wrong signature

I have a bunch of defunct arduino boards that I'm trying to restore - Arduino Uno with ATmega328p chips. They do not respond to the usual flashing commands, so I'm trying to flash via the arduino ICSP ...
2
votes
2answers
126 views

I need to lock reading my mega328 flash but be able to write to the eeprom

I need to be able to prevent other from copying my program placed in the flash, but want to still be able to write to the EEPROM. I tried the lock bits by setting them to Mode 3 (0x3C). But that will ...
2
votes
1answer
432 views

Writing data on EEPROM or Flash memory of the PIC18F47J53

So I am using the 18F47J53 in Hitech PICC18-PRO compiler with MPLAB-X IDE, and for some reason there happens to be absolutely no support for the reading/writing function to either the flash or the ...
0
votes
1answer
255 views

How to read/write in M25PE80 using PIC18F67k22 controller?

I have a PIC18F67K22 controller. I am a making data logging system using an M25PE80 external flash memory for storing data. I have interfaced this flash to the controller using SPI. My question is ...
0
votes
3answers
65 views

K9F1208R0C-JIBO data extraction

I have a old PDA board, it is not working, but I want to see the content of memory chip for this board, as far as I know there [might be] some interesting software on it, but the PCB is dead, so I ...