EEPROM dump question

I was listening to Richard Feynman's The Pleasure of Finding Things Out, and I gotta say that "kick" of pleasure does indeed feel good. I say this because I was finally able to read some data off an EEPROM. Checked it using a logic analyzer that I received today and I can confirm my code works and the data received is correct.

Alright, now that I have the data, how do view it in one of those binary viewers? I could use Serial.print() and just copypaste the whole stream of bits into a text file, but what do I do next?


Personally, I'd stack an SD card shield onto my Uno and put the data into a file there. Serial.print() has too many opportunities for mangling the binary data because the serial monitor is expecting text.

If you download a serial monitor called HTERM (best one ever), you can select between Ascii, Hex, Dec, and Bin views.

You can also save the raw output to a file.

Windows: Linux:

Be sure to disconnect from the Arduino before trying to upload more code using the IDE (will fail if connected)

If you're on a Unix (Mac OS X, Linux, BSD, etc), you can also use an amazing little program called "cat" to save all received data to a file:

cat /dev/ttyUSB0 >yourfile