Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
17 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
30 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
30 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
0answers
16 views

Arduino DUE- flash space for user [migrated]

I need for my project to save only 32bit in non-volatile storage. What is the easiest/cheapest way to do that in Arduino DUE? ArduinoDUE is Atmel SAM3X8E so according to the attached table (from ...
0
votes
3answers
22 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
74 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
65 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
80 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
36 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
14 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
230 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
66 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
13 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
73 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
42 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
27 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
181 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
35 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
84 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
41 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
37 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 ...
0
votes
0answers
61 views

EEPROM and Flash testing

I am looking into the best practices for EEPROM and Flash memory testing. We are talking about end of line product testing by an ATE. The goal is to identify defect chip before writing memory content. ...
0
votes
2answers
157 views

Using Arduino Mega as Atmega2560 AVR development board with Atmel Studio 7

(updates at end) Qualifier: I am posting this here and not on the Arduino Stack Exchange because my question is about firmware development and not Arduino development. Project: I am designing a PCB ...
0
votes
2answers
53 views

Flash Write protection to prevent access to firmware [closed]

I am reading up on ways to provide security to software images on boot devices. In this regard, I was reading up that if bootloader resides on Flash then using flash memory write protection, the ...
1
vote
3answers
115 views

Circular buffer in flash

I have been facing following problem. I have implemented a datalogger i.e. software running on a MCU which creates periodic snapshots of a system state (values of some quantities of the system). ...
1
vote
0answers
44 views

S25FL512S flash driver, read or write not working correctly

I am trying to write a driver for an S70FL01GS chip, which is two stacked S25FL512S chips. I am successfully reading status register, SFDP register, RDID, etc. I am also able to toggle (and verify) ...
0
votes
0answers
45 views

Can we store hex data through UART into flash and RUN it from that particular location

I am trying to store my hex file in another sector of the flash memory i.e (0x00050000) I want to store a hex file at different sector of the flash and to change the execution point to that address ...
-3
votes
1answer
160 views

How to write STM32F4 OTP Area

I am reading the reference manual page 75 that shows the flash memory organization of STM32F4 MCUs. There is an OTP area of 528 Bytes in it as shown in the image: Is it possible to write on this OTP ...
0
votes
0answers
103 views

STM32CubeProg vs STLINK Utility

There are 2 software tools provided by ST to flash their STM32 MCUs namely STM32CubeProg and STLINK Utility STM32CubeProg Page says: STM32CubeProgrammer (STM32CubeProg) is an all-in-one multi-OS ...
0
votes
1answer
41 views

Minimal circuit to flash STM32F4 using STLINK

I wonder if I need to put some circuit between STLINK and STM32F4 MCU to flash it or does it simply require to connect the wires 1:1 directly? I cannot find it in the datasheet.
2
votes
1answer
48 views

J-Link programmer in Windows 8 don't work

I use the J-Link programmer in Windows 8. A few days ago, my programmer hanged and the LEDs stayed silent, and I, with the help of the Internet, was again using the SAM-BA software to install the ...
0
votes
0answers
21 views

Can FOTA be performed by changing the execution point of the code i.e, changing the program counter in lpc1759

For FOTA can we divide the memory into two blocks, eg : block A and block B. And whenever there is a new version of firmware detected, we shall change the execution point of the code. Is this ...
0
votes
0answers
32 views

Writing data into a SPI Flash using NFC?

I have a 16 Mbit SPI flash. I want to write data to the SPI flash using NFC. I know there are multiple NFC+MCU series out there that can do this. However, the NFC+MCU require JTAG, LDOs, ..etc. The ...
0
votes
1answer
71 views

Prevent design to power up when updating firmware in flash memory

I have an FPGA based design using the MachXO2 by Lattice. I wanted a quick, easy and clean way to perform firmware updates, which are frequent, so I decided to use an external flash memory (AT25SF041 ...
0
votes
0answers
107 views

Bus fault when accessing mcu internal peripheral

I am struggling with a bus fault error on my samg55 µC based on arm cortex m4 architecture. The issue occurs sporadically and is not 100% reproductible. Let me give some details. Application code ...
1
vote
2answers
208 views

Can I lower flash power consumption by pre-flashing all values to high?

I am designing an embedded system that will use either embedded flash memory or an SD card. The system must survive without much power and the estimated 30mA draw of an SD card sounds too high for me. ...
2
votes
1answer
248 views

Confused about the XIP (eXecute In Place) function of QSPI FLASH

There are lots of NOR QSPI FLASH chips that support XIP (eXecute In Place). In this mode the embedded cpu (or MCU) can directly execute the codes stored in the flash. But as we know, the qspi flash ...
0
votes
2answers
109 views

Does the logic inside flash memory devices require a power down after each WRITE operation? [closed]

Does the logic inside flash memory devices require a power down after each WRITE operation? I was confused when reading the datasheet of the Micron Serial NOR Flash Memory. There is "To avoid data ...
1
vote
1answer
112 views

STM32L073xx Internal Bootloader - Get Flash Size issue

I tried recently to develop custom app flasher (based on stm32loader python module) for STM32L073xx microcontrollers but I stuck at one point. This lib tries to obtain flash size from micro because ...
0
votes
0answers
50 views

EPCQL controller

I am trying to access in read and write my EPCQL-1024 from simple soft running in NIOSII. I have the Altera Serial Flash Controller I configured in QUAD mode connected from its avl_csr and avl_mem to ...
0
votes
0answers
41 views

Programming AT89LP52 microcontroller like an AT89S52

I'm trying to run my code on the new AT89LP52 chip which Microchip (A.k.a. Atmel) believes can be a direct replacement for the AT89S52. I am able to program the AT89S52 with my programmer and ...
0
votes
0answers
54 views

Which chip is NVRAM on?

Where is NVRAM(Non-volatile random-access memory)? Which chip is NVRAM on? Is it on Flash, CPU or RAM? I have an embedded Linux router, which according to google has ...
0
votes
1answer
120 views

How to write more than one page at once in Winbond W25Q32JV

I am using Eclipse IDE for firmware development. I am using Quectel MC60 module with Winbond W25Q32JV (4 MB memory). The thing is that I am able to read/write single page. I am facing issue with ...
0
votes
0answers
49 views

BBB Flashing Loop

So generally I have no problem flashing my BBB with the SD I have. I do it all the time, and it works on most board. However occionally it gets stuck in this "loop". It will flash the device ...
2
votes
2answers
88 views

MSP430F5529: Unable to write to FLASH

Background: I am trying to write an 8-bit value to Info C block of FLASH on the MSP430F5529. Info C starts at address 0x1880, so I use a #define to keep this value:...
2
votes
2answers
111 views

PIC24 DATA EEPROM Emulation __builtin_tblpage error

I am using PIC24fj256ga702 controller in my project. I wanted to store some bytes data in a non-volatile memory in case if there is a power loss. so i wrote some functions following http://...
0
votes
0answers
32 views

Why does N25Q512 has 0x20 for capacity ID?

Command 0x9F is expected to return three bytes - manufacturer ID, and two bytes of ID[15:0] with LSB being capacity ID. I am building catalogue of the serial flash chips basing on this excellent ...
0
votes
2answers
93 views

Are SSDs true random-access devices?

Since all kinds of flash memories feature different transfer rates according to the kind of operation performed at a given moment (e.g., random access reads versus random access writes, random access ...
0
votes
1answer
72 views

Get more AS-attached flash chip information from ALTASMI

I am playing with the attaching various configuration flash devices to the Altera Cyclone 3. In particular, I want to replace EPCS16 (2MB) with W25Q128 (16MB) - for both size and cost reasons. Is ...