EasyManuals Logo

Renesas FLASH Development Toolkit 3.07 User Manual

Renesas FLASH Development Toolkit 3.07
146 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #69 background imageLoading...
Page #69 background image
55
4.6 Wait For Script – Example Script File
What follows is an example of how a script file for FDT may look. This highlights some of the available
commands and gives an idea of how they might be used:
# EXAMPLE SCRIPT FILE
# open this workspace and associated project
# (for which the flash project wizard must have completed successfully)
workspace C:\Workspaces\2215usbdirect\2215UsbDirect.AWS
# Ensure that comms is closed (in case previous attempt failed and didn’t
disconnect)
disconnect
# connect over the USB to the device with this Product ID + Bus ID
connect USB|0x000D|0
# do an initial blank check
blankcheck
# download the file "C:\2215uAuto.mot" and verify that programming was OK
# (script processing will stop if this verify fails)
download C:\2215uAuto.mot|user|verify
# upload data from address 0 to address 0x1000 and save to file “upload.mot”
upload c:\UPLOADS\upload.mot|0x0|0x1000
# erase all blocks
erase device
# do a blank check (and stop if the user area is dirty)
blankcheck stoponwritten
# rebuild the user area image
RebuildImage user
# download the user image
download image|user
# get the checksum for the user area of the device
checksum device
# pause for 100 milliseconds
pause 100
# disconnect from the device
disconnect

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas FLASH Development Toolkit 3.07 and is the answer not in the manual?

Renesas FLASH Development Toolkit 3.07 Specifications

General IconGeneral
BrandRenesas
ModelFLASH Development Toolkit 3.07
CategorySoftware
LanguageEnglish