Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
09.02.2010 at 19:39:00
News: Server upgrade went fine, you are now at the new system


Pages: 1
eeprom download to Mac (Read 4002 times)
bdacosta
YaBB Newbies
*
Offline



Posts: 5

eeprom download to Mac
07.07.2007 at 08:48:43
 
hey,
i need to download data stored on the atmega eeprom into a tex tfile on my PC (macintosh). Any advice?
thanks
b.
Back to top
 
 
View Profile   IP Logged
kg4wsv
God Member
*****
Offline



Posts: 1904

Re: eeprom download to Mac
Reply #1 - 07.07.2007 at 14:16:57
 
Write a program to read the eeprom and write it to the serial port.  EEPROM doesn't get mondified when you download new programs.  There's only 512 bytes of EEPROM, so just copy and paste it into a text file.

If the contents of the EEPROM are binary it'll take a bit more work.

If you have a programmer I'm pretty sure it can be used to download the EEPROM.

Tell us a bit more about what you're trying to accomplish and maybe the answers can be more helpful.

-j
Back to top
 
 
View Profile   IP Logged
bdacosta
YaBB Newbies
*
Offline



Posts: 5

Re: eeprom download to Mac
Reply #2 - 07.07.2007 at 21:40:33
 
hey,
thanks. well, i guess I am not sure how to get any data out of the arduino IDE + serial monitor to my harddrive. in the end I'll need a textfile containing sensor data collected + stored on internal eeprom. let me look into it more, maybe the problem will just solve itself.
thanks again,
b.
Back to top
 
 
View Profile   IP Logged
kg4wsv
God Member
*****
Offline



Posts: 1904

Re: eeprom download to Mac
Reply #3 - 07.07.2007 at 23:53:47
 
Just use serial.print and the data will show up in the Arduino serial monitor.  Copy and paste into a text (or other) file.

complexity goes up from there.

-j
Back to top
 
 
View Profile   IP Logged
bdacosta
YaBB Newbies
*
Offline



Posts: 5

Re: eeprom download to Mac
Reply #4 - 08.07.2007 at 02:24:53
 
well I guess thats nice emergency solution, lets hope I can come up with something a little more elegant than that Smiley.
thanks.
b.

Back to top
 
 
View Profile   IP Logged
mellis
YaBB Administrator
*****
Offline



Posts: 3006
Cambridge, MA
Re: eeprom download to Mac
Reply #5 - 08.07.2007 at 03:49:20
 
What do you want to do with the data once you've got it in a text file?  If you just want to store it for future reference, you could write a small Processing sketch to read from the serial port and write to a file.
Back to top
 
 
View Profile | WWW   IP Logged
bdacosta
YaBB Newbies
*
Offline



Posts: 5

Re: eeprom download to Mac
Reply #6 - 08.07.2007 at 21:20:42
 
ah, didn't think of processing. i thought I might just write it in a general c compiler. one thing I have to figure out is the Uart usage. i am receiving GPS data through the Uart, so I can't receive a prosessing/c command at the same time. i guess i just need to physically disconnect the GPS unit.
Back to top
 
 
View Profile   IP Logged
woo_oow
YaBB Newbies
*
Offline

shrz

Posts: 37

Re: eeprom download to Mac
Reply #7 - 09.07.2007 at 15:30:28
 
what about using the softwareserial to be able to communicate with GPS and the computer same time?
Back to top
 
 
View Profile   IP Logged
bigengineer
Full Member
***
Offline



Posts: 182

Re: eeprom download to Mac
Reply #8 - 09.07.2007 at 20:03:01
 
What about an example to get you started?
Back to top
 
 
View Profile   IP Logged
Pages: 1