Questions tagged [flash]
Flash memory is a type of memory available on the Arduino boards. It can be accessed from a program using PROGMEM directive to store data. For questions about using and accessing flash memory, use this tag.
125 questions
1
vote
1
answer
493
views
ESP32-CAM infinite boot loop
I am currently using an ESP32-CAM with an OV5460 camera, and I am interfacing it with my computer using an Arduino Nano. I am trying to run a camera web server using the Arduino example code. I have ...
0
votes
1
answer
356
views
Attempt to change an ESP8266's flashs layout over-the-air
Backstory
Several Tasmota devices based on an ESP8285 have to be flashed with alien firmware. The devices' programming ports are not accessible (except for one dummy device which was cracked open for ...
2
votes
0
answers
215
views
Can't flash my nodemcu esp8266
I wanted to flash my Nodemcu esp8266 v3.4 with esp8266 deauther code: script-github.
I did everything said. First I plugged in my nodemcu. Windows detected it and drivers for ch340 where already ...
2
votes
1
answer
132
views
Micropython installation on Arduino nano
I am currently trying to use micropython on an arduino Nano 33 BLE using MacOS. Following the instructions from arduino website I was able to complete steps 1-3. At step 4, I can find the bossac file ...
3
votes
3
answers
3k
views
Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?
In STM32 microcontrollers it is possible to use a technique that ST calls IAP, or In-Application Programming, in order to write to the Flash memory from your running application. They even have a nice ...
5
votes
3
answers
4k
views
Set EEPROM from PC before program
I have been working on an arduino program, which has gotten rather large. I am close to hitting the 32k limit on Flash for my ATmega328p. I would like lower my program size by saving some of my many ...
1
vote
1
answer
591
views
Arduino Nano IOT33 - Using flash
I'm looking for a way to store data on flash as on ESP8266 or ESP32 using FS.h, LITTLEFS.h but it fails.
Is is possible on Nano IOT33 ?
1
vote
1
answer
288
views
Reading & writing a configuration file on an Adafruit Circuit Playground Express
I would like to store an application's configuration in a file stored on the Circuit Playground Express (CPX) flash. The application itself needs to be able to update the configuration file. Things I ...
5
votes
4
answers
1k
views
How can a function/method determine if a const array passed in is PROGMEM (flash) or not (RAM)?
Is it possible for a function/method to know if a constant array that has been passed in is in flash or RAM?
If I have a method or function that receives a constant array that is in RAM, the array is ...
1
vote
1
answer
1k
views
25Q128 flash and garbage data over SPI
I have a logic analyzer coming in the mail, but thought I might ask for help here first.
I soldered the 25Q128 flash onto an adapter and wired it up to an Arduino UNO clone as you can see in the ...
1
vote
0
answers
68
views
How to prevent the application code from getting stuck in forever loop when using SerialFlash library in Arduino-Adafruit framework
I have been working on a project that runs on Adafruit's Bluefruit nRF52 board. I used the SerialFlash library for Arduino provided by Paul Stoffregen: https://github.com/PaulStoffregen/SerialFlash....
1
vote
1
answer
2k
views
ESP32: best way to embed certificates
I'm using the Arduino framework on an ESP32 based board. The board has an SD card slot, but I'm not going to use it.
Anyway, I need to store somewhere the certificates. To the the firmware I've just ...
15
votes
6
answers
72k
views
How do I erase the memory of the Arduino Uno?
I'm just a tinkerer learning Arduino with my son and I was surprised that when I plugged the USB cord back in to the Arduino the program was still running and I thought to myself, "it's a good thing I ...
1
vote
0
answers
266
views
Fatal exception preventing flashing ESP8266 ESP-01
My issue arose when attempting to flash several of my ESP8266 ESP-01 module (https://www.aliexpress.com/item/33010444450.html?spm=a2g0s.9042311.0.0.27424c4dNkKYQZ). In the past and with the first chip ...
3
votes
1
answer
341
views
Extend program space by getting rid of bootloader on NANO
I just have a complex program that runs on a NANO. Now when I use my printlns for debugging I am running out of memory.
I read about using a programmer to get rid of the bootloader that uses 2K space ...
2
votes
0
answers
653
views
How to adjust Partition Scheme Wemos D1 mini pro?
I bought myself a WEMOS D1 mini PRO (16MB) for creating a quite large project.
As I'm writing code, my memory is starting to grow.
When I looked at the Flash size in Arduino IDE, the only options I ...
0
votes
1
answer
241
views
Memory usage in AnalogBinLogger of SdFat library
The AnalogBinLogger.ino file of SdFat library says the following:
Each 512 byte data block in the file has a four byte header followed by up to 508 bytes of data. (508 values in 8-bit mode or 254 ...
2
votes
1
answer
333
views
Arduino does not boot when SPI lines are loaded
i connected an Arduino Nano to an external SPI Flash using THIS tutorial (russian) and the SPIMemory library. While accessing the Flash works well, i have encountered the following issue:
The Problem: ...
0
votes
1
answer
661
views
External RAM (23LC1024) and external Flash (W25Q64JVSSIQ) with Sparkfun SAMD21
i'm trying to extend the capabilities of the Sparkfun SAMD21. My question is, which pins do I have to share? I mean, I understand that MISO, MOSI and SCK are shared, but CS connects each to a ...
0
votes
1
answer
538
views
Erasing 1 byte of external Flash memory (winbond)
i'm trying to use an external flash memory Winbond 25q64jvsiq for my Arduino Nano based project for audio recording purposes, to have extra memory for recording 1 byte audio samples, since Arduino ...
1
vote
1
answer
158
views
Node MCU not functioning correctly
i have a node mcu and i uploaded one example code to test it for rf signal decoding it worked. so after that i have written a code based on that and when i uploaded the code my node MCU suddenly isn't ...
3
votes
2
answers
3k
views
Arduino EEPROM retains old data after flashing with a new program
I have a custom 5V 16Mhz Arduino Uno (a breadboard Uno of sorts) that runs the grbl firmware. After the initial flashing I can see all the settings (through the serial monitor) and everything works. ...
0
votes
0
answers
6k
views
Send file from ESP to server via FTP
I've a code which records sound to SD, then starts an FTP connection for a limited time. I want to make an automatic system which records then sends the sound file continuously. Now I'm recording ...
1
vote
2
answers
2k
views
How fast is flash reading compared to SRAM?
I'm working on a project that will eventually scale to 864 LEDs on WS2815 LED strips (three rows of 288 LEDs). I'm currently running it on an Arduino Uno with a single test strip of 144 LEDs.
FastLED ...
0
votes
0
answers
901
views
SPIFFS image does not fit in flash (offset 108MB)
I'm trying to upload an empty SPIFFS image to my ESP32's flash memory via the ESP32 sketch data uploader but I'm getting the following error:
[SPIFFS] data : /path/to/my/data
[SPIFFS] start : ...