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

Is possible to overwrite a Serial NOR Flash sector without high memory usage?

Introduction I am developing a high level library to read and write for winbond W25Q512JV and ATmega32U4 mcu. From the flash datasheet: The Page Program instruction allows from one byte to 256 bytes (...
user avatar
0 votes
1 answer
73 views

What is the smallest capacity microSD ever produced?

With the microSD (a.k.a TransFlash) physical dimensions being fixed, flash memory manufacturers compete to fit as much capacity to this as possible, so there are a lot of articles documenting breaking ...
user avatar
  • 163
2 votes
0 answers
54 views

FLASH memory corruption

I have a stm32f030c8t6 which I wish to save some data in its FLASH memory. I use Address Page30 which is 0x08007800 in memory map. it is in 7th Sector. I've developed my code and easily saved some ...
user avatar
0 votes
1 answer
34 views

How to generate .ruc file?

I am using RA2A1 MCU for my product and want to use UNIQUE ID code for security purpose and restrict the debugging without ID code. While flashing from Renesas Flash Programmer (RFP-3.09.01) we ...
user avatar
  • 113
1 vote
1 answer
59 views

Exceeding guaranteed memory write cycles

I have an STM32 MCU with integrated flash that has a specified endurance of 10'000 write cycles. What exactly is the risk if I exceed this number during my products lifetime? My understanding is that ...
user avatar
  • 2,425
0 votes
0 answers
33 views

Error after flashing the example on my esp32-c3 board

I am currently trying to develop software for a board I created a short time ago with the esp32c3 as microprocessor. I followed all the steps of the espressif 'get started'. I firstly set the ...
user avatar
  • 125
-1 votes
1 answer
158 views

Write to flash in STM32 - Works only one time, second time gives error

I have two functions and I begin to call the function STM32_PLC_Flash_Set_ADC_Gains_For_Configuration_Index_0(uint8_t gain) first. It gives ...
user avatar
  • 769
0 votes
0 answers
13 views

Xilinx kintex UltraScale programming BPI (Asynchronous)

I'm working on a board which includes a XCKU060 and I can program its bitstream but when I try to program its flash, It program successfully but nothing happens with the FPGA. I'm using MT28EW01G ...
user avatar
8 votes
3 answers
424 views

Is there a standard way over JTAG to program a flash connected to an FPGA?

I have an FPGA system with JTAG connection, and for production I need to use JTAG to program the FPGA configuration flash, that is connected to the FPGA. The JTAG connection is standard IEEE 1149.1 ...
user avatar
  • 529
2 votes
0 answers
41 views

nrf52-based localization tag flash dump and modification

Lately I've bought a localisation tag (apple airtag alike) When I click a button on my cell phone, the device plays a chiptune-like ringtone. The ringtone is configurable using the app and stored on ...
user avatar
  • 21
0 votes
1 answer
66 views

STM32 Swap Flash Banks. Purpose

I was casually reading STM32 documentation and other materials out of self-education and self-development purposes and ran into bank swapping in system configuration (in referencep and/or programming ...
user avatar
  • 3,276
0 votes
1 answer
27 views

Package of Flash memory S25F064L

I need to use a SPI Flash from Cypress / Infineon to build a prototype for a future product. The exact model I have ordered is S25FL064LABMFM000. According to the seller page it is a SOIC16 package ...
user avatar
0 votes
1 answer
42 views

What's the difference between normal read and fast read on the W25N01GVxxIG?

I noticed that there were two separate instructions to read data from the data buffer of the W25N01GVxxIG flash chip. There is Read Data(0x13) and Fast Read(0x0B), but their descriptions seem to be ...
user avatar
0 votes
1 answer
56 views

How to flash MSP430G2211 MCU?

After experimenting a light sensing tool on TI MSP430G2ET with MSP430G2553, I designed a real scheamatic and PCB with MSP430G2211. I used MSP430G2211 because it has less pinout and smaller than ...
user avatar
  • 1
1 vote
1 answer
55 views

Can a STM32 CPU accept interrupts during the wait states in a FLASH access?

I was reading slides on STM32L4. Here the author explains that in each FLASH access, wait states are inserted. Then during the waiting cycles, can the CPU do something else, for example, accepting ...
user avatar
  • 523
8 votes
1 answer
222 views

Writing bytes to internal flash memory blocks all interrupts on the STM32L0 despite moving the vector table and ISR functions to RAM

The Context I have a embedded system running on an STM32L053 processor that needs to process STM32 hardware timer interrupts regularly and cannot be disabled. These top-priority interrupts cannot be ...
user avatar
  • 347
0 votes
1 answer
44 views

External Memory and Booting

I am trying to use external memory on my stm32h750. I've tutorial information about the these proccess. I decide to use below methods to use external flash Write the code in 0x80000 address and ...
user avatar
  • 281
2 votes
1 answer
129 views

STM32 bootloader break at address issue

I am writing a small application to start a bootloader that checks simple conditions and then jumps to the application memory. The application seems to crash and I am unable to figure out the reason ...
user avatar
1 vote
1 answer
61 views

What generates more heat: inverting to 0s or to 1s in Flash memory?

I was not able to find an answer via web search. The question came to my head after reading https://www.networkworld.com/article/3049428/humidity-not-heat-is-a-hard-drives-biggest-threat.html: The ...
user avatar
0 votes
1 answer
57 views

Hardware based ECU flasher vs software

Why all of the automotive flash equipment require a hardware to write/read Flash memories? (Such as kess/bflash etc) It isn't possible with just a good quality OBD cable to connect to CAN BUS and read/...
user avatar
1 vote
1 answer
287 views

ESP32-C3 difference between embedded and external flash

We are planning to add WiFi and BLE5 capabilities to our hardware and have narrowed down the module choices to ESP32_C3_MINI_1U and ESP32_C3_WROOM_02U. Unfortunately I lack any hands-on experience ...
user avatar
  • 10.3k
0 votes
0 answers
81 views

Flashing PCA10040 NRF52 using J-link and Segger Embedded Studio

I encountered a problem while trying to flash my PCA10040 nrf52 development kit. I am able to compile my code in Segger Embedded Studio without a problem. The chip has 512kB of flash and 24kB which ...
user avatar
0 votes
1 answer
57 views

Connecting MISO and MOSI signals between master and slave

My goal is to flash the external SPI of ICE40 FPGA through Dediprog before powering on the FPGA and let the FPGA read the image file in the SPI after powering on the FPGA. after trying doing this on ...
user avatar
  • 533
1 vote
0 answers
96 views

STM32 USB Mass Storage on External OSPI Flash

Hardware Target: I am using the STM32L4R9IDISCOVERY board Achievement 1: Building a little-fs file system, reading & writing files in the OSPI Flash memory with these functions: ...
user avatar
  • 159
0 votes
0 answers
35 views

Checksum Error Using Dediprog to Flash M25P80

I'm trying t flash an image to M25P80 which is part of iCE40 16-WLCSP Evaluation Kit using Dediprog SF100 and their software tool. So I connected the Dediprog cable (shown in the picture) to J10 ...
user avatar
  • 533
0 votes
1 answer
82 views

Substitution for an unavailable flash memory chip? [closed]

I need to find a replacement for a particular flash chip that is currently in a device. The chip in question is the KH25V16066 https://www.macronix.com.hk/Lists/Datasheet/Attachments/272/...
user avatar
1 vote
0 answers
51 views

Serial flash memory page rewrite issues

I am using M25P32 serial flash memory for my project. Befero using this IC, my project used AT45DB321. There are major differences between these memories, because AT45DB321 supports Page erase ...
user avatar
  • 31
1 vote
0 answers
74 views

Working with STM32 flash memories.. on renode

I am a newbie on embedded flash memories and in particular my university assigned me a job with them on a stm32f407 MCU. I have to work with renode (don't ask me why, they want so) and it has 0 ...
user avatar
0 votes
0 answers
46 views

Serial flash programmer, how to update only part of the data in SPI Flash

I have SP8-A serial flash programmer and Winbond 25Q32BVSIG chip. I want to update only specific part of the data in SPI Flash, not touching the rest data on the chip. The programmer Manual does not ...
user avatar
  • 171
1 vote
1 answer
99 views

Strange behavior of flash memory S29AL016J

Recently I was looking for a replacement for my old flash memory chip. I've soldered a S29AL016J memory chip in my boards and started checking if everything worked correctly like with my previous ...
user avatar
  • 129
1 vote
2 answers
92 views

How to choose the memory size to port a soft from 68HC11 8bit to RISC-V based MCU 32bits target [closed]

I have to build a new hardware with a new 32bit microcontroller. I have a working project on an 8bit microconttroller. When compiling the C program for my new target what will be the needed size of ...
user avatar
0 votes
2 answers
117 views

Microcontroller and Memory size allocation

Below are two custom made microcontrollers. The only difference between this is memory size. My question: Can someone tell me what is their start address and end address? Like, for the first one - ...
user avatar
  • 2,184
1 vote
0 answers
58 views

Pi PICO- Boot from XIP QSPI Flash

I am trying to boot a Pico from an external NOR flash module (Diligent Pmod SF3), but I can't find any information on how to configure the bootloader to do it. I looked at the documentation, but I'm ...
user avatar
0 votes
0 answers
42 views

Is there some way to differentiate between NAND and other flash types on a PCB?

Modern devices (smartphone, notebooks) often use some kind of flash for data storage. Depending on the vendor this can be emmc, ufs, nvme and maybe even plain old NAND. The problem is you can't really ...
user avatar
  • 1
0 votes
1 answer
94 views

Use FPGA to program external memory? [closed]

For a project, I am going to use an FPGA to process an incoming data stream and convert it into binary code that a microcontroller runs. My current idea is to store the processed data on an EEPROM ...
user avatar
2 votes
1 answer
59 views

Is clock presence required to extend an SD card's data retention?

The flash memory on SD cards is prone to data loss over time when unpowered. While typical specifications list "at least 10 years", in practice unrecoverable read errors are likely to occur ...
user avatar
  • 6,637
2 votes
2 answers
54 views

Is eXecute In Place dependent on the flash chip?

We are looking at implementing an architecture that makes use of eXecute In Place (XIP) over QSPI in order to overcome storage constraints; our firmware has grown too large to live in the on-chip ...
user avatar
-1 votes
1 answer
397 views

STM32 How can I run code from ram?

I have this really simple "Hello world" piece of software (project attached), running on a STM32WB55 Nucleo board (basically, it sends "HELLO WORLD\n" via USART1, every 1000 ms). I ...
user avatar
0 votes
1 answer
110 views

Why is erasing NAND much faster than erasing NOR flash?

Why is erasing of a single block in NAND flash usually much faster than erasing a single block in NOR flash? For my current understanding: If all cells of the block share the same substrate and if all ...
user avatar
  • 69
2 votes
1 answer
114 views

Why is a Flash memory cell '0' when programmed and '1' when erased?

When a floating-gate transistor has no negative charge in the gate (i.e., it is erased), it conducts when the world-line voltage is applied to its gate terminal, pulling the bit-line to ground. Doesn'...
user avatar
  • 131
1 vote
0 answers
99 views

Flash Write and HardFault Problem

I am using stm32f4 and I am trying to write some data on dual bank flash. I am calling the below function in my code after the clean related bank. ...
user avatar
3 votes
3 answers
305 views

Flash SPI communication doesn't work without osciloscope

We are using W25Q128JV Flash IC in conjunction with nRF52 SoC. Datasheet of flash: https://www.winbond.com/resource-files/W25Q128JV%20RevH%2003102021%20Plus.pdf We face following issue: SPI ...
user avatar
1 vote
1 answer
208 views

ATMEGA328PB and ATMEGA328P: can be exchanged on a design?

I'm working on a PCB design where I was using ATMEGA328P. Right now it is impossible to get it from any distribuitor, and I think that the best option is to replace it with an ATMEGA328PB (PCBGOGO ...
user avatar
  • 330
1 vote
1 answer
151 views

SSD lifespan is often expressed in terms of TBW (Terabytes Written), does that include read cycles?

Is it so that read/data-fetch cycles don't have any effect on the memory wear and the program-erase cycles are only related to the amount/number of times of write/erase operations? Here I consider ...
user avatar
0 votes
0 answers
45 views

Is erasing flash memory supposed to be this slow? (S25FL127S)

I'm trying to interface with a Cypress/Infineon S25FL127S (https://www.cypress.com/file/177961/download - 16MB SPI Flash module) and the Erase commands are very slow. Testing with two different ...
user avatar
  • 273
0 votes
2 answers
78 views

Flash page erase problem

I am using STM32F3 and I could not erase its flash. Below codes include address, where is my fault? ...
user avatar
  • 281
0 votes
0 answers
43 views

STM32L4S9 low temperature FLASH memory programming

As there is no information on the internet I hope that I will not have any problems (as there are no complaints :) ). My device will receive OTA updates and my question is: Did you have any problems ...
user avatar
  • 2,279
5 votes
3 answers
2k views

Why does NOR flash have 0% bad blocks?

Why does NOR flash memory have 0% bad blocks and ECC is not mandatory? From my understanding, NOR flash and NAND flash are made of similar flash cells (they are only "externally" wired in ...
user avatar
  • 69
0 votes
1 answer
133 views

Pull up resistor in SPI Flash?

while going through one schematics , I found that we are using Pull up resistor for MISO, MOSI, CS in SPI connection between IC and Flash? Why we are using pull up for SPI connections? Is it any ...
user avatar
  • 395
0 votes
0 answers
39 views

occasional EEPROM corruption in phyCARD

I am trying to find a root cause for corrupted EEPROM in phyCARD PCB. PhyCard is so called "System on Module". You can find some more info here: https://www.phytec.eu/product-eu/system-on-...
user avatar

1
2 3 4 5
13