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

9
votes
2answers
352 views

Inbuilt flash memory size not enough

I am using TM4C1230C3PMI controller from Texas instrument in one of my project. It has 32KB of internal flash, which is not sufficient for my application. Higher flash sized micro-controller are ...
1
vote
0answers
37 views

Flash a .hex to an ATtiny45 with Arduino [migrated]

I'm trying to upload a hex file to an ATtiny45 with an Arduino. I uploaded the Arduino ISP sketch to my board. I connected the ATtiny as shown below: Then I go to CMD and type: ...
0
votes
1answer
28 views

Problem with IAP

I'm using LPC1788 IAP to write to Flash and I'm a little confused on what's going on. I'm trying to write 8 bytes of data to Flash memory with 2 tehniques: 1) With one which is logical to me and it ...
0
votes
1answer
48 views

Why does SPI flash has HOLD# pin, as opposed to stopping the clock?

A SPI flash like Micron M25P16 (shown below) has a HOLD# pin, and any input data is ignored if HOLD# is asserted at a rising clock edge. But can't the clock just be stopped instead ?
4
votes
2answers
259 views

How do floating gate transistors not leak the stored charge?

I've done my best to read through Wikipedia explanations of floating gate transistors which are used in flash memory. It looks like these transistors have a special region where the charge is "stored" ...
0
votes
0answers
16 views

Flashing the NOR Flash over UART

I am using LSI SAS2x24 SAS Expander IC in my system. It needs an external NOR Flash to load the image from. For putting image in Flash, UART interface is given in LSI. So, we are trying to load the ...
0
votes
0answers
71 views

PIC18F: Flash Write/Read working on Simulator but not on PIC18F46K80

I have been trying to read/write and erase flash memory of PIC18F46K80. I have followed the procedure specified in the datasheet. The below code works on the simulator of MPLABX at the address ...
0
votes
1answer
77 views

What is a Namespace in SSD?

What is a namespace in NAND or NOR based Flash Memory? Is it a range of addresses of NVM? If yes, then is it specified by SSD Manufacturer?
1
vote
1answer
33 views

Flash IC/ CMOS RAM/ microSD in TFT LCD

I have seen cases where TFT module contains flash or SD card on module. What is the need of flash in LCD? In simplest way, we connect RS,RD/WR,CS,RESET pins and 7/8/16/24 bits data pins of controller ...
6
votes
2answers
667 views

LED blinking with capacitor and schottky diode?

I saw one circuit which connected one 100uF capacitor and one schottky diode as mentioned in the below circuit diagram. It has a negative logic rectangular pulse at cathode of the LED, which is ...
0
votes
1answer
39 views

Why would my ATSAM4E not reset even if I power cycle?

I am using an Atmel SAM4E_EK board with SAM4E16E microcontroller. Recently the board started with the following quirk: When I upload a program using Atmel-ICE over SWD, the chip resets and runs my ...
0
votes
1answer
121 views

ESP8266 “rom” boot code is overwritten when upgrade firmware?

You can flash the firmware using ESPTOOL with a command like ./esptool.py write_flash 0x00000 my_app.elf-0x00000.bin 0x40000 my_app.elf-0x40000.bin this will ...
3
votes
2answers
71 views

Why are flash memory chips commonly packaged in Type I TSOPs?

While available in many sizes, the presence of a Type I (pins on the short sides) TSOP is a clear indicator of a flash chip in a typical embedded system. Is there a technical reason for the ...
0
votes
0answers
35 views

SPI Flash Filesystem

I'm currently working on a portable product (microcontroller is the STM32F429) and store a lot of readings into a 128Mbit SPI flash (M25P128 from Micron). Essentially, I'm storing about 10 bytes or so ...
0
votes
3answers
96 views

Why are words in reverse order when reading from a flash?

I dumped the contents of a NAND flash chip, and do not understand why would each of the words in the image be in the reverse order. This CFI-compatible flash is connected to a TI AR7 SoC that ...
0
votes
1answer
40 views

Flash memory read and write

I'm always disabling interrupts while writing to some sectors on Flash, but does Flash memory requires disabled interrupts even when you just want to read from it? Why yes and why not? Thanks for the ...
1
vote
0answers
49 views

Designing a high intensity flash attachment for airsoft rifle

