S4 serial protocol

Topics related to the Dataman S4
Guest
Posts: 723
Joined: 09 Nov 2011 17:16

S4 serial protocol

Postby Guest » 14 Nov 2011 16:33

We still use several S4s with our own software in automotive applications. One issue is the use of the S4 as an eprom simulator. Currently we modify the eprom in our application, save it in a file, download the file with Windriver to the S4 and start over again. It would be helpfull to download the image directly to the S4 and start the emulation mode automatically.

Is the serial communication protocol available to support us to integrate the S4 into our application?

Regards,
Transaxle

Dataman (Neil Parker)
Posts: 932
Joined: 10 Nov 2011 09:51

Re: S4 serial protocol

Postby Dataman (Neil Parker) » 14 Nov 2011 16:33

Hello Transaxel,

Yes it is possible to automate the steps you mention using the S4 batch file system. Installing the latest version of the S4 driver software v2.17 will give you access to the online HELP within the software which will details all of the options for batch file use, please see the following example:

The available commands in a batch file are :

S4 <command> Send command to S4
CMD <command> Send command to serial port (without waiting for response)
PRINT <text> Send text to batch file window
KEY Wait for user to click the Ok button
LABEL <label> Define a label
JUMP <label> Jump to label number
TX <file> <command> Transmit file (PC>S4)
RX <file> <command> Receive file (S4>PC)

Example:

PRINT Loading...
S4 LOad 00000-01FFF:
PRINT Checksumming...
S4 CHecksum 00000-01FFF:
LABEL copy
PRINT Please insert blank PROM and click Ok
KEY
PRINT Burning...
S4 BUrn 00000-01FFF:
JUMP copy

A full list of the S4 commands can be found in the online help in the S4 driver software as above.

Hope this helps.

Regards,


Neil Parker


Return to “Dataman S4”

Who is online

Users browsing this forum: No registered users and 2 guests