1 on script fail – Renesas Single-Chip Microcomputer M306NKT3 User Manual
Page 66

50
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. **
Alert output|** Please reset the board and regenerate the script to retry **
Alert output|******************************************************************
# Delete the script file which failed
# so that FDT will wait for it to be regenerated before retrying
delete $script