[Flash Self Emulation Settings] tab [IECUBE]


This tab is used to display the detailed information categorized by the following and the configuration can be changed.

Note that this tab appears only when the selected microcontroller incorporates the flash memory.

 

(1) [Flash Self Emulation]

(2) [Writing Time/Erasing Time]

(3) [Macro Service Error]

(4) [Setting Flash shield wIndow]

(5) [Security Flag Emulation]

Figure A.11

Property Panel: [Flash Self Emulation Settings] Tab

[Description of each category]

(1)

[Flash Self Emulation]

The detailed information on flash self programming emulation functions is displayed and its configuration can be changed.

Flash self-programming

Select whether to use the flash self programming emulation function.

Default

No

Modifying

Select from the drop-down list.

Available values

Yes

Uses the flash self programming emulation function.

No

Does not use the flash self programming emulation function.

(2)

[Writing Time/Erasing Time]

The detailed information on the time for writing to and erasing the flash memory is displayed and its configuration can be changed.

Writing time

Select the value to simulate the delay time for writing to the flash memory.

Default

Typical number of times that is assumed by flash macro specifications

Modifying

Select from the drop-down list.

Available values

No retry

Specifies "0" as the number of times of retry.

The delay time is 0 (the writing speed is fastest).

Typical number of times that is assumed by flash macro specifications

Specifies the typical number of times that is assumed by flash macro specifications.

Maximum number of times that is assumed by flash macro specifications

Specifies the maximum number of times that is assumed by flash macro specifications.

Retries for the maximum number of times specified

Specifies the maximum number of times of retry.

The delay time is maximum (the writing speed is longest).

Address for writing time

Specify the target address at which to simulate the delay time for writing.

Default

0

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFFF in hexadecimal number

Address mask value for writing time

Specify a mask value for the address for writing time.

Default

0x3

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFFF in hexadecimal numberNote 1

Erasing time

Select the value to simulate the delay time for erasing the flash memory.

Default

Typical number of times that is assumed by flash macro specifications

Modifying

Select from the drop-down list.

Available values

No retry

Specifies "0" as the number of times of retry.

The delay time is 0 (the erasing speed is fastest).

Typical number of times that is assumed by flash macro specifications

Specifies the typical number of times that is assumed by flash macro specifications.

Maximum number of times that is assumed by flash macro specifications

Specifies the maximum number of times that is assumed by flash macro specifications.

Retries for the maximum number of times specified

Specifies the maximum number of times of retry.

The delay time is maximum (the erasing speed is longest).

Address for erasing time

Specify the target address at which to simulate the delay time for erasing.

Default

0

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFFF in hexadecimal number

Address mask value for erasing time

Specify a mask value for the address for erasing time.

Default

0x3FF

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFFF in hexadecimal numberNote 2

Note 1.

The flash library writes to the code flash memory in 4-byte units, so fix the lowest and second-lowest order bits of the address mask to 1.

Note 2.

The flash library erases the code flash memory in block units, so fix the lower-order 10 bits of the address mask to 1.

(3)

[Macro Service Error]

The detailed information on the flash macro service is displayed and its configuration can be changed.

The error values that are not returned during normal emulation can be forcibly returned by setting the properties of this category.

Macro Service Errors

Specify the error to generate in the flash macro service to emulate.

Up to three types of errors to generate ([0]/[1]/[2]) can be specified with subproperties for this property.

Generate error

(Subproperty)

Select the type of error to generate.

Default

None

Modifying

Select from the drop-down list.

Available values

None

Generate FlashErase Error (Erase)

Generate FlashBlankCheck Error (BlankCheck)

Generate FlashWrite Error (Write)

Generate FlashIVerify Error (IVerify)

Generate FlashSetSecurity / FlashSetFSW Error (Erase)

Generate FlashSetSecurity / FlashSetFSW Error (Write)

Generate FlashSetSecurity / FlashSetFSW Error (IVerify)

Address for error

(Subproperty)

Specify an address at which the error is to be generated, within the flash memory area.

This property appears only when the [Generate error] subproperty is set to [Generate erase error for FlashErase]/[Generate write error for FlashWrite]/[Generate IVerify error for FlashIVerify]/[Generate BlankCheck error for FlashBlankCheck].

Default

0

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFFF in hexadecimal number

Address mask value for error

(Subproperty)

Specify a mask value for the address, at which the error is to be generated.

This property appears only when the [Generate error] subproperty is set to [Generate erase error for FlashErase]/[Generate write error for FlashWrite]/[Generate IVerify error for FlashIVerify]/[Generate BlankCheck error for FlashBlankCheck].

Default

0

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFFF in hexadecimal numberNote

Note

In the [Generate error] subproperty, when [Generate FlashWrite Error (Write)] is selected, fix the lowest and second-lowest order bits of the mask value to 1, because the flash library writes to the code flash memory in 4-byte units.
Also, when [Generate FlashErase Error (Erase)], [Generate FlashBlankCheck Error (BlankCheck)] or [Generate FlashIVerify Error (IVerify)] is selected, fix the lower-order 10 bits of the mask value to 1, because erasure of the code flash memory, blank checking, and internal verification proceed in block units.

(4)

[Setting Flash shield wIndow]

The detailed information on the flash shield window function is displayed and its configuration can be changed.

Caution

Settings of this category are applied after CPU reset is generated.
If you changed these settings, execute the program after reset the CPU.

Flash shield window start block

Specify the start block of the area that can be written to and erased by flash self programming.

Default

0

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFF in hexadecimal number

Flash shield window end block

Specify the end block of the area that can be written to and erased by flash self programming.

Default

FFFF

Modifying

Directly enter from the keyboard.

Available values

0x0 to 0xFFFF in hexadecimal number

(5)

[Security Flag Emulation]

The detailed information on the security flag emulation function is displayed and its configuration can be changed.

Caution

Settings of this category are applied after CPU reset is generated.
If you changed these settings, execute the program after reset the CPU.

Disable block erase

Select whether to emulate to disable block erase.

Default

No

Modifying

Select from the drop-down list.

Available values

Yes

Emulates to disable block erase.

No

Does not emulate to disable block erase.

Disable program

Select whether to emulate to disable writing.

Default

No

Modifying

Select from the drop-down list.

Available values

Yes

Emulates to disable writing.

No

Does not emulate to disable writing.

Disable boot block cluster reprogram

Select whether to emulate to disable rewrite boot area.

Default

No

Modifying

Select from the drop-down list.

Available values

Yes

Emulates to disable rewrite boot area.

No

Does not emulate to disable rewrite boot area.