beautypg.com

Save, On script fail – Renesas FLASH Development Toolkit 3.07 User Manual

Page 60

background image

46

4.2.3.3. Save

This saves the FDT Script Configuration file (with the default extension .w4f). FDT will prompt to ask if
you want to execute the saved script immediately.

4.2.4

Error Handling Page

This is an optional page.

Figure 4-4

Error Handling Page

4.2.4.1.

On Script Fail

Abort - leave the On Script Fail radio button set to the default Abort to cause FDT to abort processing of
further scripts upon encountering an error.

Continue - allows FDT to ignore the fact that the error occurred and continue processing further scripts.

Run Script - forces FDT to process an error handling script upon encountering an error. The script file to
execute on script fail can be entered in the input box manually or by using the browse button. Typically a
fail script may contain the disconnect command, an alert command and the abort command.

# Script processing failure handling script example 1

# Disconnect to allow reconnection

Disconnect

# Display a message to the user

Alert

output|******************************************************************

Alert output|********** THE CURRENT SCRIPT PROCESSING HAS FAILED

**************

Alert

output|******************************************************************

Alert output|** The script which was being processed will now be deleted. **

This manual is related to the following products: