Memory Testers RAMCHECK LX DDR3/2 RAMCHECK LX DDR3 RAMCHECK LX DDR2 RAMCHECK LX DDR1 RAMCHECK LX Base Tester Tech Support Introduction Manuals Software Downloads FAQ Calibration & Upgrades RAMCHECK Upgrade to RAMCHECK LX Application Notes Development Logs Service & RMA Policy News Releases Links Site Map Home Contact us at (281) 879-6226 sales@innoventions.com |
RAMCHECK SERIAL INTERFACE PROTOCOLThis application note discloses partial information regarding the RAMCHECK 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.
SERIAL COMMUNICATION SETUPRAMCHECK: 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 the RAMCHECK 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 the RAMCHECK 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 menu, or using the associated speed button. Protocol OverviewThe main design constraint of the Serial Protocol was to avoid any task overhead on the 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 RAMCHECK. All lengthy communications of test results from RAMCHECK 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 RAMCHECK and the PC in order to retain RAMCHECK 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 RAMCHECK 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 RAMCHECK COMMANDS Once RAMCHECK is turned on, the serial channel is inactive. The PC turns it on by sending any command. From that point, RAMCHECK 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 RAMCHECK.
Note: the jump-to command will be changed in future RAMCHECK revisions as we add more test phases.RAMCHECK TO PC DATA STREAMSRAMCHECK Test Log Data RAMCHECK 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 RAMCHECK 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 RAMCHECK's LCD display. Your program can decode the lines differently. RAMCHECK Short Message Streams RAMCHECK 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 RAMCHECK configuration setup may create various streams of information in the serial channel at particular points in the RAMCHECK program. These are special purpose streams for our research and they do not conform to the above list. You can avoid them by setting RAMCHECK 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 RAMCHECK firmware and to transfer bitmaps from/to RAMCHECK. 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 RAMCHECK is scrolled. Enter chat mode to conveniently separate the messages coming from RAMCHECK and your messages. Try our PC commands by typing "[r101<cr>"(without the quotation mark). RAMCHECK 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 RAMCHECK 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 RAMCHECK version with the command "[r0<cr>". If RAMCHECK'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, 2012 INNOVENTIONS, INC. All rights reserved. |