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
1
vote
1answer
57 views

Desoldering CPU from PCB or holding it in reset

I am currently working with a NAND flash that I want to dump. The goal is to take a look at the data that is stored in the filesystem. To do so I soldered 8 wires to the NAND flash to access it while ...
0
votes
1answer
16 views

Where can I Find the Memory map and register table for the S70FL01GS

I am currently working with this device: https://www.mouser.com/datasheet/2/100/001-98295_S70FL01GS_1_Gbit_128_Mbyte_3.0V_SPI_Flas-1102682.pdf The datasheet provides some high-level details about ...
0
votes
2answers
81 views

Using SPI to manipulate Flash Memory (Code in C)

for a couple of days i have been trying to write a C code that writes to a flash memory via SPI. I already have a code that writes characters into flash. Now i wanted to expand on it and write integer ...
0
votes
1answer
22 views

openocd + stm32f4 flash issue

I am working on our company’s custom stm32f429 board which is fairly complicated with multiple peripherals. Till today morning the board worked fine with no issues. Once i shifted the board from the ...
0
votes
1answer
57 views

Flash memory to hold flags

I'm trying to write bootloader code and I needed to be able to use an address in flash memory as a flag to the bootloader to let it know if it should enter bootloader or the application. I'm able to ...
0
votes
1answer
46 views

Trouble reading a byte from external Flash via SPI

I am using a BMD-340 module based on the nRF52840 Microcontroller. I am interfacing with AT25SF041 flash memory. I am writing a byte to a specific address in Flash. But when I try to read the ...
5
votes
4answers
1k views

Why is my program stored in flash memory instead of EEPROM in ATmega328?

As I was going through the differences (basically they are same, but they still have some differences) between flash memory and EEPROM here, I figured out that the flash memory can handle lesser ...
0
votes
1answer
43 views

Can't read an entire page at once (NAND flash)

I am working for quite a while now with a GD5F1GQ4UCYIG from GigaDevice. The goal is to dump the content of the flash. To do so I use a BusPirate. The NAND flash itself is still attached to the board,...
0
votes
0answers
36 views

RX63N has NAND or NOR internal flash?

I need to read the internal flash of RX63N MicroController multiple times. It will always be the same data block. I was concerned about the life of the internal flash, wearing out etc. I read that NOR ...
0
votes
1answer
55 views

STM32 Bootloader config. and datasheet discrepency

I have 4 quick questions regarding the bootloader/programming the STM32L0 chip series. Q1&2 I'm considering a STM32 project coming from ATMEGA chips. From my understanding, the chips come with a ...
0
votes
0answers
119 views

Failed to connect to esp32: timed out waiting for packet header when flashing

I have using an esp32 wrover b chip, an esp32 adapter, and a USB-serial converter. I am trying to flash micropython onto the esp32 via the usb-serial connector, but have encountered a few connection ...
2
votes
1answer
61 views

Write endurance: Is there a difference between eMMC and Micro SD Card?

I have seen several forum posts (link 1, link 2) debating whether eMMC offers an endurance advantage over SD cards for embedded applications. My understanding was that the write endurance problem is ...
0
votes
1answer
31 views

Monitoring SD/TF Card status while interfacing with separate host

I'm working on project that requires taking several terabytes worth of RAW photos on DSLR controlled by a microcontroller. Initially the plan was to use a small Linux SBC running some kind of control ...
1
vote
1answer
49 views

How to read this memory map of LPC1769 microcontroller?

I'm trying to understand the memory map of the LPC1769 microcontroller using the official NXP datasheet. The screenshot below shows at 0x00004000 to 0x00008000 there is 512kB of flash memory mapped, ...
0
votes
0answers
23 views

MSP430 JTAG, read flash content / Chip ID

I am very new to MSP430 programming, I only have experience with Atmels AtMega and the Atmel Studio. In Atmel Studio I have the possibility to read the Chip ID, and Flash. How can I accomplish this ...
2
votes
2answers
152 views

STM32 L4 HAL_FLASH Writes in one function but not another

I am working with an STM32 L476RG evaluation board on a project. The goal currently is to utilize STM's mass storage library to write data to flash over USB. I've got the USB library working properly (...
1
vote
1answer
57 views

FAT filesytem and flash endurance

I am considering replacing a SD card in a tiny embedded system (Cortex M4 running a RTOS) by some kind of dedicated flash storage chip. However, I am worried about the chip's endurance. The embedded ...
0
votes
1answer
85 views

How to enter bootloader on a Embedded Linux System with no keyboard? [closed]

I am trying to reflash a microcontroller. An instruction in the manual states that: Power up the owa4x and press the space bar to enter the bootloader prompt Insert the uSD card with the ...
0
votes
1answer
70 views

Micron NOR unused pins have pull-ups. Any danger just leaving them there?

I have a board designed for a dual-die Micron MT25QL512 QSPI NOR flash. These parts are in short supply, but the board fabricator had some single-die MT25QL128, and used them instead. The single-die ...
0
votes
0answers
44 views

What is the actual manufacturer of the serial flash

Can not find this flash chip in any databases (e.g. this one I used before). The SO8 package has EPCS16 written on it. Altera/Intel sources flash chips they mark as EPCS from other vendors, one of ...
0
votes
1answer
41 views

Temperature and flash corruption in microcontrollers

I'm repairing quite the pricey device, where a strain gauge failed. It's a pressurized device, and the strain gauge measures the internal pressure by means of it. The crux of the matter is that the ...
0
votes
2answers
56 views

What's the right way to read ID and CFI info from flash memory chips?

Our product has flash memory chip, but we have used more than one variant. The first is a SST/Microchip one and the second is a Spansion/Cypress. To determine which type is mounted, I read the flash ...
0
votes
1answer
68 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
29 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 ...
3
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
170 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
114 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
38 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
76 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
67 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
56 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
47 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
68 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
117 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
49 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
98 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
99 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
96 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
76 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
41 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
19 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
44 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
50 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
386 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
313 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
192 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
40 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
52 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
42 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 ...

1 2 3 4 5 11