beautypg.com

B&B Electronics LDVDSV2-S-P9D - Manual User Manual

Page 38

background image

OBDII Streamer Command & Response

V2.11

Page 38/49

0x57 – UPDATE_COMPONENT

Description:
This command will allow the upgradeable components in the OBDII Streamer to be
updated in the field. The V2 Streamer firmware update protocol is intentionally different
from the V1.x streamers to avoid accidental programming of v1.x streamers (or vice
versa) in situations where a customer may have mixed streamer populations. The
streamer expects to receive the images in Motorola S-record format and in Intel HEX
format.

The update of the System Manager can occur either before or after the other components
however. If both the FPGA hardware/firmware image and the OBDII database both need
to be upgraded, the FPGA hardware/firmware image should be updated first.
1)

FPGA Firmware/Hardware image

2)

OBDII database

3)

System Manager

4)

Bootloader


Once successfully programmed, the boot loader will reset and run the new firmware.

NOTE:
A minimum of twenty five seconds is required between each file update to allow the
firmware to reset and run. The Streamer will not be responsive to host commands during
this time.

In the event of an incomplete system manager program for any reason, the hardware will
remain in the boot loader.

The Bootloader will validate system manager image stored in non-volatile memory. If the
image is valid Bootloader will pass control to system manager. Otherwise hardware will
remain in boot load mode.

The only host command device handles in boot load mode is UPDATE_COMPONENT
command with component parameter set to “System manager”. Error message with error
code 0x0B “System manager image is invalid. Update required” will be sent in response
to any other command.

Once successfully started System manager will validate FPGA and Database images
stored in non-volatile memory. If the images are valid then FPGA image will be started.
Otherwise system manager will enter component update wait mode. The only host
commands device will handle in this mode is UPDATE_COMPONENT command. Error
messages with error code 0x0C “FPGA image is invalid. Update required” or 0x0C
“Database image is invalid. Update required” will be sent in response to any other
command. Once FPGA is started it validates database image by software means and if the