We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Flash String Helper object as variable

So I have a Bunch of commonly used char arrays to build commands in my library. So to preserve memory, I have them put into flash, via PROGMEM ext, typedef const char PROGMEM ProgChar; ProgChar AT[] =...
2
votes
0answers
2k views

ESP-01 not running custom firmware

I have two esp-01 micro controllers that I'm trying to flash using the Arduino IDE but found some problems in the process. I followed step 1 of this tutorial to install all the dependencies to the IDE....
2
votes
0answers
260 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
2
votes
0answers
367 views

Flash Arduino Due via UART

I would like to write code in Arduino language, compile it in the Arduino IDE, grab the resulting binary code, and flash it to the Due via the TX/RX UART pins, bypassing both the USB Programming Port ...
2
votes
1answer
736 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but I am experiencing problems when I attempt to upload an sketch via USB in Arduino IDE. Here is how I program the Arduino Micro: avrdude -c ...
1
vote
0answers
655 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
0answers
68 views

Erasing all flash on boards with over 64kb of program memory

I'm using a Mega2560 board. My project needs to store some large constant data. To preserve the first 64kb flash chunk, I write these data on addresses beyond this limit. But there is either an ...
1
vote
0answers
104 views

In-application programming for the Arduino Uno

I would like to know if it is possible to read from and write to the microcontroller's (Arduino Uno's ATmega328P) flash memory using a program or "bootloader" previously stored in the flash memory (or ...
1
vote
1answer
689 views

ESP8266 stuck in flash mode?

I have the setup described here: https://learn.adafruit.com/esp8266-temperature-slash-humidity-webserver/wiring I currently have the reset pin set to float and the GPIO0 pin grounded, which should ...
0
votes
0answers
50 views

Program uploads, but outputs flash reading error?

I'm new to Arduino, and I recently got 3 off-brand Nanos, and soldered pins for all three. Initially, none worked (I always received avrdude's errors when uploading). Based on my research, I ...
0
votes
1answer
59 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?
0
votes
1answer
54 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 ...
0
votes
0answers
102 views

Create file with timestamp

I have a code which creates a file then store relevant data. My first purpose was creating then rewriting (delete & write again) with same filename. However, now I have to log different data to ...
0
votes
1answer
110 views

Usbasp Arduino Uno Bootloader Flash Error - Win 10

I'm trying to flash an Arduino Uno using usbasp but i'm getting the following error,I have checked all the connection and voltage using multimeter but still this error: Arduino: 1.8.8 (Windows 10), ...
0
votes
0answers
136 views

Reasons Flash Page is Locked Due

Using the Arduino Due on a project, I have found that I commonly run into the issue Flash Page is Locked when attempting to upload. I have used the library write functions of DueFlashStorage that ...
0
votes
1answer
40 views

Using ESP8266-01 via Arduino(no flash) without AT commands(using serial monitor)

I'm trying to build a smart Keychain using Arduino uno wifi(org, so Im using it like it's Arduino uno), ESP8266-01 And neo6m GPS device. My esp8266 wasn't new, and it came without AT firmware. I ...
0
votes
0answers
77 views

Understanding flashing with bash in Ubuntu

I am following the instruction from this DIY tutorial to set up the firmware for my dust sensor on Arduino board (NodeMCU): https://luftdaten.info/en/construction-manual/#feinstaubsensor-konfiguration ...
0
votes
1answer
161 views

samd21 linking, change the base addresse from the default

I'm working on creating a safe firmware upgrade for my adafruit feather m0. I understand from my CTO that wrote the previous upgrade that for either samd21 or all arm m0 (not sure which) the compiler ...
0
votes
1answer
145 views

How to upload sketch from flash memory of nodemcu-V1.0?

I'm working with esp8266 nodemcu-v1.0 .Now we are using OTA but the module may be disconnected from wifi so we need to use 2G by GSM Module(using beside nodemcu) to receive our new sketch to be ...
0
votes
0answers
171 views

Standalone Programmer

I am trying to make my small stand-allone programmer to work using this code: https://github.com/adafruit/Standalone-Arduino-AVR-ISP-programmer But when I hookup everything and press button to flash ...
0
votes
0answers
81 views

Dataflash SPI Flash chip shared programming SPI pins

I have an ATTINY841 that is utilizing a Dataflash SPI flash chip (AT45DB011D). The SPI pins are connected to the same pins used for programming the ATTINY841. When I program the ATTINY841, I find ...
0
votes
0answers
32 views

Split flash Arduino nano

I need to update the firmware over-the-air for Arduino nano. For that I need to split the flash into two so that one of the partition that contains the original code cannot be erased while re-flashing ...
0
votes
0answers
393 views

Writing to flash Attiny 85

I set a project-goal for me: to make a very small compiler in Attiny.This compiler should read the code from user and translate it into code;then save it in some portion of the flash and jump there. I ...
-1
votes
1answer
78 views

Files to YUN flash?

Is there a directory where, if I put files there, they will be on the Yun's internal flash instead of the SD card? ex. No SD card error handler file. I'm using openssh-sftp-server for a sftp server, ...
-1
votes
2answers
1k views

getting “ .error: failed sending 1116 bytes warning: espcomm_send_command: didn't receive command response”

I'm getting error while uploading sketch into nodemcu ch340g as shown below I have tried these things to rectify the error 1) Changed usb cable 2) changed the port 3) flashed the firmware with ...