Dear readers of this community, I've been looking into starting an electrical project and in my research I've often came across this community. Because none of the topics fully covered my question, I ...
0
votes
0answers
13 views

IAP Flash LPC1788

Can this line cause a problem when reading from Flash, because of casting to BYTE pointer instead of DWORD? What will happen, and what data will be read? pointer_podatak = (BYTE*) IAP_BASE; ...
0
votes
1answer
102 views

Will the PIC18F14K50 perform well as a CNC machine micro-processor?

The data sheet can be found here. I'm trying to select a micro-controller which will eventually run a Wireless 2D Laser Engraver/3D Printer/CNC Machine. I have very little experience in selecting ...
1
vote
1answer
49 views

Writing to and reading data from Flash using IAP

Here you can see functions I'm using to store data into Flash, but I'm getting data erased after power reset, so it's still in RAM not in Flash. ...
1
vote
0answers
30 views

Difference between sectors used for Flash and IAP?

Here is a picture of sectors on on-chip 512kb Flash memory on LPC 1788, and the question is what's the difference between sectors 0 to 19 and 20 to 29. Can 0 to 19 be used in IAP or not and ...
1
vote
2answers
78 views

Is the ROM of an MCU NAND FLASH ?

I understand binary code is stored in the ROM area of an MCU. Typically most MCUs have FLASH EEPROMS. Is this really the NAND type FLASH storage we find in most SSDs? If not, what are the ...
3
votes
2answers
90 views

Flash and EEPROM

Atmega16 datasheet says that it has a) 16 Kbytes of In-System Self-programmable Flash program memory and b) 512 Bytes EEPROM. Can a microcontoller have two separate ROMs which can be programmed ...
0
votes
3answers
182 views

USB Flash drives up to 2TB? [closed]

I found USB Flash drives on aliexpress.com up to 2 TB. So much people bought them, and I'm reading feedbacks and 90% says: "It works perfectly, thanks", just a few customers have left a negative ...
0
votes
0answers
28 views

eMMC array partitioning vs general flash memories one

I have some questions about an eMMC datasheet and its relation with its JEDEC standard and flash memories principles that could never been answered in other posts I read here that write size should ...
1
vote
2answers
78 views

Will reading serial flash memory wear it out?

I know that a flash memory has limited write cycles. Does it also have limited read cycles? Datasheets of most serial flash memories (like SST25VF series) mention endurance cycles. Does this ...
1
vote
1answer
38 views

Why aren't V-NAND capacities 8 times greater than ordinary NAND?

The question is about NAND flash chips used in all kinds of electronic devices and specifically the recent V-NAND chips. You can see what V-NAND is from ...
0
votes
0answers
20 views

Circular Logging on 32Mb Serial NOR Flash Memory

I will use "Micron Serial NOR Flash Memory - 32Mb" in my device for circular logging of my send-received data. Data packages are not fix length but it includes a header, length of data and data. What ...
0
votes
0answers
17 views

Process technology of Micron Parallel NOR Flash memory M29F200FT/B

I need to learn process technology of the part I stated in the title. Is it micron or nanometer? I am calling micron and the representative can't find anyone to answer my question. They forwarded me ...
2
votes
0answers
96 views

Can't seem to write to spi flash

Well I've been stuck on this for a while, maybe 2-3 weeks at this point. I'm just not sure what I'm doing wrong. I'm trying to write to this spi flash part, and now I'm just running routines to ...
0
votes
1answer
33 views

Which is the “write enable” pin of flash memory in Stratix IV GX?

I am trying to use flash memory in Stratix IV GX fpga kit. For that I went through the pin details of the same. But the I was expecting "write enable" which will determine data is to be written to or ...
1
vote
1answer
135 views

Identify flash IC by ID

I read flash device ID as following: Manufacturer: c8 Device: 4013 Is this enough information in order to uniquely identify the IC? Is there some web repository ...
2
votes
1answer
673 views

STM32 SPI Peripheral bug?

I'm using STM32F051R8T6 on STM32F0-Discovery board and M25P80 flash IC as a peripheral. I've got the SPI configured in 3-line (+ 1 software chip select line), full-duplex mode and I'm using polling to ...
0
votes
1answer
82 views

Fundamental reason why RAM is faster then second storage device

