Professional Documents
Culture Documents
Introduction
Operating Systems uname -a results
Plugging in PC Card SRAM or ATA Flash
Linux Tip
PC Card Partion Information
Mounting PC Card SRAM or ATA Flash
Linux Tip
Unmount PC Card SRAM or ATA Flash
Linux Tip
Formatting/Erasing PC Card SRAM or ATA Flash
Linux Tip
Binary Image File to PC Card SRAM or ATA Flash
Binary Notes
Comparing Binary to PC Card SRAM
Manual Checksums Binary vs. PC Card SRAM or ATA Flash
View Hexadecimal of PC Card Memory Area (or Binary File Copies)
Introduction
Elan's U111-M PCMCIA PC Card reader for SRAM and ATA Flash memory devices is unique in
that the reader itself brokers all the interfacing with the PC Card and presents
itself to the host computer as a USB mass storage device. In addition to working on
The Windows platforms, the device works with various versions of BSDs and Linux.
Because of this, the U111-M allows users of Unix-like platforms to perform actions on
these cards using common command line tools that usually require specialized and
expensive software for The Windows. EverythingHerePlus hopes the document will be
helpful to those wanting to deploy the U111-M with Unix-like systems.
Xubuntu 9.04 Linux okinawa-lin 2.6.28-19-generic #64-Ubuntu SMP Wed Aug 18 21:59:08
UTC 2010 x86_64 GNU/Linux
Linux Tip
Many Linux systems log hardware events in /var/log/syslog or /var/log/kernlog
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 512 0 unused
i: 512 0 MSDOS
Hotswapping under OpenBSD requires unplugging and re-plugging the USB cable. We found
it easier to do this on the U111-M cable side rather than the host side.
Linux Tip
Typically most Linux distributions automatically mount the card like it would other
removeable media. Calling mount will display where it is.
Linux Tip
In addition to umount, you can usually eject the card using whatever file management
system is in use. In XFCE right-click eject does the trick.
Linux Tip
rds@okinawa-lin:~$ sudo mkdosfs -I /dev/sdb
Copying card contents to a binary file simply requires swapping the paths in the dd
example above.
Binary Notes
The original binary file was generated from a populated PC Card SRAM or ATA Flash
device using Elan's Memory Card Explorer (MCE) Version 3.21 on The WindowsXP. After
transfering it over the network to the OpenBSD machine, we were able to work the the
binary.
Making sure that the OpenBSD created PC Card duplicate matched the original binary
file created in MCE we ran MCE's Compare command from the Operations menu. MCE's
status line confirmed it was identical: