Memory Testers RAMCHECK SIMCHECK II Tech Support Introduction Manuals Software Downloads FAQ Calibration & Upgrades SIMCHECK II Upgrade to RAMCHECK Application Notes Development Logs Service & RMA Policy News Releases Links Site Map Home Contact us at (281) 879-6226 sales@innoventions.com |
SIMCHECK II/RAMCHECK SERIAL INTERFACE PROTOCOLThis application note discloses partial information regarding the RAMCHECK or SIMCHECK II Serial Interface Protocol. This information should be sufficient for advanced users wishing to implement their own computer interface program. The information may also be used for serial interface troubleshooting. Since RAMCHECK protocol is identical to SIMCHECK II (except fater baud rate), any reference to SIMCHECK in this document applies for both units.
SERIAL COMMUNICATION SETUPSIMCHECK II: The serial communication setup is 19,200 Baud, 8 data bits, 1 stop bit, and no parity. RAMCHECK: The serial communication setup is 38,400 Baud, 8 data bits, 1 stop bit, and no parity. The 9-pin D-SUB serial connector for both RAMCHECK and SIMCHECK II uses pin 2 as Transmit, pin 3 as Receive, and pin 5 as Ground. NO OTHER PIN IS USED. The serial cable supplied with the unit has straight connections (pin 1 to pin1, pin 2 to pin 2, etc.). THE PC COMMUNICATIONS DIAGNOSTICS TOOLThe PC Communications program for both RAMCHECK and SIMCHECK II includes a communications diagnostic tool, which allows you to view the serial streams between the PC and the tester, as well as sent characters stream to the tester in accordance with this document. The Communications Diagnostics can be activated from the RAMCHECK/SIMCHECK menu, or using the associated speed button. Protocol OverviewThe main design constraint of the Serial Protocol was to avoid any task overhead on the SIMCHECK II/RAMCHECK main memory test routines, in order to retain the stand-alone advantage of our architecture. Therefore it is implemented with short communication streams (typically 4 to 6 characters) from the PC to SIMCHECK. All lengthy communications of test results from SIMCHECK II to the PC are made only between test subroutines. The second design constraint of the Serial Protocol was to create a loose, non-time-critical communication between SIMCHECK and the PC in order to retain SIMCHECK full independence. Also, the memory test will not be interrupted even if communication is lost (or intentionally ignored) for some time. The only result of communication being lost will be a gap in the PC Test Log data. You will find this feature to be very useful in simplifying your own interface program! SERIAL INTERFACE PROTOCOL (partial disclosure)NOTATIONAll character streams are denoted within a pair of quotation marks, like this "[r0". The quotation marks are NOT PART of the protocol. All characters are in standard ASCII presentation. Individual character (byte) values, which are cumbersome in ASCII, are written between '<' and '>' markers like "[t<07>". In this example, a byte equal to 122 is transmitted after the letter 't'. A <cr> is the carriage return character (=13). A <variable 1> is a variable value between 0 and 255. We use the h notation for hexadecimal numbers, for example 23fh. General Stream Format All the Realtime Interface streams between PC and SIMCHECK II must start with the character '[' or '{'. Thus, your own program may safely ignore all the streams which do not include the '[' or '{' prefix. PC TO SIMCHECK COMMANDS Upon turn on, the SIMCHECK II serial channel is inactive. The PC turns it on by sending any command. From that point, SIMCHECK II will send various data via the serial interface. Your custom PC does not need to respond to these commands. The following table outlines the most useful commands from the PC program (which you may create) to SIMCHECK II.
Note: the jump-to command will be changed in future versions of SIMCHECK II as we add more test phases.SIMCHECK TO PC DATA STREAMSSIMCHECK Test Log Data SIMCHECK II provides test results to the PC in strings of plain text (with a special header) which are placed in the PC Test Log by our standard Realtime Interface. It should be very easy for your program to intercept these messages which, in effect, contain all the test results. The format of such a test log data stream is as follows: "[l<length>ACTUAL SIMCHECK TEST RESULT IN PLAIN ENGLISH<cr>" The header portion is "[l<length>..." where length is the number of characters in the current message. The message terminates with a carriage return. The message may contain several lines of characters; each terminated with a null character (equal to 0). We use short lines in order to conform to the 20 character per line limit of the SIMCHECK II's LCD display. Your program can decode the lines differently. SIMCHECK Short Message Streams SIMCHECK II also sends several short messages that provide Speed, Cycle Time and Voltage information to the graphic meter portion of our standard Realtime Interface program. The following table provides some listing of these messages:
Activating various debug flags in the SIMCHECK configuration setup may create various streams of information in the serial channel at particular points in the SIMCHECK program. These are special purpose streams for our research and they do not conform to the above list. You can avoid them by setting SIMCHECK to default configuration, or have your program ignore all streams that are not understood. With this you will find the main benefit of our open (loose) protocol which does not require message acknowledgement during realtime operation. This document does not cover the use of the serial interface with our standard PC Downloader program to download SIMCHECK firmware and to transfer bitmaps from/to SIMCHECK. Quick TutorialWe recommend that if you plan to write your own interface, use a standard communication software package (e.g. ProComm Plus or Windows Terminal program) to experiment with our Serial Protocol. Set your communication program for CR-LF so that each line received from SIMCHECK is scrolled. Enter chat mode to conveniently separate the messages coming from SIMCHECK and your messages. Try our PC commands by typing "[r101<cr>"(without the quotation mark). SIMCHECK II will start Basic Test. Then type "[r1<cr>" to exit the test. Type "r102<cr>" to start with the Voltage Cycling test phase. Immediately enter "[r2<cr>" to halt the test. Note how the SIMCHECK timer runs normally while the animation characters are supsended. Type "[r3<cr>" to continue the test. Type "[r10b<cr>" to visit the Single Bit Test. Return to standby mode by typing "[r1<cr>". Check the SIMCHECK version with the command "[r0<cr>". If SIMCHECK's version is 1.28, you will see a string for SIMCHECK like '[aç'. The last character represents byte=128 in my computer. For more information, please call us at (281) 879-6226 M-F 9:00-5:00 Central Time, or send your E-mail to support@innoventions.com, or fax your message to (281) 879-6415. Please remember to include your phone and e-mail. |
Products | What's New | Sales | Tech Support | Downloads | Employment | Company | Contact Us | ||
INNOVENTIONS® Inc. "INNOVATIVE PRODUCTS FROM
INVENTIVE MINDS" ©1995, 2010 INNOVENTIONS, INC. All rights reserved. |