Reading and Writing Special Bits and Bytes

TYPE

DIRECTIVE

OPTIONAL

PURPOSE

ARGUMENTS

Operation

RBOOTID1

Yes

Read Device Boot ID 1

[value]

Operation

RBOOTID2

Yes

Read Device Boot ID 2

[value]

Operation

WSBV

Yes

Write Software Boot Vector

<value>

Operation

RSBV

Yes

Read Software Boot Vector

[value]

Operation

WBSB

Yes

Write Boot Status Byte

<value>

Operation

RBSB

Yes

Read Boot Status Byte

[value]

Operation

WHWB

Yes

Write Hardware Byte

<value>

Operation

RHWB

Yes

Read Hardware Byte

[value]

Operation

WEB

Yes

Write Extra Byte

<value>

Operation

REB

Yes

Read Extra Byte

[value]

Operation

SSL1

Yes

Set Security Level 1

None

Operation

SSL2

Yes

Set Security Level 2

None

Operation

RSSB

Yes

Read Software Security Byte

[value]

Operation

RSIGB

Yes

Read Signature Bytes

None

Operation

ENAX2

Yes

Enable X2 bit

None

Operation

DISX2

Yes

Disable X2 bit

None

Operation

ENABLJB

Yes

Enable Bootloader Jump Bit

None

Operation

DISBLJB

Yes

Disable Bootloader Jump Bit

None

Operation

ENAOSC

Yes

Enable Oscillator Bit

None

Operation

DISOSC

Yes

Disable Oscillator Bit

None

<value> = value to be written in decimal or hexadecimal format.

 [value]  = optional expected value of a read operation; if an expected value is specified, the read value is compared with the expected one and batchisp displays the result of the comparison.

Example of use :

> batchisp -device t89c51cc01 -hardware PEAKPCAN -operation rbootid1 rbootid2 rsigb wbsb 0x00 rssb 0xFF ssl1