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
2 votes
0 answers
46 views

Programming 7th Page of NAND Results in Longer Programming Time and Noisy Verification Read

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
87 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
51 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
107 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
63 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
  • 665
1 vote
0 answers
36 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
34 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
42 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
  • 16k
1 vote
0 answers
36 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 ...
zg c's user avatar
  • 81
0 votes
0 answers
39 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
44 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
28 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
50 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
0 votes
0 answers
25 views

ESP-WROOM-02 SPI flash reserved pins

I’m using some ESP-WROOM-02 modules I had lying around for the first time and I’m a little confused about the included SPI flash IC as part of the module and was hoping someone that has used it could ...
Justin's user avatar
  • 33
1 vote
0 answers
115 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
111 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
  • 111
2 votes
1 answer
1k 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
  • 111
0 votes
0 answers
43 views

How to write to EPCS memory without disrupting code execution for DE0-Nano board?

Currently I'm writing my program on DE0-Nano board, which contains an EPCS64 flash memory. My purpose is to save some information of the previous execution of the program, and I have an idea to write ...
LowK's user avatar
  • 17
0 votes
0 answers
30 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
0 answers
191 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
50 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
0 votes
0 answers
306 views

Starting ESP32-C3-Mini-1 Module in Boot Mode

I'm designing a PCB around the ESP32 C3 Mini-1 Module but have been having some problems flashing firmware. I want to flash the AT command firmware so I can use a STM32 MCU to talk to it. The first ...
Jeremy Wolfe's user avatar
1 vote
1 answer
257 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
68 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
1 vote
1 answer
233 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
  • 851
1 vote
0 answers
53 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
0 votes
0 answers
200 views

How to identify Winbond W25Q64.V spi-flash chip replacement

I am trying to flash coreboot on to a Thinkpad T440p. It has two BIOS chips - "upper" 4MB and "bottom" 8MB. I use a Raspberry Pi 2 B+ and the skulls project to program in-situ (...
r0berts's user avatar
  • 101
3 votes
2 answers
373 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
127 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
97 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
144 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
  • 123
0 votes
1 answer
61 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
0 answers
43 views

How can you place the USB2244 media controller IC into low power or standby modes?

I'm using this device - USB2244 and connecting it to an 8-pin NAND flash. Leaving the TXD pin of this device as NC. I want to know whether there's an option to make the device go into low power or ...
user avatar
0 votes
1 answer
183 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
240 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
1 answer
326 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 vote
0 answers
230 views

Attiny88 with Micronucleus: Flash write error -1 most of time

I have this board with an Attiny88, a pin compatible Nano 'equivalent': I want to build a simple motor controller however most of the time when I upload a program I get this error: ...
Codebeat's user avatar
  • 1,317
1 vote
2 answers
130 views

How do flash memories address the actual bit location?

I'm trying to understand flash memory, and while I can find lots of explanations for how individual cells are read/written to by directing some current across that cell, there is basically nothing ...
Sam Jaques's user avatar
9 votes
4 answers
2k views

Second counter saved in flash memory - How to avoid deterioration?

Let's say I have a flash memory that has a 100,000 write cycle endurance. Each segment is 512 bytes, and as usual has to be erased fully to be rewritten to. If I want to save the amount of elapsed ...
J.Deschenes's user avatar
1 vote
1 answer
80 views

How to restore the charge of a floating gate?

As commonly known the charge in a floating gate in a flash memory cell tends to leak over time. Some authors suggest rewriting of the cell to renew its charge. However, that reduces available resource....
Cheddy's user avatar
  • 13
2 votes
0 answers
198 views

Not able to flash MCU because of external watchdog

I am using the TPS3813K33MDBVREP watchdog on a PCB with a STM32 MCU. It is connected like the example in the datasheet. I can't program the MCU with a debug cable because the MCU gets reset from the ...
itchy's user avatar
  • 131
0 votes
1 answer
112 views

Microcontroller, Flash EPROM and RAM combination questions

I have chosen a specific microcontroller (MCU) for a project, based on price, package size, and speed. It's the NXP LPC1768FBD100, a 100 MHz ARM-based MCU with 512 KB program memory and 64 KB SRAM. My ...
Elementronics's user avatar
0 votes
1 answer
302 views

Can't write STM32 Flash with 8 bits

I can't program the STM32 Flash with 8 bits of data. I have a STM32F103C8T6 and I'm trying to write in flash, I saw in HAL_FLASH libraries and I took some of the code to write in a single byte of the ...
Tiago's user avatar
  • 13
0 votes
0 answers
41 views

Issue with XIP on NXP MIMXRT1015

I am working on the board bring up for a board using the NXP MIMXRT1015 crossover MCU. The design is pretty much a copy of the respective EVK including the same QSPI flash chip. Software Observations: ...
WildDifficulty451's user avatar
0 votes
2 answers
114 views

External SPI Flash Global Unprotect

I am using AT25DF041B SPI Serial Flash Memory with my application and I am confused about protection about sectors. When I have read the datasheet it says there is a command for the global unprotect. ...
fury's user avatar
  • 11
0 votes
2 answers
211 views

Replacing an LMC555 or a 7555 in a signal light

I wish to manufacture a flashing "signal light" which is activated when the light level is low. It needs to operate on a 3 V battery. The application is very cost sensitive so ICs such as ...
Harshita Kapur's user avatar
1 vote
1 answer
104 views

Purpose of unused signal/vias

I'm working on a layout where I have to replace a QSPI flash memory (EPCQ-L1256) to account for obsoleteness. As shown on on the schematic below, only the power, clk, data, and chip select signals are ...
Aaron's user avatar
  • 301
0 votes
1 answer
535 views

Facing problem to download Hex file to STM32 using Command line

I managed to write a script for flashing hex file into STM microcontroller. ...
Nh K's user avatar
  • 31
1 vote
1 answer
465 views

QSPI/QuadSPI: alternate bytes purpose?

I'm getting familiar with QSPI on my STM32F746-Discovery (not really relevant for the question, just some context). While reading reference manual, it lays out in details how the peripheral functions (...
Ilya's user avatar
  • 3,478
2 votes
1 answer
96 views

Modeling a NAND flash cell (a MOSFET with a floating gate)

After checking the ADS component palette, I found there are some MOSFET models available but there are no NAND flash cell models. How do I create one? A NAND flash cell can hold different states (...
kintaro's user avatar
  • 327

1
2 3 4 5
14