Let's consider dynamic RAM - 1 cell = capacitor+ transistor and second storage device, - for example ordinary mmc NAND flash. DRAM, so called volatile memory, need to be refreshed to keep capacitors ...
1
vote
1answer
126 views

PIC32 SPI Flash Burst Write chip select behavior

I have a pic32 and I'm talking to a spi nor part to store some data. Now for burst write my flash supports 256 bytes at a time and I want to use my DMA to transfer this. However the part requires ...
0
votes
0answers
35 views

USB 3 Flash Memory

What chip configurations are in these new USB 3 keysticks that are achieving >100mb/s write and >200mb/s read speeds?
9
votes
5answers
1k views

Freescale Kinetis KE - writing to flash

I've been using various microcontrollers and microprocessors for many, many years now but I seem to be stymied by the Kinetis KE series (specifically the S9KEAZN64AMLC). Jan 17, 2015 TL;DR: ...
3
votes
1answer
139 views

Why erasing SSDs in increments of entire blocks does not damage adjacent cells?

I know that to avoid corruption and damage, SSDs are only erased in increments of entire blocks. But how does that not damage adjacent cells? Why energy-intensive tunneling inhibition isn't necessary ...
0
votes
2answers
149 views

Why are NAND flash and NOR flash named using the terms NAND and NOR?

Is the naming of the two flash architectures related to differences between the two types of logic gates? If so, how? Why does or doesn't this difference also apply to different DRAM or SRAM ...
1
vote
1answer
64 views

How to write a SPI flash

I am using the Atmel ARM M0+ MCU (ATSAMD20J18). I have written a bootload for it. The bootloader will check the first few bytes (lets call it magic key) from an external SPI flash memory to determine ...
9
votes
2answers
2k views

Can the microcontroller program flash memory be used for storing user configuration?

Many microcontrollers, e.g. PIC18F, have flash program memory: "The Flash program memory is readable and writable during normal operation". Does this mean I can store some user configurations in the ...
0
votes
1answer
76 views

How many NAND flash chips (measured in Gb) are required for a 32GB USB drive? What is the economic relationship between the two?

NAND Flash Contract Price http://www.insye.com/dp/NANDFlashContractPrice.aspx Context, I am purchasing about 200k USB drives. I sent it out to competitive bid but I want greater insight into the BOM ...
0
votes
1answer
118 views

NAND flash program/erase cycles

Recently I have gotten myself in to buying USB flash drives in order to back up some of my data, however once I got into the detailed specs of the consumer flash drives I have gotten worried, about ...
-1
votes
2answers
302 views

Problem with flash ADC design

I am using following: Identical resistance of 1k ohms. For 3 bit flash adc we have (2^3)-1=7; which means we have to use 7 opamps, and 8 resistance. Opamp LM324 (V+ is applied directly form 9V ...
0
votes
1answer
114 views

Getting wrong data from SPI Flash SST25VF010A

I'm trying to interface an mcu (tm4c123) with external SPI flash memory SST25VF010A. I execute the Read-ID instruction, but instead of gettting BF and 49 (manufacturer and device ids) - I get BC and ...
2
votes
2answers
244 views

Number of bytes and file size(HEX)

I am confused regarding the (size/number of bytes) in a hex file. Taking the case of A sample Blink Arduino Program - Blink.cpp.hex On linux terminal, size command output: ...
1
vote
1answer
377 views

STM32F429 / STM32F439 read-while-write from two memory banks. Prevents stalling CPU?

I have been reading up on the STM32F429 flash memory (2MB version). From the STM32F4 reference manual I found out that it has two memory banks and supports read-while-write (RWW), which means it can ...
0
votes
1answer
118 views

Flash memory range on STM32F429II

I am reading the STM32F429II data sheet and looking at page 84, which shows the memory mapping. The chip has 2MB of internal flash memory, but the data sheet is general for all STM32F427xx/STM32F429xx ...
2
votes
4answers
165 views

Industrial flash (LED?) for rolling shutter

I am developing industrial monitoring system, at this moment with Raspberry Pi and its camera (this might change if it is not satisfactory). The camera will take still pictures of the scene once in a ...
2
votes
0answers
1k views

STM32F4 NAND flash via FSMC, difference between bytes written and read back

I have a Waveshare Open407V-D development board, basically a "motherboard" in which an STM32F4DISCOVERY kit is fitted (this kit, for those not familiar with it, is made by ST itself and based on the ...