Innovate Motorsports OT-2 SDK User Manual

Page 60

Advertising
background image

60

Command ‘5’ – Perform standard 5 Baud Initialization

Sent:

1 byte
{

U8 Cmd;

// ‘5’

}


Responds:

1 byte
{

U8 Result;

// 0=failed

// 1=ISO 9141 found
// 2=KWP 2000 found

}


Notes:

This sends a 5 baud initialization, and then handles ‘Key
Word’ exchanges to determine protocol. It must be used with
care because, prior to entering this expert mode, the
initialization may have already occurred. Doing this twice,
too close together, can really confuse some ECUs.

Command ‘q’ – Perform standard ‘fast’ KWP-2000 initialization

Sent:

1 byte
{

U8 Cmd;

// ‘f’

}


Responds:

1 byte
{

U8 Result;

// 0=failed
// 1=KWP 2000 found

}


Notes:

This performs a pulse and initialization exchange to start
KWP 2000. It must be used with care because, prior to
entering this expert mode, the initialization may have
already occurred. Doing this twice, too close together, can
really confuse some ECUs.

Advertising