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.
Specify the value within 10 bytes. If the specified value is less than 10 bytes, the higher bits are filled with 0. |
- | An error occurs if a value that cannot be specified for the security ID value is specified. |
- | The location where the security ID value is stored is specified in the device file.
The value is stored in byte units from the MSB side of the ID in the order from the lower to the higher addresses. |
- | A security ID value can also be specified by defining the segment with relocation attributes shown below, in the assembly source file. Be sure to define the segment with 10 bytes in total. |
.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. |