Skip to main content

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
1 answer
76 views

How to isolate a chip from a board without unsoldering it?

I have a board from some device with SPI flash memory chip. I also have a separate CH341a programmer for such chips and I intend to read the SPI flash memory chip from the board. Now I want to do this ...
Arthur  Bulakaiev's user avatar
2 votes
2 answers
123 views

How can I take advantage of the way that a Flash memory chip actually works? [closed]

What kind of FLASH memory lets me to separate the ERASE and WRITE operations, and lets me directly address memory cells without some controller abstracting away that possibility from me? For ...
AHiismak's user avatar
3 votes
2 answers
85 views

Are there any flash (or other non-volatile) memories with page erase sizes that are not a power of two?

Are there any flash (or other non-volatile) memories with page erase sizes (in terms of address space) that are not a power of two? I am not interested in old (retro-computing / out of production / ...
user4574's user avatar
  • 12.4k
0 votes
0 answers
29 views

[STM32F412]Flash writing problem with USB Host active

I've a problem on the STM32F412 with flash writing and USB Host initialized. When USB Host is active and I attempt to write to flash, the software execution blocking at FLASH_FlushCaches function, on ...
Stefano's user avatar
  • 13
1 vote
1 answer
94 views

What are some typical SPI NOR flash failure modes?

I am working with SPI connected NOR flash memory and I've noticed that something like 0.01% of devices experience some kind of write failure over their lifetime. We are careful not to exceed the ...
satur9nine's user avatar
0 votes
2 answers
55 views

Multiple Page Write of Flash

My querry is, I am trying to write data from a file stored in by Raspberry PI to an external flash. The size of the file is greater than 256 bytes. As Flash allows writing a max of only 256 bytes in 1 ...
AD97's user avatar
  • 3
0 votes
1 answer
116 views

Flash memory corruption possible reasons?

I am working with an external Serial Flash memory (Winbond 25Q80). I could read-erase-write the flash memory using SerialFlash library in arduino environment. But it seems data of flash memory gets ...
Shekhar Saha's user avatar
1 vote
1 answer
159 views

How to design an SD card to Memory Stick adapter?

I want to design an SD card to Memory Stick adapter. I will need to somehow implement SD controller (host) and Memory Stick controller (device) in my design, then do the translation between the ...
tpimh's user avatar
  • 513
0 votes
1 answer
106 views

Where are the SFDP tables stored?

For context, I'm learning about the boot process of Intel devices. SFDP standard provides a consistent method of describing the functional and feature capabilities of Serial Flash devices in a ...
Rand0mMan's user avatar
  • 103
0 votes
1 answer
339 views

ESP32-CAM flash via UART

I'm looking for help to upload from Arduino IDE into an ESP32-CAM module, without an FTDI programmer or shield. Context I've got a couple of ESP32-CAM modules with an associated ESP32-CAM-MB shield ...
djee's user avatar
  • 3
0 votes
0 answers
37 views

Can I write SD card a cluster without erasing if it contains only 0xFF?

In my understanding, a block has many clusters in it. Once I erase a block, all data in the block became 0xFF. Then I can write new data into the clusters in the block. So, if I already know that all ...
huangda1982's user avatar
0 votes
4 answers
255 views

Where should the interrupt vector table be placed in memory on STM32H7A3RGT6 chips?

According to the STM32H7 programming manual "On system reset, the vector table is at address 0x00000000." But at the same time the STM32H7A3 reference manual says in it's memory map ...
ultraturbonoob's user avatar
0 votes
2 answers
70 views

Is resistor needed for Flash IC?

I am making my first micro controller board with the rp2040. It requires external flash and so I picked the MT25QL128ABA1EW7 since it seems to match all the requirements based on this document: https:/...
Nico's user avatar
  • 3
0 votes
2 answers
66 views

STM32 BOOTLOAD and FLASH

I am designing a PCB with stm32f4 controller in it. I was designed arduino boards in my past. I am researching for STM32 flashing a code or bootload in datasheets. If I am not wrong with a only 4 pin (...
MSB's user avatar
  • 77
0 votes
2 answers
122 views

ESP8266: Able to flash but no program execution

I designed a PCB based on the ESP8266EX dotn here is the schematic: To flash the board I use the module: https://joy-it.net/de/products/SBC-ESP8266-PROG I am able to flash the board with Arduino IDE ...
Juno's user avatar
  • 93
1 vote
1 answer
176 views

Unable to write to MT25QU256 from Arria 10 SOM

I am using module Arria 10 SOM by iWave with IC Flash MT25QU256. I am trying to read and write from NIOS II processor to different sectors of this flash. Currently, I'm using the IP Core Generic Quad ...
LowK's user avatar
  • 27
1 vote
0 answers
163 views

How to handle flash write/read operations on STM32L552 with ICACHE enabled without disabling it?

I am currently working with an STM32L552 microcontroller and encountering some peculiar behavior when writing and reading double words to and from the flash memory. After writing data to a specific ...
tronhawk's user avatar
  • 229
9 votes
4 answers
3k views

Why are stm32 addresses larger than flash size?

I am a complete beginner to using STM32 boards. I bought an STM32F103C8T6 board, and the product page said it has 128 KB of memory. I am using Linux and am using ...
First User's user avatar
0 votes
0 answers
88 views

How I can store data code for LONG time 100-200y - ESP32, Arduino, Data Retention, Reliability, Lifetime, Flash

I'm working on a research project in winch we want embedded sensors and logic, an ESP32, inside building's pillar surrounded by concrete. The ESP32 collects data through sensors, process them and send ...
user avatar
2 votes
1 answer
85 views

Programming every other group of two NAND pages Results in Longer Programming Time and Noisy Verification Reads

I'm trying to upgrade the storage in a consumer device by swapping in a larger NAND chip (specifically a Micron MT29F128G08CFABBWP). After modifying the firmware to accept the chip's ID and geometry, ...
lemonjesus's user avatar
1 vote
1 answer
100 views

What kind of package is this? Expected a tsop flash but I don't know

I'm a beginner in the electronics world. I opened this Chinese bootleg Sega genesis cartridge and in the place I expected to find a tsop flash chip I found this kind of adapter board with a package ...
Miguel Ángel's user avatar
1 vote
1 answer
143 views

Reflashing firmware for preventive purposes

This is a relatively common malfunction for the installed firmware in some old electrical devices to become corrupted. I often see this in repair videos, and there's often an easy fix - reflash the ...
NSp's user avatar
  • 11
0 votes
1 answer
443 views

Forensic examination of a GPS Tracker Model Type: TK905-2g-V5.0 [closed]

A few weeks ago a friend of mine found a GPS Tracke Device under his car. This is scary. On top of the case there is a branding sticker "winnes". We want to know, who did this, so we need ...
Mannfret's user avatar
2 votes
1 answer
200 views

Booting from NOR or booting from NAND

We're working on a new project, and we're considering using a TMS320C6657 DSP, or a similar DSP. There are many boot modes, NAND Flash, NOR Flash, Ethernet, etc. What are the pros and cons of booting ...
Ben's user avatar
  • 677
1 vote
0 answers
43 views

What throughput should I theoretically expect when reading sequentially from parallel NOR flash?

Background: I'm trying to minimize the boot time of a u-Boot+Linux system running on a fairly powerful T4240rdb powerpc development board. Once in U-boot the process is as follows: A linux kernel ...
mortelsson's user avatar
1 vote
0 answers
44 views

NOR flash address lines

I am wondering if someone can explain how the address lines work on NOR flash. Does each address line map to a physical area in flash? as in A0= 0000-FFFF if this is the case and the NOR has 21 ...
Wellness 2 All's user avatar
2 votes
0 answers
72 views

Is it safe to replace a 120ns Flash memory with a 90ns part?

Here is an old PLC board with a pair of AM29F200AB-120SI SOP-44 256kB 5V flash chips. One is unable to retain data, after nearly three decades in service. These are very challenging to find today, ...
rdtsc's user avatar
  • 16.3k
1 vote
0 answers
46 views

Does "field electron emission" used in EEPROM work better than "hot-carrier injection" in NOR Flash?

After deeping research based on my another question, I continued comparing Flash and EEPROM based on wikipedia comparison table. From wikipedia about the Flash memory: Programming the source-drain ...
An5Drama's user avatar
  • 183
0 votes
0 answers
129 views

STM32 IAP firmware update

I'm trying to update STM32f105vct6 firmware using STM32 IAP over UART. I can update firmware if .bin file size smaller than 32 kB, otherwise file transfer stops after sending 32 kB data. When I ...
Lora74's user avatar
  • 11
1 vote
0 answers
122 views

Inconsistent replies from a Micron N25Q Flash

I have a board with a MT25QL128ABA SPI Flash from Micron, I am using simple standard SPI (no Quad). I do the following: Send Write Enable Send Erase Command (Program Command resp.) Repeat: Read the ...
Jens's user avatar
  • 111
0 votes
1 answer
41 views

Ideas about generating images for E-Paper display

I am currently working on a project where I'm using a DA14531 BLE-module to collect data from some sensors and display the collected data on an E-paper display. As the display is quite large (400x300 ...
user294957's user avatar
1 vote
1 answer
87 views

Programming / Flashing DM320007 / PIC32MZ2048EFH144

I want to flash a hex file (bootloader + application) onto the PIC32MZ2048EFH144 of a DM320007 dev board. Sadly, I don't get how to flash a hex to this microchip! I tried MPLAB X IDE. If I create a ...
peter's user avatar
  • 21
1 vote
0 answers
224 views

How can I choose a capacitor for a very high energy pulse?

I need to specify capacitors for a very high power pulse application. Specifically, I need to deliver a pulse of about 7 kJ over 5 ms at a voltage of about 1 kV DC, so peak current is off the charts. ...
Greg Sorter's user avatar
2 votes
2 answers
268 views

Programming STM32F103C using USB

What's the Problem? I created a Custom 'Development/Discovery'-Board and want to program it using USB. I saw in the Datasheet AN2606 that it is not possible to flash the program via USB. What I tried ...
Y-E-Quit's user avatar
  • 121
2 votes
1 answer
2k views

Programming STM32 via USB using the CubeProgrammer

I have designed my own Board with an STM32F103 Chip. Now i want to add the feature that u can program the STM32 using USB connection. I watched the video https://youtu.be/VlCYI2U-qyM by Phil's Lab. I ...
Y-E-Quit's user avatar
  • 121
0 votes
0 answers
35 views

Regarding register configuration being constant across power cycles

Ethernet Switch - KSZ8775 Is there a way to make the chip register configuration persistent, across multiple power cycles, so that we don't have to reprogram the chip every time we turn it off and on? ...
user avatar
0 votes
1 answer
378 views

I need help uploading scripts to an ESP01 through an Arduino UNO

I am a beginner with Arduino. I am trying to upload any basic script from my PC to an ESP01 through an Arduino UNO and Arduino IDE. The code I am trying to upload is very basic: ...
Barth's user avatar
  • 1
0 votes
1 answer
103 views

Use of ISB in STM32F4xx HAL function FLASH_Program_DoubleWord

The following lines of code are taken from Flash_Program_DoubleWord(uint32_t Address, uint64_t Data) function in stm32f4xx_hal_flash.c ...
Mohammed Hisham's user avatar
1 vote
1 answer
802 views

Help identifying flash memory chip

I'm trying to find the datasheet and/or documentation of the flash memory chips on this SSD drive board. The chip is marked 29F32B2ALCMG2, and though my web ...
Bert Peters's user avatar
0 votes
0 answers
72 views

LED-flash during powerup with my ZCD/Triac-circuit

Friends, I've made a ZDC-circut to dim my 230VAC LED-chip. It works fine except for a short, flashy, annoying blink when powered up!! It happens about 8/10 times when I switch the power on/off. Any1 ...
Mickolini's user avatar
2 votes
1 answer
696 views

Avoiding corruption on CHAN FAT FS on embedded logging device

In testing ELM FAT FS on STM32F4 I am finding USB memory stick corruption errors after unexpected shutdown or removal. e.g power removal, media removal. In some cases the corruption is recoverable in ...
ChrisR's user avatar
  • 871
1 vote
0 answers
83 views

Locating flash chip for dumping firmware

I'm trying to dip my toes into reversing and thought that dumping and inspecting the firmware running on this controller/pcb would be fun learning, however I'm having trouble locating the flash chip. ...
arrayCobbler's user avatar
3 votes
2 answers
734 views

Where is the flash memory on the NodeMCU ESP8266 v3?

In the NodeMCU v3 specs it says it has 4Mb flash memory. In the ESP-12EX datasheet it says the MCU has no rom, but can boot from an SPI external memory. However, I don't see any flash memory chip on ...
hl037_'s user avatar
  • 133
2 votes
0 answers
188 views

Does NOR flash wear occur when rewriting a bit to its same value?

The obvious answer is no. Wear is caused by discharging a memory cell (bit). If the cell is a 1 and you write a 1, the cell does not get discharged. If the cell is zero and you write a zero, the cell ...
Maxwell Kunes's user avatar
0 votes
1 answer
140 views

ESD question related to flash

I'm using "SST25VF064C" for storing the program of the microcomputer. It was working normally for over a year, but a problem occurred where the data in "SST25VF064C" was corrupted ...
user avatar
0 votes
1 answer
242 views

Using BSL to program MSP430 MCU with JTAG fused already blown and all memory wiped out by BSL

If the Texas Instrument MSP430 MCU (specifically Fxxx series) has the JTAG fuse already blown and the BSL was able to erase the whole chip (either by using force erase all or wrongly inputted password)...
Samzun's user avatar
  • 223
0 votes
1 answer
62 views

Can the internal FET be disabled?

In this device, can the internal FET be disabled for the CRD_PWR pin? Can the CRD_PWR pin be left floating?
user avatar
0 votes
1 answer
396 views

Flashing STM32 via SPI from STMCubeIDE

I am building a board with STM32F030F4P6TR, TSSOP20 20-pin package and am trying to figure out how I am going to flash my program onto this chip. It seems like there is a SPI interface that I might be ...
Jack Frye's user avatar
  • 145
2 votes
2 answers
427 views

ATmega328P flash address order

I'm currently attending a basic course on real-time embedded systems. Recently, we have been talking about embedded systems memory architecture. When doing some extra studying on memory maps, I came ...
user294957's user avatar
0 votes
2 answers
601 views

Issues when trying to write to the internal flash of an SAMD21

I am writing to the internal flash of my SAMD21G18A microcontroller. I want to erase one row (4 pages), and manually write to one page just to understand the NVMCTRL abit more. this is the code FYI: <...
Embedded_Dude's user avatar

1
2 3 4 5
14