flash-memory Questions
3
Solved
I am writing an Android application which writes data to a file several times a second, the overall file size is around 1MB, after that file gets erased and new file started. Should I be concerned ...
Strobel asked 31/10, 2012 at 13:48
1
I am facing the following problem. I am programming an ARM cortex M4 micro controller and I would like it to have a default value for IP address, netmask, gateway and so on. This default values sho...
Binoculars asked 12/10, 2016 at 15:24
1
Solved
I wrote a firmware to run our ESP32-based custom PCB.
The firmware holds a unique S/N (serial number) in the NVS thru Preferences API which is set thru the bluetooth app I wrote.
But now I have to ...
Imprinting asked 3/10, 2022 at 14:56
3
Solved
I'm trying to write to internal flash of STM32F1xxC (2KB per page), I can write to flash after a page erase, which converts every byte of that page to 0xFF.
It's very strange that I can not write ...
Hennebery asked 27/3, 2016 at 5:53
2
Solved
So I can't write to internal flash memory directly after erasing it. If there's no erase operation before write operation, then I can. Any ideas as to why?
Programming function returns 'successful...
Frond asked 13/2, 2015 at 11:5
2
Solved
I'm developing a C++ application in the ESP32-DevKitC board where I sense acceleration from an accelerometer. The application goal is to store the accelerometer data until storage is full and then ...
Pyonephritis asked 7/9, 2020 at 15:57
2
Solved
I'm trying to erase a NOR Flash memory with Linux MTD driver in C...
I'm confused about the return status from the ioctl(MEMUNLOCK) call which returns an error even if ioctl(MEMERASE) is successfu...
Uturn asked 31/10, 2013 at 12:28
2
I want to write a variable, for example an integer with the number 5 to the FLASH and then after the power goes away and the device is turned on again read it.
I already know that in order to wri...
O asked 8/6, 2017 at 18:59
2
Solved
I want to write some text into the flash memory of an Arduino ESP32. It works kinda but not as I want it to.
void writeString(const char* toStore, int startAddr) {
int i = 0;
for (; i < LENGT...
Geminian asked 14/5, 2019 at 22:54
1
Solved
I want to write to flash Sector 11 of STM32F407VGT from my user code to store some data. I have used the stm32f4xx_hal_flash.c library. I first erase the sector using this code:
void Flash_Init(vo...
Afrit asked 12/1, 2019 at 12:58
2
Solved
I am using an stm32f40x microcontroller (UC), and I have to use its internal flash to store some data. The write operation, as you know, is very slow and occupies the UC for very long time. So I th...
Melton asked 12/10, 2018 at 6:57
1
Solved
I am trying to emulate EEPROM on stm32f0. There is an application note provided by STM.
In the sample main.c,
int main(void)
{
/*!< At this stage the microcontroller clock setting is already ...
Chatwin asked 23/5, 2016 at 9:33
1
I cannot find a way to figure out which ubi device is attached to which mtd device. For instance, ubi0 can be attached to mtd1 and ubi1 to mtd0.
Does anyone know a way to figure out which is conne...
Leucoplast asked 1/10, 2015 at 21:24
1
Solved
I'm trying to use the internal flash of an STM32F405 to store a bunch of user settable bytes that remain after rebooting.
I'm using:
uint8_t userConfig[64] __attribute__((at(0x0800C000)));
to a...
Cimbri asked 13/2, 2015 at 16:9
2
Solved
We are using MT29F8G08ABABA in our DM365 based custom board.
We are using NAND boot.
RootFS is in UBIFS format,
Below is basic achitecture of the NAND.
I am using following commands to create ub...
Eteocles asked 4/1, 2014 at 6:45
1
I have successfully backed up my SD card twice by issuing the following command
sudo dd if=/dev/sdb of=/home/user/Documents/raspi/images/raspi1.v2.iso bs=1M
However, now it is giving me the foll...
Undervest asked 19/10, 2013 at 19:28
5
Solved
I am new at embedded system programming. I am working on a device that uses an 8051 chipset. I have noticed in the sample programs that when defining variables, sometimes they use the keyword xdata...
Collar asked 11/1, 2010 at 18:23
1
Solved
I'm trying to write on a NAND flash memory using MTD block device but I don't understand everything.
As I read here
mtdblockN is the read only block device N
mtdN is the read/write char device N...
Altorelievo asked 11/3, 2013 at 10:28
1
Solved
Preface: This question is about a project I am working on with a professor at my university. It is NOT for a grade, but my reputation with this professor does matter. So while my success on this pr...
Grattan asked 20/10, 2010 at 18:9
3
Solved
I am working on an embedded application that uses NAND flash for storage.
As it looks now, we won't use Linux or any other RTOS. The application must handle unexpected power downs.
We have been l...
Amblyoscope asked 18/3, 2009 at 9:48
6
Solved
I'm trying to develop an alarm history structure to be stored in non-volatile flash memory. Flash memory has a limited number of write cycles so I need a way to add records to the structure without...
Page asked 18/11, 2009 at 19:40
5
Solved
I need to store items of varying length in a circular queue in a flash chip. Each item will have its encapsulation so I can figure out how big it is and where the next item begins. When there are e...
Jame asked 3/11, 2009 at 18:25
1
© 2022 - 2024 — McMap. All rights reserved.