This option specifies a security ID value.
[Specification format]
- | Interpretation when omitted |
A security ID value is not set.
[Detailed description]
- | This option specifies a security ID value for value. |
- | Specify a hexadecimal value from 0x0 to 0xFF for the security ID value. |
- | An error occurs if a value that cannot be specified for the security ID value is specified.
The value is set in byte units from the MSB side of the user option byte in the order from the lower to the higher addresses. |
- | The location where the security ID value is stored and the maximum size of the security ID are specified in the device file. |
- | (V1.11 or later) Specify the value for the option that does not exceed the maximum size of the security ID of the device specifications.
(V1.10 or earlier) Specify the value within 1 byte.
An error occurs if the specified value exceeds the maximum size of the security ID of the device specifications.
If the specified security ID size is less than the maximum size, the higher bits are filled with 0. |
- | A security ID value can also be specified by defining the segment with relocation attributes shown below, in the assembly source file.
However, in the same way as the option specification, make sure that the defined value conforms to the security ID size of the device specifications. |
.section .security_id, SECUR_ID
.db 0x01 ;Address 0xC4
.db 0x02 ;Address 0xC5
.db 0x03 ;Address 0xC6
.db 0x04 ;Address 0xC7
.db 0x05 ;Address 0xC8
.db 0x06 ;Address 0xC9
.db 0x07 ;Address 0xCA
.db 0x08 ;Address 0xCB
.db 0x09 ;Address 0xCC
.db 0x0A ;Address 0xCD
|
- | If the security ID value is specified both in the assembly source file and through this option, an information message is output and this option takes priority. |
- | Be sure to see the user's manual of the device to specify the security ID value. |
[Example of use]
- | To specify storage of the security ID values 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, and 0x0A at addresses starting from 0xC4, describe as: |
>rlink a.obj b.obj -device=dr5f10y14.dvf -security_id=0102030405060708090A
|
[Remark]
- | If the -form={object|relocate|library} option or -extract option is specified, this option will be invalid. |
- | If the -device option is not specified, this option will be invalid. |
- | When specifying the security ID value in the assembly source file, do not use a label reference. If such an attempt is made, the result may be an unexpected value due to relocation resolution. |