Everything

-FLASH_SECURITY_ID [V1.12 or later]


This option specifies the value to be set for the flash programmer security ID.

[Specification format]

-FLASH_SECURITY_ID=value

 

-

Interpretation when omitted

A flash programmer security ID value is not set.

[Detailed description]

-

This option specifies the flash programmer security ID value for value.

-

Specify a hexadecimal value for the flash programmer security ID value.

-

Specifying a value that cannot be specified for the flash programmer security ID value will cause an error.
The value is set in byte units from the MSB side of the flash programmer security ID value in the order from lower to higher addresses.

-

The location where the flash programmer security ID value is stored and the maximum size of the security ID are specified in the device file.

-

Specify the value for the option that does not exceed the maximum size of the security ID of the device specifications.
An error occurs if the specified value exceeds the maximum size of the security ID of the device specifications.
If the size of the specified security ID is less than the maximum size, the higher bits are filled with 0.

-

The security ID value can also be specified by defining the segment with the following relocation attributes in the assembly source file.
However, in the same way as the option specification, make sure that the defined value does not exceed the maximum size of the security ID of the device specifications.

        .section  .flash_security_id, FLASH_SECUR_ID
          .db       0x01            ;Address 0xD6
          .db       0x02            ;Address 0xD7
          .db       0x03            ;Address 0xD8
          .db       0x04            ;Address 0xD9
          .db       0x05            ;Address 0xDA
          .db       0x06            ;Address 0xDB
          .db       0x07            ;Address 0xDC
          .db       0x08            ;Address 0xDD
          .db       0x09            ;Address 0xDE
          .db       0x0A            ;Address 0xDF
          .db       0x0B            ;Address 0xE0
          .db       0x0C            ;Address 0xE1
          .db       0x0D            ;Address 0xE2
          .db       0x0E            ;Address 0xE3
          .db       0x0F            ;Address 0xE4
          .db       0x10            ;Address 0xE5

-

If the assembly source file and this option are specified at the same time, this option takes priority.

-

Be sure to specify the security ID value by referring to the user's manual of the device.

[Example of use]

-

To specify the storage of the security ID values 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, and 0x10 at the address starting from 0xD6, describe as:

>rlink a.obj b.obj -device=dr5f10y14.dvf -security_id=0102030405060708090A0B0C0D0E0F10

[Remark]

-

If the -form={object|relocate|library} 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. Doing so might result in an unexpected value due to relocation resolution.