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
42 views

Writing to Flash memory with Arduino Mega

I have just bought a 4Mbit flash memory chip. But I cannot figure out how to use it with the Arduino Uno or Mega. Can someone show me how to hook it up and use it.
5
votes
10answers
2k views

How to make 1 bit permanent memory circuit?

I would like to make a simple circuit to store or save 1 bit of data. The circuit should be able to remember the state of an LED ( on or off ) even if the supply is disconnected from the circuit. I ...
1
vote
1answer
30 views

avr signature doesn't match, flash address 0x0000 wrong

I'm new to electronics. I've bought an ATmega32 (a link to docs) and I'm trying to light up a single LED. I have managed to do it a few times, but then I tried to change the hookup wires to a single ...
1
vote
0answers
63 views

STM32 Flash acting like RAM

I've been trying to program a word of flash memory on my STM32F030F4, but for some reason whenever I power it off and on again, the memory location has defaulted to '0xFFFFFFFF' again. Am I missing ...
2
votes
3answers
53 views

Why does flash size depend on target hardware?

I've been writing an application for AVR microcontrollers. I intended to burn it on ATtiny13A (because it's cheap, and I wouldn't use complex functions anyway), but at that time I had only ATmega328P ...
2
votes
2answers
71 views

STM32 appears to be irrevocably bricked

I have a custom board with an STM32F103VE MCU. I can connect to it fine using ST-Link Utility, and I even had code downloaded to it a few times (in ST-Link Utility as well as CooCox), but today I ...
0
votes
0answers
24 views

Understanding timing diagrams + setting the Flash Wait States number in ARM

I'm trying to understand the Flash wait states which are configurable in my AT91SAM7X256. I have this basic project, and in the startup code the Flash Mode Register is set to provide 1 additional ...
0
votes
2answers
52 views

Programming Flash memory

I am very much new to Electronics. I recently bought a Flash memory of 4mbit size. The interface is parallel type. The link to the memory is ...
0
votes
1answer
28 views

JTAG not erase entire flash memory in code composer studio with MSP-FET

I am using MSP430F2619 for storing device specific parameters in internal Flash memory using flash write routines. while debugging using JTAG MSP-FET I found that my flash is getting written during ...
1
vote
2answers
70 views

Mystery circuit with a functional description

Im trying to understand the following circuit and its cryptic functional description. How does this circuit work? I especially struggle with the following things: What is DEC8(blue)? Standard ...
0
votes
0answers
14 views

Atmel Cortex M7 Boot selection from SMC

Can the ATSAME70Q19 boot from an external nand flash memory via Static Memory Controller? and if yes, it is possible to "flash" a program in this nand flash directly via JTAG applying on mcu? I ...
1
vote
2answers
68 views

How do I program an Atmel SAM in the field?

We have designed some Atmel SAM based boards that we want to make upgradable in the field. We do not have a bootloader yet (planned in the near future) but we need to make sure they are ...
2
votes
1answer
49 views

SPI Flash memory programming with small buffer(uC memory)

I have AVR(or any, doesn't matter) microcontroller and 1 Megabyte SPI flash IC that I want to write to, I can do it already, have no problems with communication between these two. But so far I write ...
0
votes
1answer
37 views

IC FLASH replacement? [closed]

I was working on a schematic design and wanted to modify a part. The part number is W25Q16DWSSIG made by windbound. I'm trying to replace it with an IC flash with a lager storage and faster speed. It ...
0
votes
2answers
42 views

Nand flash package size

Why nand flash memory comes in "large" package sizes? Even in TSOP, package is too wide and "big".
0
votes
1answer
35 views

Flash IC memory mapping for two application

I am referring biomedical instrument where I need to save result of a reaction in a flash IC ( SST25VF020 2 MBit serial flash ). In the same application, I am using Voice Guide Assistant where I need ...
0
votes
0answers
19 views

Nand Flash in Static Memory Controller

I want to make an interface between an Atmel Cortex-M7 and a NAND flash memory via Static Memory Controller (SMC). The SMC of the Atmel Cortex M7 supports NAND Flash interface. The question is: Is ...
2
votes
1answer
142 views

Changing flash latency from 0 to 1 even with enabled prefetch slows execution on STM32

I have put all clock configuration to its default state, so an internal oscillator is running at 8 mhz. I have a delay loop using inline assembly as follows: ...
6
votes
4answers
356 views

Why do most of the non-volatile memories have logical 1 as the default state?

I have used non volatile memory, like EEPROM and FLASH memory, in embedded applications and I have always found that unused memory (EEPROM/FLASH) bit locations are always set to ...
10
votes
2answers
385 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 ...
0
votes
1answer
34 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
74 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
312 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
21 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
117 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
179 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
36 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
694 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 ...
-1
votes
1answer
52 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
207 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
81 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
67 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
114 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
53 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
59 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
18 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
110 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
64 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
34 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
87 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
154 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
654 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
51 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
81 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
46 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 ...
2
votes
0answers
118 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
43 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
199 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
1k 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
91 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 ...