2.3.2.4 [DataFlash Emulation Settings] tab

You configure the data flash emulation function.

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

 

(1) [DataFlash Emulation]

(2) [Writing Time]

(3) [Macro Service Error]

 

(1)

[DataFlash Emulation]

You can configure the data flash emulation function in this category.

Figure 2.20

[DataFlash Emulation] Category

(a)

[DataFlash emulation]

Select whether to use the data flash emulation function.

Select [Yes] to use the data flash emulation function (default: [No]).

(2)

[Writing Time]

You can configure the delay time for writing to the data flash memory in this category.

Figure 2.21

[Writing Time] Category

(a)

[Writing time]

You can simulate the delay time for writing to the data flash memory.

Select the value to simulate the delay time from the following drop-down list.

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 (default).

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).

(b)

[Address for writing time]

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

Directly enter the address in hexadecimal number from 0xF1000 to 0xFFFFF (default: [F1000]).

(c)

[Address mask value for writing time]

Specify a mask value for the address for writing time.

Directly enter the address in hexadecimal number from 0x0 to 0xFFFFF (default: [0]).

The address for the writing time is masked bit-wise with a mask value for which "0" is specified.

Example

To set an address for writing time between 0xF1000 and 0xF1FFF
[Address for writing time]: 0xF1000
[Address mask value for writing time]: 0xFF000

(3)

[Macro Service Error]

In this category, you can configure the operation of flash functions, that are used for the data flash macro service when performing the data flash emulation.

Figure 2.22

[Macro Service Error] Category

(a)

[Macro Service Errors]

Specify the error to generate in the data flash macro service to emulate (errors will not be generated during normal emulation).

Four types of errors to generate ([0]/[1]/[2]/[3]) can be specified with subproperties for this property. Select any one of the following types from each of the [Generate error] subproperties to return the error values forcibly, and then specify the address within the data flash memory (0xF1000 to 0xFFFFF) and its mask value (0x0 to 0xFFFFF) at which the corresponding function error is to be generated, with the [Address for error] and [Address mask value for error] subproperties that are listed newly in the lower area.

[Address for error]: [F1000]/[Address mask value for error]: [0] is specified by default.

1) Generate write error for FlashWrite

2) Generate IVerify error for FlashIVerify

3) Generate BlankCheck error for FlashBlankCheck