Pages: [1]   Go Down
Author Topic: Upload/download of EEPROM  (Read 996 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Full Member
***
Karma: 2
Posts: 110
Kittens eat Arduinos
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like the IDE to support upload and download of the EEPROM contents..

It could be done by
) installation of a utility sketch
) extending boot-loader functionality

Otherwise, I **think** the process of getting EEPROM data out of Arduino is OS specific and awkward.

Anticipated uses:
>Storing configuration in EEPROM -  and a maintenance utility for config.
>Retrieval of data logged in EEPROM.

I think the simplest IDE interface would be read/write named files?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17261
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that would be a great idea.

Lefty
Logged

Offline Offline
Edison Member
*
Karma: 3
Posts: 1001
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
... extending boot-loader functionality
The current bootloader supports both reading from and writing to EEPROM through the STK500 protocol. Avrdude has an interactive mode that does a half-decent (DOS like) interface for reading/writing eeprom (screen or file) which is quite useful if needed.

The Arduino IDE will aslo produce an EEPROM image when you compile a sketch with EEPROM tagged data. Upload of this image however is manual.

So the tools are there if you learn to use them, but it most certainly would not hurt with an IDE integrated viewer/upload/download extension (e.g. graphical).
Logged

UK
Offline Offline
Full Member
***
Karma: 2
Posts: 110
Kittens eat Arduinos
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am of to play with what is there now smiley
thanks for the pointers
Logged

UK
Offline Offline
Full Member
***
Karma: 2
Posts: 110
Kittens eat Arduinos
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have had a frustrating play with the Arduino GUI,
I found EEMEM mentioned in the forum as being supported in v13 and I am using v18 so I had high hopes, but no joy when I tried it.
The compiler sees EEMEM as an identifier, not a memory modifier like 'static'.
There is no mention on arduino.cc of EEMEM outside the forums and a playground request that it be fixed smiley-sad.

Found doc for PROGMEM and tried that (including avr/pgmspace.h as specified) and have the same issue.

Search the arduino-018 installation for EEMEM/ mentioned only in readme.txt.
Search for PROGEM, mentioned in HTML and bootloaders, tone.cpp, pins_arduio.[c,h] and Tone.cpp.  

I guess something is broken:(
I suspect compiler issue/ but this version is ok [based on google search]
avr-gcc --version
avr-gcc (GCC) 4.3.2

What have I missed ?


Of to play with avrdude for a bit.
Logged

Pages: [1]   Go Up
Jump to: