SD FLASH TO RS232 ADAPTER PRODUCT BRIEF (C) MVS 2006 DESCRIPTION ----------- The SD1 (single) and SD2 (dual) are SD FLASH to RS232 adapters that allow any controller with a serial port to read and write PC compatible SD cards. Small size makes a perfect match for MVS Single Chip Computers, MVS Tiny PC, and Parallax Stamp. MVS also produces other types of FLASH card adapters for IDE cable (PCD1), ISA bus (PCD1a), or PC104 bus (PCD1b). In addition to the FLASH card interface the SD2 has a "Stamp Expander" feature with 16 general purpose TTL compatible I/O pins which can be controlled over the serial port. 8 of these pins (PA0-7) can be re-configured as 12 bit high speed Analog-to-Digital-Converter inputs. Unlike competitive units the SD1/2 will access any card format including LINUX and NTFS. Reading and writing is accomplished via simple user friendly ASCII commands. These are easy to produce from a standard comm terminal for demo/debug and can be efficiently sent from small micros like PIC or AVR that have limited memory. Only 3 commands are needed: INIT, READ, and WRITE (i,r,w). MVS PLUG-N-GO means the card can be plugged into a PC for testing and works right away. The PC is used for power and download. No costly development kits, cables, or power supplies! Single-wire Multi-drop Long-distance Network (SMPLNET) is available allowing many modules to stack efficiently and talk on one wire. A standard PC RS232 port can also share the wire. TRIAL RUN --------- First do a full format on a PC that has a FLASH card slot and copy BIG.TXT to it. Insert it into the SD1/2 which is then plugged into PC COM1 (3f8h). Run MVTERM from DOS or HYPERTERM from WINDOWS at 9600 with flow ctl=none then connect 5v from a USB or floppy power cable to the SD1/2 DB9 or DIP pins. The LED flashes and version and FLASH card parameters are displayed. Hit "`" (reverse apostrophe, 60h, 96dec) and "r". The SD1/2 will send a 512 byt sector of data to the PC. Hit "`r" again to see the next etc.. To test the write function first initialize and enter write mode with "`i`w" then send 512 characters. This is easily done by typing in a small message then holding down a repeating key for a couple of minutes letting typematic fill in the rest. At least 512 must be entered but extra byts beyond that are ignored. A ">" completion character is returned when the sector is full. To see the new data using the SD1/2 hit "`i`r". On a PC with a FLASH card slot you can find the new data in the file with FC.EXE or WINDOWS NOTEPAD. You can also use an EXCEL type file instead of BIG.TXT. PHYSICAL -------- 1.1"x2.25"x.5" (not including DB/SD) ,--------, | DB9 | ,-----' '--, | o 1 o| 2-56 mtg holes | : : | | . . | | | | | top view -passive component side | . . | (DIP pins and ICs on other side) | . . | | o: :o| | | | | ||||||| | | | | (c) mvs 2005 | '-----------------' | ,----------, | '-' '-' | | | SD | | card | '------------' DIP CONN (Stamp compatible pinout) -------- 1 TX 24 nc 2 RX 23 GND 3 ATN 22 key 4 GND 21 +5v @4ma 5 port PC7 20 port PA0 (ADC0) 6 port PC6 19 port PA1 (ADC1) 7 port PC5 18 port PA2 (ADC2) 8 port PC4 17 port PA3 (ADC3) 9 port PC3 16 port PA4 (ADC4) 10 port PC2 15 port PA5 (ADC5) 11 port PC1 14 port PA6 (ADC6) 12 port PC0 13 port PA7 (ADC7) DB9 SERIAL CONN --------------- 2 TX1 Transmit output (direct to PC RX, no MAX232 etc. required) 3 RX1 Receive input (from PC TX) 4 +5V @4MA 5 GND Common ground LIMITED WARRANTY ---------------- MVS repairs free of charge products suffering from manufacturing defects for a period of 5 years. This will be done only if it has been determined by MVS that the product has not been misused (improper voltages, physical alteration, etc.). Otherwise a minimum service charge is required. In either case it is necessary to contact MVS with invoice handy for a Returned Merchandise Authorization (RMA) number before shipping the unit.