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.
0
votes
1answer
12 views
How do I implement a userspace bootloader on Arduino Due?
Is it possible to use a custom bootloader, that loads and executes a main program which is stored for example on SD-card? The idea is to make it possible to update the Arduino remotely.
I tried this ...
0
votes
1answer
58 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 ...
0
votes
1answer
76 views
Cheap 2-5mb memory to use with arduino
I'm looking for a storage solution for small files that would be moved into a small sensor running arduino-like processor.
Ideally the single memory unit would be cheap (in 1-10 cents range), but the ...
0
votes
2answers
26 views
Storing data (strings) if ethernet fails to send it
Flow goes something like:
Read sensors
Send data
If send fails store the data in eeprom/flash/sd
If sent check if any previous ones have failed and send those
So my question is what's the best ...
3
votes
2answers
242 views
What are the FLASH_ARRAY/FLASH_TABLE macros in this code?
In this code for heating monitor, there appears to be macros called FLASH_ARRAY and FLASH_TABLE. I can't find any reference to them either in this code, Arduino, or on the Internet. What do they do?
...
1
vote
2answers
398 views
PROGMEM: do I have to copy data from flash to RAM for reading?
I have got some difficulties understanding the memory management.
Arduino documentation says, it is possible to keep constants like strings or whatever I don't want to change during runtime in ...
1
vote
1answer
113 views
What is the capability of AVRISP and USBASP on ATMega48, 328, 2560?
For use with ATMega 48 (old Arduino?), 328 (UNO, Pro Mini) and 2560 (Mega2560) chips, what is the capability for the AVRISP and USBASP programmers on:
Can it read, write fuse?
Can it read, write ...
3
votes
2answers
681 views
Is it possible to run a binary from EEPROM?
Say I wrote a compiled sketch to EEPROM then read it. Could I run the program from EEPROM? I guess the question is: Can an Arduino run software not in flash memory in the middle of executing the ...
1
vote
3answers
253 views
What happens to the sketch / memory when Arduino is powered off?
I have my Arduino Uno connected to the PC via USB when prototyping. I am developing a thermometer with memory, using DS18B20 sensors.
When PC is shut down, there is no power on the USB and the ...
0
votes
1answer
56 views
question about progmem
Hi I have a problem understanding the following code
we have a PROGMEM prog_uint16_t x={1232,3232,43343};
rawlen = pgm_read_word_near(x);
memcpy_P(uSendBuff, pfSendBuff+1, rawlen * ...
1
vote
1answer
130 views
Error building Arduino WiShield Flash example: 'dflash' was not declared in this scope
I'm using WiShield library from: https://github.com/jcmuller/WiShield
What is wrong with this library?
The code:
/*
* Web Server using Flash
*
* A simple web server example using the WiShield ...
6
votes
2answers
4k 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 ...
4
votes
4answers
724 views
Where can I find out how to make a hex file for arduino firmware?
I have followed this tutorial on flashing my Arduino R3 to turn it into a "USB keyboard", but the article doesn't explain how the hex works, it's just for granted. Where can I learn about how to make ...
10
votes
4answers
9k views
What can I do if I run out of Flash memory or SRAM?
According to the Arduino documentation, the ATmega328 has 32KB of Flash memory for the bootloader + uploaded sketch, and only 2KB SRAM for runtime data. The ATmega2560 has quite a bit more, totalling ...