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
2
answers
548
views
How .data + .text section can be = How much flash the final program will consume
I could not understand one point related with Arduino code.
Let's say i have following code
void setup()
{
Serial.begin(9600);
Serial.println("foo");
}
void loop()
{
}
When i ...
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
2
answers
517
views
Is there a good reference for Arduino Due memory architecture and usage?
It's been harder than I expected to find a reference source or usage guide.
There's a number of sources I've looked at along the road to this question:
The Due is listed here and here as having 512KB ...
1
vote
1
answer
287
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 ...
-1
votes
1
answer
1k
views
ESP8266 module ESP-12F does not connect to esptool.py
I have bought some blank ESP-12F modules like this: https://www.aliexpress.com/item/1005001520382593.html
For these modules I have made my own adapter PCB to connect them, but now I don't get any ...
1
vote
0
answers
723
views
Arduino Mega as a EEPROM Programmer for Winbond W29EE011 memories
I'm trying to use my Arduino Mega as an EEPROM memory writer. For this project, besides my Arduino Mega, I use an SD Card module, an LCD display and two push buttons to handle the events. Inside the ...
2
votes
0
answers
130
views
Reading and writing to GD25B32CPIG flash memory
I recently removed a GD25B32CPIG flash memory chip from a commercial coin-operated arcade game. Apparently it has all the game's sounds stored directly on the chip. I decided to see if I can learn to ...
3
votes
3
answers
2k
views
Arduino Nano 33 BLE - use of flash to store data; how to expand a piece of sample code
I've been looking into how to store data in between restarts. With an Arduino UNO, there are plenty of EEPROM libraries, but I'm not finding something 'off the rack' for the Arduino Nano 33 BLE.
I ...
1
vote
1
answer
157
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 ...
1
vote
0
answers
326
views
How can we remove unused feature in Arduino's standard SD library so we can reduce the sketch size?
With the ReadWrite example in Arduino IDE, the sketch size is 10980 bytes (34%) of an Arduino UNO's storage. How can we reduce the sketch size? There isn't any kind of #define to turn on/off features ...
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
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 ...
0
votes
1
answer
658
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
361
views
How are locations in FLASH memory addressed?
There is an external FLASH memory (W25Q80DV) that I want to use with the Arduino.
This memory has 4096 pages of 256 bytes each.
I want to make multiple writes per page to use memory evenly and erase ...
1
vote
0
answers
90
views
Is there a way for an Arduino to flash another one without a computer?
I am going to create a game console. The games will be in an SD card and an Arduino (or an Atmega chip) will read a hex file's contents to RAM and will flash it to another one. Something like this but ...
0
votes
1
answer
250
views
Writing to flash memory fails with Optiboot
I am having some issue writing to flash memory on Arduino Uno.
I burned the optiboot bootloader that ships with the IDE 1.8.3 to the chip, then uploaded the test_dospm sketch to write content to ...
0
votes
1
answer
1k
views
esp8266 OTA issue
I have uploaded the BasicOTA sketch in Esp8266-12e.
I am written one program, when i try to upload it first time in Esp using the OTA port it gets uploaded successfully, but when i try to upload any ...
0
votes
2
answers
275
views
Is possible use Macro F() with Integer and Other types of variable?
i have a sketch that is using very memory RAM of my Atmega2560 (is a giant project), and i need use various "println" because i have a TFT screen and i need to show data on the screen to user see. So, ...
0
votes
1
answer
184
views
Porting "far" flash memory access from Arduino Mega to Due
I have a project that runs on the Arduino Mega 2560 which takes up almost the complete amount of flash memory available (https://github.com/fredlcore/bsb_lan/blob/master/BSB_lan.ino). Because of this, ...
2
votes
2
answers
1k
views
EEPROM.get returns bad data
I am using the attached code.
What I am trying to do is:
Test if there is a personalized "board serial number" written in the EEPROM (by previous code run)
If data found was not 7 characters (e.g SN-...
3
votes
2
answers
3k
views
ESP8266 seems to be bricked , how to recover?
In a part of my sketch I put by mistake
pinMode(7,INPUT_PULLUP);
Which is dedicated pin for external flash chip (gpio7/SDIO_DATA_0/SPI_MISO) that not supposed to use for sketch. after uploading ...
-1
votes
1
answer
810
views
How do I set up an ATTiny861A-PU for flashing with Arduino Uno?
I have found instructions for 8 pin Tiny but none for my 20 pin. How do I set this chip up on the breadboard for bootloading with Arduino?
-1
votes
1
answer
622
views
esp8266 esp01s EEPROM and flashing
which flash option do I need to take to use EEPROM?
Can I flash with 1MB and no SPIFFs and still write data to EEPROM?
thanks T