# 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 | WCRIS | Yes | Write the CAN Relocatable Identifier Segment | <value>
Operation | RCRIS | Yes | Read the CAN Relocatable Identifier Segment | [value]
Operation | WNNB | Yes | Write the CAN Node Number | <value>
Operation | RNNB | Yes | Read the CAN Node Number | [value]
Operation | WBTCx | Yes | Write CAN Bit Timing Configuration (x = 1, 2 or 3) | <value>
Operation | RBTCx | Yes | Read CAN Bit Timing Configuration (x = 1, 2 or 3) | [value]
Operation | WPxCFG | Yes | Write port x configuration byte (x = 1, 3 or 4) |
Operation | RPxCFG | Yes | Read port x configuration byte (x = 1, 3 or 4) |
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
Operation | ENASELBOOT | Yes | Enable SELBOOT bit (SA4LU2000 only) | None
Operation | DISSELBOOT | Yes | Disable SELBOOT bit (SA4LU2000 only) | 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