Scantool STN Bootloader Manual do Utilizador Página 5

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 12
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 4
STN Bootloader
CRC is calculated on the data field prior to byte
stuffing. It is transmitted after the data field, and before
the <ETX> control character.
After a response is received, it must first be
unstuffed. Then the CRC is calculated over the entire
data packet (including the CRC bytes). If the reception
is successful, the CRC calculation result will equal
zero.
4.5 Commands
The data field of each packet transmitted to the
bootloader should contain one command and
(optionally) its associated data. Commands must be
transmitted to the bootloader in the following format:
<command><datalength>[<data>]
Table 3 details the command format. Commands
supported by the bootloader are detailed in section
5.0
Bootloader Commands”.
Table 3 – Command Format
Field
Length
(bytes)
Description
<command> 1 Bootloader command
<data length> 2
Length of command
payload
[<data>] variable
Optional command
payload
Bytes comprising a command do not have to be
sent back-to-back. However, there cannot be more
than 200 milliseconds between any two bytes. If this
timeout occurs, the bootloader will abort receiving the
command, and will revert to looking for the start of the
next command packet.
4.6 Responses
The data field of each packet received from the
bootloader contains one response and its associated
data. The responses are transmitted by the bootloader
in the following format:
<ACK/NACK><command><datalength>[<data>]
Table 4 details the response format.
Table 4 – Response Format
Field Length Description
<ACK/NACK> 2 bits
Success/error indication:
01 = ACK
10 = NACK
<command> 6 bits
Command which this
response is
acknowledging
<data length> 1 byte
Length of response
payload
[<data>] variable
Optional response
payload
4.6.1 ACK Responses
Upon successful execution of each command, the
bootloader responds with an ACK response in the
following format:
<0x40|command><datalength>[<data>]
See section 5.0Bootloader Commands” for details
on responses to each bootloader command.
4.6.2 NACK Responses
When the bootloader encounters an error while
processing a command, it will respond with a NACK
response. NACK responses have a fixed length of
three bytes (one data byte) and are in the following
format:
<0x80|command><0x01><errorcode>
Table 5 lists possible error codes.
Table 5 – Error Codes
Error Type
Error
Code
(hex)
Description
01 CRC error
Communication
02 Received packet too long
10 Unknown command
Command
Validation
11 Invalid command format
30 Sequence error
50 Authentication error
80 Programming error
Firmware
Upload
90 Verification error
4.6.2.1 Communication Errors
NACK responses indicating communication errors
have their command field set to 0x00, because the
integrity of the packet has been compromised or could
not be verified, and the byte received in place of the
command field may not correspond to the command
actually sent by the host. These errors may occur for
any bootloader command. The following two errors
indicate communication problems:
STNBLA www.obdsol.com 5 of 12
Vista de página 4
1 2 3 4 5 6 7 8 9 10 11 12

Comentários a estes Manuais

Sem comentários

Philips 22HFL5662H manuales

Manuales del propietario y guías del usuario para Televisores Lcd Philips 22HFL5662H.
Ofrecemos 1 manuales en pdf Philips 22HFL5662H para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Televisores Lcd Philips

Modelos Tipo de documento
26PF9631D Manual de usuario   Philips Cineos 26PF9631D 26" LCD integrated digital digital widescreen flat TV, 62 paginas
20PFL4122/98 Especificaciones   Philips 20PFL4122/98 Specification, 32 paginas
BDL3221M/00 Ficha de datos   Philips Mirror TV 32" 32" Full HD Silver, 2 paginas
26HFL3232D Manual de usuario   Philips 19HFL3232D 19" HD-Ready 3D compatibility Black, 56 paginas
40PFL7705DV Manual de usuario   Philips 40PFL7705DV 40" Black, 48 paginas
47PF9441D Manual de usuario   Philips 47PF9441D/37 User manual, 70 paginas
15HF5234 Manual de usuario    Philips professional flat TV 15HF5234, 25 paginas
26TA1600/98 Manual de usuario   Philips 26TA1600/98 User manual, 29 paginas
42HFL5850D Especificaciones   Philips 42HFL5850D 42" Full HD Black, 32 paginas
26PFL3321S Manual de usuario    Philips 32PFL3321S 32" LCD HD Ready widescreen flat TV 32" Black, 30 paginas
47PF9541 Manual de instrucciones   Philips 47PF9541 47" LCD HD Ready flat HDTV, 56 paginas
26PFL3312S Manual de usuario   Philips 26PFL3312S 26" LCD HD Ready widescreen flat TV 26" High Gloss Black, 40 paginas
42TA2800S Especificaciones   Philips 42TA2800S 42" LCD HD Ready widescreen flat TV, 33 paginas
46PFL7505D Manual de usuario   Philips 40PFL7505D/F7 User manual, 38 paginas
32PFL3406S Manual de usuario   Philips 32PFL3406S 32" HD-Ready Black, 41 paginas
42PFL7772D/12 Manual de usuario   Philips Flat TV 32PFL7772D, 48 paginas
26HFL5870D Manual de usuario   Philips 26HFL5870D 26" HD-Ready Black, 37 paginas
22PFL3505D Manual de usuario   Philips 22PFL3505D 22" 3D compatibility Black, 36 paginas
15PF5120 Manual de usuario   Philips 15PF5120/28 User manual, 36 paginas
26TA1000 Manual de usuario   Philips 26TA1000 26" LCD HD Ready widescreen flat TV, 28 paginas