Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [flash]

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 microcontroller.

Filter by
Sorted by
Tagged with
0
votes
1answer
66 views

series connected capacitor

simulate this circuit – Schematic created using CircuitLab How does the capacitor behave here? I tried and the led flashed. Does the capacitor work like a diode after charging?
0
votes
1answer
24 views

Writing data into previously unwritten addresses in W25X10CL spi data flash

I am using a W25X10CL spi data flash to store data. Following is the data sheet for the data flash:- https://www.winbond.com/resource-files/w25x10cl_revg%20021714.pdf I need to read data from ...
-1
votes
0answers
23 views

Is it possible to write a file to an spi flash like W25Q64?

i have windows OS. I want to know if it is possible to write/read a file (eg. .zip; .exe; .iso) to/from a W25Q64 spi flash memory chip? Can i use a W25Q64 USB Programmer Hardware and a ch341a flash ...
2
votes
1answer
2k views

CMOS Flash vs SD: Can I put a Gamecube Memory Card in an SD reader?

Backstory I've decided to run "Homebrew" on my Gamecube (and writing Homebrew for n00bs to document the process). Unfortunately, it seems that there's no way to do this without buying special ...
0
votes
3answers
69 views

SD card with STM32 in memory-mapped mode

I need an external flash in STM32H743 MCU and it must work in memory-mapped mode (it's necessary for LTDC display controller). Can I use SD card instead of usual flash chip in this case? It will be ...
0
votes
2answers
70 views

STM32 flash memory write issue

I am attempting to write some data to my stm32 discovery board (STM32F4VET11). Following the data sheet: (Sector 11, address 0x080E0000). The code compiles, however, the write never takes place. When ...
0
votes
0answers
33 views

Executing a page read

I am working for a few months on dumping the content of a certain NAND Flash. This is the first time that I am doing this so I needed some time to get a good idea of how this works. The NAND Flash ...
2
votes
2answers
74 views

Moving an electolytic cap out of the way of a chip clip

I'm trying to read flash off an old sampler and I have all the required gear to do so. However, there is an SMD electrolytic capacitor in the way keeping me from placing a TSOP 48 clip on the flash ...
1
vote
2answers
65 views

Is it possible to use PIC10Fxx internal flash to store data between deep sleep?

I want to store a single bit with rare rewrite. It's possible for STM32 without EEPROM, but how about PIC microcontroller? And is there examples with configuration and code?
0
votes
1answer
41 views

Adapt EEPROM EMULATOR STM32F103VE

I'm working with STM32F103VE and STM32F746, and i want to use my Flash memory as EEPROM EMULATOR for writing and reading data easily. I have searched for axemples of Emulation of EEPROM for my board ...
0
votes
0answers
34 views

NAND Flash memory block - plane issue

I am programming a 2Gb NAND flash memory and I don't understand how the block-plane addressing should be treated. According to the datasheet The flash memory is divided into two planes. Each plane ...
0
votes
0answers
54 views

Why bad data is read from SPI Flash

I have a device in which there is a SPI flash and a I2C EEPROM, W25Q256JV (32MB) and AT24C1024 (1MB) respectively. The MCU writes data packets in the flash fifo and saves its read write pointers in ...
0
votes
3answers
106 views

RAM and Flash structure difference

I am trying to get a better understanding for RAM and Flash and I hope you could help me out with some things. What I know about Flash (or at least I think to know), is that there are different Flash ...
0
votes
0answers
29 views

HC908 MCU Programming

I'm trying to program an MC68HC908QB8 MCU by attempting to enter monitor mode using this circuit: The requirements for entering monitor mode are in this table: But when trying to connect using the ...
0
votes
1answer
88 views

How is an EEPROM different from a Flash memory? [duplicate]

I am trying to understand the terminology used for various non-volatile memory chips for example as EEPROM and Flash. Is there any preference to use the word EEPROM or Flash for specific type of ...
3
votes
2answers
94 views

How to detect Corrupt Flash Memory? [closed]

I am checking PCB board of a commercial device that has W25Q256JV 32MByte SPI Flash on it. The device is in use for more than a year now at more than 2000 client locations. It has internal backup ...
1
vote
1answer
95 views

Where should hardcoded variables typically be stored in FLASH on a microcontroller?

I want to store calibration data on a microcontroller (namely the STM32 line) however with a large amount of flash memory available to ustilise, I wondered if there is a standard area of memory that ...
0
votes
0answers
45 views

Flashing a brand-new ESP8266EX with empty W25Q32

I made my own WiFi circuit board using ESP8266EX and a W25Q32 flash (bought from Mouser). My problem is it is not flashing. I used NodeMCU flasher and ESP flashing tool. It only gives boot mode 1,7 ...
0
votes
1answer
40 views

Potential causes of Atmel “system” failure after reflash with same binary

I'm working on a small "cartridge"-like subsystem which attaches to the main device via a 20-pin connector. On the cartridge, there is an ATmega16a microcontroller and an AT45DB081D flash. I needed ...
0
votes
0answers
18 views

Writing to external flash on Renesas Super-H 3 (7706) based board

I've been reverse engineering firmware/software that runs on an old Roland sampler. I'm at a point where I'd like to test some changes I've made, but I need to be able to recover in the event I brick ...
0
votes
1answer
31 views

Flashing firmware onto NXP QN9020 via SEGGER J-Link

Here I am attempting to flash the firmware using SEGGER J-Flash Lite. Below is the ouput when attempting to connect via the SEGGER J-Link Commander. ...
0
votes
0answers
44 views

Writing Flash Memory Serially

I am looking into writing data onto some Flash memory serially, the requirement is to replace the old parallel programmer with a serial based programmer example Cheetah SPI Host Adapter. The Flash ...
0
votes
1answer
119 views

How to connect a W25Q64 3.3 SPI Flash to a 5V Arduino Mega?

I need memory to read from, for my project. I first intended to use an SD card, but I now found out a W25Q64/128 SPI Flash is more practical, since I don't need to write data. However, this W25QXX ...
1
vote
1answer
183 views

Put saved data in flash of STM32 at the end of all other sections

I want to emulate EEPROM over flash of STM32F103. Is there a way to use all free flash instead of the only page? How can I initialize starting point of my EEPROM emulation so that it would be after ...
1
vote
2answers
100 views

Which flash sector to write into?

I need to save working configuration of my embedded application to the flash memory. I am using STM32f746 uController. According to the datasheet. There is 8 sectors on the main block of the flash ...
28
votes
8answers
5k views

Why do we need a bootloader separate from our application program in microcontrollers?

Why do we need a separate program in the same flash program memory of a microcontroller, specifically STM32F103, which is called a bootloader? What is special about it to keep it separate from the ...
0
votes
1answer
38 views

Do I have to do anything special if I want to connect to a chip with SWD and SWDIO and nRESET are on the same pin? [duplicate]

I want to wire a MDBT40-256RV3 to a SWD programmer and on the programmer nRESET and SWDIO are on separate pins but on this chip they share the same pin, so how should I wire that?
0
votes
1answer
39 views

What pins on a nRF51822 do I connect to a STM32 programmer?

I want to be able to program a nRF51822 with this programmer but I'm not sure what pins on the actual chip I should use, and all the guides seemed to be using a different chip
0
votes
0answers
37 views

Which sector of flash to store “user configuration” bytes in? STM32F303K8

I'm working on a project in which I'd like to store about 10 "configuration" bytes somewhere in flash, as I'd like to have the same firmware run on different boards with different settings. It doesn't ...
0
votes
1answer
66 views

Small package SPI Flash IC as logger?

In a project where we use STM32 as a microcontroller, we need to record 512Mbit data. As far as I know, NAND flash ICs are used extensively in flash memories(From ISSI,Panasonic,Samsung,Toshiba.. ...
0
votes
1answer
70 views

What QSPI chip is on ItsyBitsy M4 Express?

I'm trying to find out the name of the QSPI chip that is used on ItsyBitsy M4 Express boards. On the image below is very faded:
0
votes
1answer
37 views

NOR Flash - Max Frequency of Operation

I am wokring on a board that uses Micron 1Gb QSPI (mt25qu01gbbb8e12-0aat) to load configuration on to FPGA at power on. As per the datasheet of QSPI (https://www.micron.com/-/media/documents/...
0
votes
3answers
31 views

Can I overwrite a single byte in AT26DF081A Flash / SST25VF080B Flash?

Is there any method to rewrite a single byte memory without erasing 4KB block? I am keeping address table in one 4KB block.I need to update adresses occasionally. Do I have to copy all addresses to ...
2
votes
4answers
76 views

Handling brownouts during external flash writes

What techniques should be applied for writing flash in systems that have inherently unreliable power? Is there any good reading material on the subject? If I have a microcontroller writing sensor ...
0
votes
1answer
75 views

Storing values in the internal flash memory

I want to reserve a space in the internal flash memory of my microcontroller (STM32L4) to store the latest 100 measured values by a sensor (in a circular FIFO Fashion) and be able to load them again ...
1
vote
3answers
91 views

Will external high electric field strength erase flash memory?

Simple question - given that electric fields are used to program and erase flash memory will placing such a memory in an external high voltage gradient damage them, or damage the bit integrity? I am ...
1
vote
0answers
42 views

Reliable methods to read data off a flash chip?

I'm trying to read data off of flash chips on a variety of embedded devices I have, and I'm currently using an FTDI FT2232H and flashrom (with soic-8 clips and probes) to extract the data as they are ...
0
votes
1answer
21 views

Flashing LPCXpresso1769 with FlashMagic

I'd like to use Flash Magic to load programs onto my LPCXpresso1769 development board (https://www.embeddedartists.com/wp-content/uploads/2018/06/LPCXpresso1769_CD_revD.pdf), via ISP. I purchased a ...
4
votes
3answers
1k views

How to properly use STM32 flash memory as an EEPROM?

I have to save certain parameters to the flash memory and these values should be non-volatile. But my program will change these parameters and I want the changes updated to the flash. I understand to ...
1
vote
1answer
189 views

First time using a Raspberry 3B+ for 1.8v SPI BIOS flashing, I have some questions first

So this is the first time I'm attempting to flash a BIOS chip using a Raspberry Pi 3B+. I have the following items with me, a SOIC-8 clip, a Bi-Directional Logic Level Converter, and a Raspberry Pi ...
0
votes
1answer
13 views

Is it possible to add a UID to M45PE10-VMN6?

Is it possible to add a UID to p/n M45PE10-VMN6 ? We need to add this security feature to these chips, but I am assuming it needed to be done at factory. Originally we could have purchased p/n ...
0
votes
0answers
17 views

Modify Hex (or svf) File to set Word in Flash (ATMEGA)

I work as a testengineer and I try to manually add a 16bit Word to the Flash of a Atmega16. We don't have the source of the firmware and I programm the firmware over JTAG with a convertet svf file. ...
1
vote
0answers
145 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
1answer
67 views

QSPI for shared XiP and file system

Is it possible for a single-die QSPI NOR flash module be simultaneously used for both XiP and a file system? By simultaneous I mean that a function running from XiP accesses data elsewhere on XiP. ...
2
votes
0answers
28 views

What are two typical threshold voltages for a flash FET?

I have a simple question for you all: what is a realistic approximation of a pair of threshold voltages for a flash transistor? I am working with NAND flash, 45nm, with VDD = 0.8V. I can find lots of ...
2
votes
1answer
556 views

How to Hardware Write Protect Flash SPI, Setting WP# pin signal low stage [Asus P5Q Pro + MX25L8005 SPI]

As a pen testing & security experiment and feature I want to enable write protect on my SPI Flash MX25L8005 module on my motherboard to protect the SMM modules, AML, ACPI and other areas of the ...
0
votes
0answers
43 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 ...
0
votes
1answer
278 views

Reading a MD25Q128SIG SPI flash memory with raspberry pi

I'm trying to read a MD25Q128SIG SPI flash memory with my raspberry pi, you can find its datasheet here: http://www.firstjit.com/Uploadfiles/20160121152131319.pdf Here are raspberry pi pinouts: Here ...
0
votes
1answer
50 views

Separate Vector Table for USB Bootloader (Infineon 4400-CortexM4F)

I am developing a USB bootloader for Infineon XMC 4400 micro . I have modified linker_Script.ld file and have allocated 32K for flash. MEMORY { ...
1
vote
0answers
72 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 ...