All Questions
Tagged with arduino-due flash
10 questions
4
votes
3
answers
6k
views
How to read/write variables persistenly on Arduino Due (no EEPROM/shield)?
I am relatively new to Arduino and I am currently writing some code to control a relay board. The on/off times are provided by the user at run-time and should be stored persistently (EEPROM or flash) ...
4
votes
1
answer
761
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
1
answer
785
views
What protocols and tools does Arduino Due use for flashing and debugging?
I am interested in writing a simple C program outside of the Arduino IDE and respective libraries, but deploying it directly to an Arduino Due (which uses a SAM3X8E ARM MCU). I am trying to figure out ...
2
votes
2
answers
489
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 stored for example on an SD card? The idea is to make it possible to update the Arduino remotely.
I tried this with a ...
1
vote
1
answer
248
views
How do I get the size of my program at runtime?
(This question is specific for the Arduino Due, but maybe there's a general answer to the question)
I'm using DueFlashStorage to store application data in the flash memory of my Arduino Due. That ...
1
vote
2
answers
443
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
2k
views
PROGMEM on Arduino Due (ARM Cortex M3)
I've been working with the PROGMEM function on my Arduino Uno and I'm thinking about changing to the bigger Arduino Due which is based on a ARM Cortex M3 processor instead of the AVR processor on the ...
1
vote
0
answers
552
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
1
answer
746
views
How to save a hex file into Arduino Flash to send it via Serial?
I have a text file with hex values formatted in the following style:
A0 3F 55 01 00 C7 55 01 00 C7 AA 29 71 11 00 0B
00 C7 AA 29 71 1F AA 29 71 11 55 01 A0 3F 55 DC
...
How can I save this data into ...
0
votes
1
answer
156
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, ...