Scandevil PC Mode Bios Version 1
Scandevil PC Mode Bios Version 1
0
Functions and commands
PC mode:
In PC mode, a virtual COM port is available, with any terminal program (such as
HyperTerminal) can be addressed. Please provide the terminal program for royalty
COM port, as the protocol parameter to set a 8N1 (8 bits, no parity, 1 stop bit). The baud rate
will be ignored due to the USB connection, any value can be set here. It will
always be used the maximum USB speed. For convenient use of the Scan Devil PC Mode
we recommend the programs moDiag or OBD-Diag.
Command entry:
You will get a list of all available AT commands if you enter a question mark:
>?
The number and sequence of commands shown here may vary in different BIOS versions.
Please make sure you read the corresponding BIOS Update documentation.
Many via AT command modifiable parameters can be immediately stored permanently in EEPROM.
To check which these are, please refer to the command table. Please set a point before the
command:
ATE0 Changes the command only temporarily until the next reset (ATZ, ATWS, ATD)
.ATE0 Saves the command permanently from, so is valid even after a reset.
Notes:
The Scan Devil PC mode was created largely compatible with other existing OBD2 adapters,
due to changes in microcontroller architecture and the already slightly dusty old
instruction set have been changed and expanded. In this way, it can happen that the
Scan Devil PC mode no longer works with all programs. Only the proper functioning with moDiag and
OBD-Diag is guaranteed.
The "Ident Edit" program does not work anymore. Due to the simplified instruction set changing the
Ident-text is now easily possible via terminal program. Please take a look in the instruction set
described in "Atomy" and "ATOID“.
ENTERING FUNCTIONS AND OBD COMMANDS
All entries are made to the prompt character>. After execution of a function or OBD2 command the
user must wait for this sign to enter a new command. A command must be completed by the carriage
return character (ASCII 13d, 0x0D). By default, all characters with ASCII 33d 0x21 ignored and all
lowercase letters are converted to uppercase. Entered blanks are used only for readability, but are
completely ignored.
- Internal commands to configure and initialize the interface controller. All of these commands
begin with the characters "AT", this was taken over by the control commands for modems
and means "Attention, attention! This only applies for the delivery status of the scan Devil.
All commands can be completely renamed, so no longer need to start with "AT".
- Data, which are forwarded to the OBD2 bus for the control unit of the vehicle. All these
commands are transmitted as hexadecimal numbers. It may therefore only entered ASCII
characters 0-9 and AF in pairs.
In the following examples, each entry must be completed with the newline character, it is not
mentioned separately.
Examples:
at dp
Is converted internally by ATDT
ATZ
Is converted internally to ATZ
01 1c
Is converted internally to 011C
If the newline character CR fails, the command will be automatically cancelled after 10 seconds and a
? is output as an error message. This time period can be changed with the ATST command.
Commands that are not understood by the controller or incorrect entries in hex values, are also a ?
as an error message acknowledged On delivery all error messages are also displayed as plain text,
this can be switched off to allow compatibility with older interfaces.
OBD2 commands must always be entered with even number of hex characters:
Example:
0100
or
01 00
An odd number of characters produce an error message.
Some AT commands require additional parameters one or more hex characters or decimals.
The exact number, please refer to the command list. An incorrect number of parameters is also
acknowledged with an error message.
A list of all AT commands is displayed by typing >?. Here all commands are issued with the
corresponding function codes. The order of the commands in the list is not sorted, but has been
established during the programming of the software.
COMMAND TABLE OVERVIEW
Command: ATI
Function Code: 01
Name: Shows the Interface ID on
example:
> ATI
DIAMEX Scan Devil v1.0
The Interface-ID of the scan Devil is issued. However, this can be changed for compatibility
adjustments when a user program is not yet known the new interface and his ID is to be transmitted
for a known interface. With the option described below commands Atomy and ATOID the identifier
can be changed temporarily or permanently.
Turns the terminal echo on or off. When working with a terminal program, it is in most cases quite
useful to have turned the echo, because you get sent back immediately a typed character and can
control it, whether the input is OK.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: (.) ATL [1 | 0 | ON | OFF]
Function Code: 03
Description: Turns the expenditure of Line Feed
Default: 1 ON
Examples:
> ATL1
OK
This command displays the output of the additional Line Feed character (ASCII 10, HEX 0x0A) is
controlled by a carriage return. Many terminal programs add their own line feed characters added
when they recognize a carriage return, this means that output behind each line an extra blank line
inserted and the output is unnecessarily prolonged.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: ATZ
Function Code: 04
Description: warm start Reset
example:
> ATZ
DIAMEX Scan Devil v1.0
This command breaks all the functions and the interface performs a warm start reset. The current
call is disconnected and various parameters are reset to their default values if they are not
permanently stored in the EEPROM (see Function table).
Command: ATD
Function Code: 05
Name: Restore Defaults
example:
> ATD
OK
Various parameters are reset to their default values if they are not permanently stored in the
EEPROM (see Function table). In contrast to the ATZ command a possibly forehand compound is not
isolated.
Command: ATWS
Function Code: 04
Description: Faster warm start Reset
example:
> ATWS
DIAMEX Scan Devil v1.0
>
This command breaks all the functions and the interface performs a warm start reset. The current
call is disconnected and various parameters are reset to their default values if they are not
permanently stored in the EEPROM (see Function table). The difference with the ATZ command is
that this command is executed more quickly.
Command: (.) ATOEN [1 | 0 | ON | OFF]
Function Code: 07
Description: An error occurred as a number rather than spend as plain text (enable Numbers)
Default: 0 OFF
Examples:
> ATOEN1
OK
By default, errors are displayed as plain text. To simplify the evaluation with a microcontroller,
hereby the error code can be output as hex value.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: (.) Atomy [1 | 0 | ON | OFF]
Function Code: 09
Description: Show your own interface ID (show my id)
Default: 0 OFF
Examples:
> ATOMY1
OK
To personalize the Devil can scan the message that appears at the ATZ or ATI commands are
changed. These must first be prepared using the following command ATOID. With ATOMY1's own
text will now be activated.
Please note that the interface can no longer be detected by the change in the text of various
programs.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
To personalize the Devil can scan the message that appears at the ATZ or ATI commands are
changed. The length of the text can be up to 32 characters, more characters can be entered, the text
is truncated to 32 characters. If lowercase letters or spaces appear in the ID text, the text must end
with a "- start characters. Only with the command ATOMY1 the entered text is activated.
With a point in front of the command, the entered text is stored in the EEPROM of the interface and
thus is even after disconnecting the power supply is available again.
Command: (.) ATOF [1 | 0 | ON | OFF]
Function code: 0B
Description: Microcontroller output format switch (output format)
Default: 0 OFF
Examples:
> ATOF1
OK
For the evaluation of the output data, the output format can be switched. In conjunction with the
following command ATOHS can thereby be saved to some unnecessary characters in the
transmission.
On delivery, the output format is compatible with the other OBD2 adapter.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
To reduce the transmitted character and to simplify evaluation of the result data all disturbing Blanks
between the hex-outputs can be suppressed.
On delivery, the output format is compatible with the other OBD2 adapter.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: (.) ATOUC [1 | 0 | ON | OFF]
Function code: 0D
Name: Convert characters to uppercase (uppercase)
Default: 1 ON
Examples:
> ATOUC1
OK
All AT commands in the delivery must be entered in uppercase letters. Therefore, an automatic
conversion from lower to upper case is active. By changing the command list and commands in
lowercase letters can be created, in this case, the conversion should be disabled in uppercase.
After ATZ, ATD ATWS or the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
With this command internal data of the Scan Devil can read, but not be changed.
Other commands are only needed for the system test in the production of the device and are
therefore not listed here.
Command: ATV
Function code: 0F
Name: See a list of modifiable parameters
>.ATH OFF
OK
Here you can choose whether the OBD2 header and the checksum will be switched on at PWM,
VPWM, ISO, KWP-spending or the CAN address and PCI bytes in CAN issues.
If the vehicle has installed more control devices, it is always better to have turned the header, thus it
can be seen immediately, which control unit supplies the data. If it can be assumed that there is only
one answer (for example, constant polling of vehicle speed), the header can be switched off to
useless characters in the transfer us to suppress evaluation.
If the alternative output format is selected ATOF1, the setting has no function in this case the
header data are always output.
After ATZ, ATD ATWS the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: (.) ATP ([A] [0..9])
Function Code: 11
Description: Set or view log
Default: 0 AUTO
Examples:
>ATP
2 = SAE J1850 / VPWM
>.ATP 5
OK
This command creates a OBD2 protocol which can be set before the connection is established. By
default ATP0 is set, this means that an automatic scan of all protocols is performed. However, if the
protocol of the vehicle is known, this can be preset here, making it a much faster connection
possible. To preset the protocol KWP2000, please enter "ATP5“. In this case, only used the protocol 5
(KWP2000). If you are not sure if this is the correct protocol, you can also enter "ATPA5". In this case,
a complete protocol scan is performed after a failed connection with Protocol 5.
With a point before the command of the set parameter is stored in the EEPROM of the interface and
is thus the default value by separating the power supply is available again.
>.ATONI OFF
OK
The protocols PWM (1), VPWM (2) and CAN (6..9) no special initialization sequence is required to
prepare a compound of the OBD2 interfaces with the control unit in the vehicle.
However, to secure recognition of the Protocol, Scan Devil sends always the first connection the
sequence 01 00, which has to be answered by any OBD2-enabled controller. This first
Connection establishment may be suppressed by ATONI1. In this case, the connection is established,
if the control unit delivers a valid response to an OBD2 request.
NOTE: Switching off of the initial sequence is only possible by choosing the ATPx protocol.
After ATZ, ATD ATWS the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: (.) ATONR [1 | 0 | ON | OFF]
Function Code: 14
Description: After initializing do not send any request (no request)
Default: 0 OFF
Examples:
>ATONR1
OK
>.ATONR OFF
OK
When the automatic protocol search mode (ATP0) is used to connect, immediately after a
recognized protocol entered OBD2 command is sent. This can be suppressed with ATONR1. In this
case, not the response of the OBD2-command but 3 bytes will be returned for a detected protocol:
05 8F E9 Here the protocol 5 with the key bytes 8FE9 has been found.
06 00 00 Here the protocol 6 has been found. For this protocol no key bytes exist.
After ATZ, ATD ATWS the default value is set. With a point before the command of the set
parameter is stored in the EEPROM of the interface and thus serves as a standard value by ATZ,
ATWS or ATD.
Command: ATN
Function Code: 14
Identification: Output Current Log as number
example:
> ATN
F5
Command: ATDT
Function Code: 15
Identification: Output Current Log in plain text
Example:
>ATDP
ISO 14230-4, KWP2000 (Fast Init)
Command: ATK
Function Code: 16
Description: See ISO / KWP Key bytes
example:
> ATK
8F E9
The Key bytes of the active ISO / KWP connection (logs 3,4,5) are issued.
If the active protocol does not support Key bytes, is issued 00 00.
Command: ATB
Function Code: 17
Description: Show buffer content
example:
>ATB
86 F1 10 41 00 B8 7B 30 10 3B
The complete data received in the last OBD2-command including header and checksum bytes are
output.
Command: ATBD
Function Code: 18
Description: Show Buffer content, compatible (buffer dump)
example:
>ATBD
0A 86 F1 10 41 00 B8 7B 30 10 3B 10 00
The first maximum 12 bytes of the last OBD2 command are issued. The first byte indicates the
number of valid bytes displayed. 0A = 10 valid bytes.
NOTE: This command is only for compatible with older OBD2 interface available and can no longer be
available in future versions. Please use instead the ATB command.
In general the control units reply at automatic vehicles with the identifiers 10 (motor) and 17
(transmission). Here, the expenses can be reduced by inserting the filter to the desired control device
in order to facilitate the analysis by the software. The filter can be switched off by entering ATSF00.
NOTES: If an invalid code is entered as a filter, can all outputs be cancelled and only NO DATA is
displayed. The set filter value cannot be saved, after the ATZ the filter is automatically disabled.